Skip to content

Commit 19e4945

Browse files
Cargo.toml: Relax tokio versioning (fix #114) (#117)
Relax tokio versioning as per #114. Note that as per [Cargo docs on dependency version requirements](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#default-requirements), specifying `tokio 1.45` here allows for any 1.x versions greater than, or equal to 1.45. We can lower this if necessary to also support older 1.x versions, but it would require testing first. We would only need to update the version in Cargo.toml in case of major version (tokio 2.0) or if we introduce changes requiring a newer minor version. Co-authored-by: Isaiah Inuwa <isaiah.inuwa@gmail.com>
1 parent 2a07f94 commit 19e4945

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libwebauthn/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sha2 = "0.10.2"
2626
uuid = { version = "1.5.0", features = ["serde", "v4"] }
2727
async-trait = "0.1.36"
2828
futures = "0.3.5"
29-
tokio = { version = "1.45.0", features = ["full"] }
29+
tokio = { version = "1.45", features = ["full"] }
3030
serde = "1.0.110"
3131
serde_cbor = "0.11.2"
3232
serde-indexed = "0.1.1"
@@ -57,10 +57,10 @@ hkdf = "0.12"
5757
solo = { path = "../solo", optional = true }
5858
text_io = "0.1"
5959
tungstenite = { version = "0.26.2" }
60-
tokio-tungstenite = { version = "0.26.2", features = [
60+
tokio-tungstenite = { version = "0.26", features = [
6161
"rustls-tls-native-roots",
6262
] }
63-
tokio-stream = "0.1.4"
63+
tokio-stream = "0.1"
6464
snow = { version = "0.10.0-beta.1", features = ["use-p256"] }
6565
ctap-types = { version = "0.4.0" }
6666
btleplug = "0.11.7"

solo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ path = "src/lib.rs"
1212
[dependencies]
1313
log = "0.4"
1414
env_logger = "0.11.8"
15-
tokio = {version = "1.45.1", features = ["process", "io-util", "rt"]}
15+
tokio = {version = "1.45", features = ["process", "io-util", "rt"]}

0 commit comments

Comments
 (0)