forked from driftluo/tentacle
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from nervosnetwork/bump-to-0.4.0-alpha1
chore: bump to 0.4.0-alpha1
- Loading branch information
Showing
9 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tentacle-multiaddr" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["driftluo <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tentacle-secio" | ||
version = "0.4.5" | ||
version = "0.5.0" | ||
license = "MIT" | ||
description = "Secio encryption protocol for p2p" | ||
authors = ["piaoliu <[email protected]>", "Nervos Core Dev <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "tentacle" | ||
version = "0.3.8" | ||
version = "0.4.0-alpha.1" | ||
license = "MIT" | ||
description = "Minimal implementation for a multiplexed p2p network framework." | ||
authors = ["piaoliu <[email protected]>", "Nervos Core Dev <[email protected]>"] | ||
|
@@ -16,8 +16,8 @@ all-features = false | |
no-default-features = true | ||
|
||
[dependencies] | ||
yamux = { path = "../yamux", version = "0.2.12", default-features = false, package = "tokio-yamux"} | ||
secio = { path = "../secio", version = "0.4.5", package = "tentacle-secio" } | ||
yamux = { path = "../yamux", version = "0.3.0", default-features = false, package = "tokio-yamux"} | ||
secio = { path = "../secio", version = "0.5.0", package = "tentacle-secio" } | ||
|
||
futures = { version = "0.3.0" } | ||
tokio = { version = "1.0.0" } | ||
|
@@ -26,7 +26,6 @@ log = "0.4" | |
bytes = "1.0.0" | ||
thiserror = "1.0" | ||
once_cell = "1.0" | ||
rand = "0.7" | ||
nohash-hasher = "0.2" | ||
|
||
parking_lot = { version = "0.11", optional = true } | ||
|
@@ -35,12 +34,16 @@ futures-timer = { version = "3.0.2", optional = true } | |
async-std = { version = "1", features = ["unstable"], optional = true } | ||
async-io = { version = "1", optional = true } | ||
|
||
multiaddr = { path = "../multiaddr", package = "tentacle-multiaddr", version = "0.2.0" } | ||
multiaddr = { path = "../multiaddr", package = "tentacle-multiaddr", version = "0.3.0" } | ||
molecule = "0.7.0" | ||
|
||
# upnp | ||
igd = { version = "0.11", optional = true } | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] | ||
# rand 0.8 not support wasm32 | ||
rand = "0.7" | ||
|
||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
js-sys = "0.3" | ||
wasm-bindgen = "0.2" | ||
|
@@ -64,7 +67,7 @@ futures-test = "0.3.5" | |
nix = "0.13.0" | ||
|
||
[features] | ||
default = ["tokio-runtime", "tokio-timer", "upnp"] | ||
default = ["tokio-runtime", "tokio-timer"] | ||
ws = ["tokio-tungstenite"] | ||
upnp = ["igd"] | ||
unstable = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters