Skip to content

Commit

Permalink
async-std: pin version to the 1.5.x versions for now
Browse files Browse the repository at this point in the history
Updating from 1.5 to 1.6 has introduced a whole slew of bugs and
changes (because many of the things we use are behind the `unstable`
feature flag).  So to avoid having to hunt down more problems now
where none have to exist, we're pinning async-std in all projects to
1.5 (leave the patch unpinned in case there's patches).

If you create a new crate that has to rely on async-std, make sure to
chose the right version to keep the dependency tree as small as
possible.
  • Loading branch information
spacekookie committed May 23, 2020
1 parent 43372d1 commit 7c58c2c
Show file tree
Hide file tree
Showing 18 changed files with 80 additions and 234 deletions.
280 changes: 63 additions & 217 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion alexandria/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
id = { version = "0.4", path = "../ratman/identity", features = ["digest", "random", "aligned"], package = "ratman-identity" }

async-std = { version = "1.0", features = ["unstable", "attributes"] }
async-std = { version = "=1.5", features = ["unstable", "attributes"] }
bincode = "1.0"
failure = "0.1"
hex = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion clients/hubd/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ netmod-tcp = { path = "../../netmod-tcp" }
ratman = { path = "../../ratman" }
ratman-configure = { path = "../../ratman/configure" }

async-std = { version = "1.0", features = ["attributes"] }
async-std = { version = "=1.5", features = ["attributes"] }
clap = { version = "2.0", features = ["wrap_help", "color"] }
directories = "2.0"
tracing = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion clients/linux-cli/Cargo.toml
Expand Up @@ -8,6 +8,6 @@ license = "GPL-3.0"
[dependencies]
libqaul = { path = "../../libqaul" }
ratman = { path = "../../ratman" }
async-std = { version = "1.0", features = ["attributes"] }
async-std = { version = "=1.5", features = ["attributes"] }
futures = "0.3"
tempfile = "3.0"
2 changes: 1 addition & 1 deletion clients/linux-http-test/Cargo.toml
Expand Up @@ -13,5 +13,5 @@ libqaul-http = { path = "../../libqaul/http" }
qaul-chat = { path = "../../libqaul/service/chat" }
qaul-voices = { path = "../../libqaul/service/voices" }

async-std = { version = "1.0", features = ["attributes"] }
async-std = { version = "=1.5", features = ["attributes"] }
tempfile = "3.0"
2 changes: 1 addition & 1 deletion clients/linux-voice-test/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ libqaul = { path = "../../libqaul" }
qaul-voices = { path = "../../libqaul/service/voices" }
netmod-udp = { path = "../../netmod-udp" }

async-std = "1.0"
async-std = "=1.5"
futures = "0.3"
failure = "0.1"
libpulse-binding = { version = "2.15", features = [] }
Expand Down
2 changes: 1 addition & 1 deletion clients/linux/Cargo.toml
Expand Up @@ -13,4 +13,4 @@ ratman = { path = "../../ratman" }
ratman-netmod = { path = "../../ratman/netmod" }
netmod-mem = { path = "../../netmod-mem" }

async-std = "1.0"
async-std = "=1.5"
2 changes: 1 addition & 1 deletion clients/mini-tcp/Cargo.toml
Expand Up @@ -7,4 +7,4 @@ edition = "2018"
[dependencies]
netmod-tcp = { path = "../../netmod-tcp" }
ratman = { path = "../../ratman" }
async-std = { version = "1.0", features = ["attributes"] }
async-std = { version = "=1.5", features = ["attributes"] }
2 changes: 1 addition & 1 deletion clients/multinode-test/Cargo.toml
Expand Up @@ -14,7 +14,7 @@ libqaul-http = { path = "../../libqaul/http" }
qaul-chat = { path = "../../libqaul/service/chat" }
qaul-voices = { path = "../../libqaul/service/voices" }

async-std = { version = "1.0", features = ["attributes"] }
async-std = { version = "=1.5", features = ["attributes"] }
futures = "0.3"
tempfile = "3.0"
tracing-subscriber = { version = "0.2", features = ["fmt", "env-filter"] }
Expand Down
2 changes: 1 addition & 1 deletion clockctrl/Cargo.toml
Expand Up @@ -7,4 +7,4 @@ edition = "2018"
license = "GPL-3.0-or-later"

[dependencies]
async-std = { version = "1.0", features = ["unstable"] }
async-std = { version = "=1.5", features = ["unstable"] }
2 changes: 1 addition & 1 deletion libqaul/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ edition = "2018"

[dependencies]
alexandria = { version = "0.2", path = "../alexandria" }
async-std = { version = "1.0", features = ["attributes", "unstable"] }
async-std = { version = "=1.5", features = ["attributes", "unstable"] }
base64 = "0.10"
bincode = "1.0"
blake2 = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion libqaul/rpc/Cargo.toml
Expand Up @@ -21,7 +21,7 @@ capnp = { version = "0.12", optional = true }
serde_json = { version = "1.0", optional = true }
serde = { version = "1.0", features = [ "derive" ] }
async-trait = "0.1"
async-std = { version = "1.0", features = ["attributes"]}
async-std = { version = "=1.5", features = ["attributes"]}
futures = "0.3"
failure = "0.1"
crossbeam-queue = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion libqaul/service/chat/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ license = "AGPL-3.0"
files = { path = "../files", package = "qaul-files" }
libqaul = { path = "../../", features = ["testing"] }

async-std = "1.0"
async-std = "=1.5"
bincode = "1.0"
chrono = { version = "0.4", features = ["serde"] }
futures = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion libqaul/service/voices/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "AGPL-3.0"
[dependencies]
libqaul = { path = "../../" }

async-std = "1.5"
async-std = "=1.5"
serde = { version = "1.0", features = ["derive"] }
futures = "0.3"
failure = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion libqaul/ws/Cargo.toml
Expand Up @@ -16,7 +16,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

futures = "0.3"
async-std = "1.0"
async-std = "=1.5"
async-tungstenite = { version = "0.4", features = ["async-std-runtime"] }

libqaul = { path = ".." }
Expand Down
2 changes: 1 addition & 1 deletion netmod-mem/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
license = "AGPL-3.0"

[dependencies]
async-std = { version = "1.0", features = ["attributes", "unstable"] }
async-std = { version = "=1.5", features = ["attributes", "unstable"] }
async-trait = "0.1"
crossbeam-channel = "0.4"
ratman-identity = { version = "0.4", path = "../ratman/identity", package = "ratman-identity", features = [ "digest" ] }
Expand Down
2 changes: 1 addition & 1 deletion netmod-tcp/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "AGPL-3.0"
identity = { path = "../ratman/identity", package = "ratman-identity" }
netmod = { path = "../ratman/netmod", package = "ratman-netmod" }

async-std = { version = "1.5", features = ["attributes", "unstable"] }
async-std = { version = "=1.5", features = ["attributes", "unstable"] }
async-trait = "0.1"
bincode = "1.0"
byteorder = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion netmod-udp/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ netmod = { path = "../ratman/netmod", package = "ratman-netmod" }
identity = { path = "../ratman/identity", package = "ratman-identity" }

async-trait = "0.1"
async-std = { version = "1.0", features = ["unstable"] }
async-std = { version = "=1.5", features = ["unstable"] }
conjoiner = { version = "1.2", package = "conjoiner-engine" }
serde = { version = "1.0", features = ["derive"] }
tracing = "0.1"
Expand Down

0 comments on commit 7c58c2c

Please sign in to comment.