Skip to content

Commit 216c765

Browse files
authored
Merge pull request #277 from nervosnetwork/bump-to-0.3.3
chore: bump to 0.3.3
2 parents fa5fe6d + 7465356 commit 216c765

File tree

6 files changed

+48
-7
lines changed

6 files changed

+48
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.3.3
2+
3+
### Features
4+
- Run on Browser(#273 #274)
5+
- Setup Github Action(#276)
6+
- Secio remove aes-ctr, add x25519 support(#271)
7+
8+
### Bug Fix
9+
- Fix windows compatible(#275)
10+
111
## 0.3.2
212

313
### Features

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,32 @@ $ RUST_LOG=simple=info,tentacle=debug cargo run --example simple --features molc
6666

6767
4. Now you can see some data interaction information on the terminal.
6868

69-
You can see more detailed example in these two repos: [ckb](https://github.com/nervosnetwork/ckb)/[cita](https://github.com/cryptape/cita).
69+
You can see more detailed example in these three repos: [ckb](https://github.com/nervosnetwork/ckb)/ [cita](https://github.com/cryptape/cita)/ [muta](https://github.com/nervosnetwork/muta).
70+
71+
### Run on browser and test
72+
73+
1. setup a ws server:
74+
```
75+
$ cd tentacle && RUST_LOG=info cargo run --example simple --features molc,ws -- server
76+
```
77+
78+
2. setup a browser client
79+
```
80+
$ cd simple_wasm/www && wasm-pack build
81+
$ npm install && npm run start
82+
```
83+
84+
all wasm code generate from [book](https://rustwasm.github.io/docs/book/game-of-life/hello-world.html)
85+
86+
3. Use a browser to visit http://localhost:8080/
87+
88+
4. Now you can see the connection on the server workbench or on browser's console
89+
90+
## Other Languages
91+
92+
Implementations in other languages
93+
94+
- [Go](https://github.com/driftluo/tentacle-go)
7095

7196
## Why?
7297

secio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tentacle-secio"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
license = "MIT"
55
description = "Secio encryption protocol for p2p"
66
authors = ["piaoliu <441594700@qq.com>", "Nervos Core Dev <dev@nervos.org>"]

tentacle/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tentacle"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
license = "MIT"
55
description = "Minimal implementation for a multiplexed p2p network framework."
66
authors = ["piaoliu <441594700@qq.com>", "Nervos Core Dev <dev@nervos.org>"]
@@ -16,8 +16,8 @@ all-features = false
1616
no-default-features = true
1717

1818
[dependencies]
19-
yamux = { path = "../yamux", version = "0.2.7", default-features = false, package = "tokio-yamux"}
20-
secio = { path = "../secio", version = "0.4.1", package = "tentacle-secio" }
19+
yamux = { path = "../yamux", version = "0.2.8", default-features = false, package = "tokio-yamux"}
20+
secio = { path = "../secio", version = "0.4.2", package = "tentacle-secio" }
2121

2222
futures = { version = "0.3.0" }
2323
tokio = { version = "0.2.0" }

tentacle/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $ RUST_LOG=simple=info,tentacle=debug cargo run --example simple --features molc
6666

6767
4. Now you can see some data interaction information on the terminal.
6868

69-
You can see more detailed example in these two repos: [ckb](https://github.com/nervosnetwork/ckb)/[cita](https://github.com/cryptape/cita).
69+
You can see more detailed example in these three repos: [ckb](https://github.com/nervosnetwork/ckb)/ [cita](https://github.com/cryptape/cita)/ [muta](https://github.com/nervosnetwork/muta).
7070

7171
### Run on browser and test
7272

@@ -87,6 +87,12 @@ all wasm code generate from [book](https://rustwasm.github.io/docs/book/game-of-
8787

8888
4. Now you can see the connection on the server workbench or on browser's console
8989

90+
## Other Languages
91+
92+
Implementations in other languages
93+
94+
- [Go](https://github.com/driftluo/tentacle-go)
95+
9096
## Why?
9197

9298
Because when I use `rust-libp2p`, I have encountered some difficult problems,

yamux/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tokio-yamux"
3-
version = "0.2.7"
3+
version = "0.2.8"
44
license = "MIT"
55
repository = "https://github.com/nervosnetwork/tentacle"
66
description = "Rust implementation of Yamux"

0 commit comments

Comments
 (0)