Skip to content

Commit 9e2f41b

Browse files
authored
Bring dependencies up to date (#83)
* Fix compile errors by updating `aries-askar` Signed-off-by: Maximilian Pohl <[email protected]> * Dep upgrades Signed-off-by: Maximilian Pohl <[email protected]> * Satisfy clippy Signed-off-by: Maximilian Pohl <[email protected]> * Fix various feature flag combinations Signed-off-by: Maximilian Pohl <[email protected]> * Various fixes Signed-off-by: Maximilian Pohl <[email protected]> * Fix wasm target Signed-off-by: Maximilian Pohl <[email protected]> * Updates Signed-off-by: Maximilian Pohl <[email protected]> * Fix python bindings Signed-off-by: Maximilian Pohl <[email protected]> * Don't use rustls-platform-verifier as it does not compile Signed-off-by: Maximilian Pohl <[email protected]> --------- Signed-off-by: Maximilian Pohl <[email protected]>
1 parent 61fa75b commit 9e2f41b

37 files changed

+3881
-2154
lines changed

.github/workflows/check.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
with:
4444
command: check
4545
arguments: --workspace
46+
rust-version: '1.85'
4647

4748
check-wasm32:
4849
runs-on: ubuntu-22.04
@@ -53,7 +54,7 @@ jobs:
5354
- name: Set up Node.js
5455
uses: actions/setup-node@v3
5556
with:
56-
node-version: '16'
57+
node-version: '22'
5758
- name: Install wasm-pack
5859
run: cargo install wasm-pack
5960
- name: Run tests with wasm-pack

Cargo.toml

+15-13
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ exclude = ["demo"]
55

66
[workspace.package]
77
version = "0.1.0"
8-
edition = "2021"
8+
edition = "2024"
99
license = "Apache-2.0 OR MIT"
1010
repository = "https://github.com/openwallet-foundation-labs/tsp"
1111
homepage = "https://github.com/openwallet-foundation-labs/tsp"
1212
readme = "./README.md"
1313
description = "Rust implementation of the Trust Spanning Protocol"
1414
publish = false
15-
rust-version = "1.77"
15+
rust-version = "1.85"
1616

1717
[workspace.dependencies]
1818
# generic
1919
base64ct = { version = "1.6", default-features = false, features = [
2020
"alloc",
2121
"std",
2222
] }
23-
thiserror = "1.0"
23+
thiserror = "2.0.12"
2424
url = { version = "2.5", features = ["serde"] }
2525
zeroize = "1.8"
2626
once_cell = "1.19"
@@ -31,11 +31,12 @@ ed25519-dalek = { version = "2.1.1", default-features = false, features = [
3131
"zeroize",
3232
"rand_core",
3333
] }
34-
hpke = { version = "0.12", features = ["std"] }
34+
hpke = { version = "0.12.0", features = ["std"] }
3535
hpke_pq = { version = "0.11.1", features = ["alloc", "std", "xyber768d00"] }
36-
rand = "0.8.5"
37-
sha2 = "0.10.8"
38-
blake2 = "0.10.6"
36+
rand = { version = "0.8" }
37+
rand_core = "0.6.4"
38+
sha2 = "0.11.0-pre.5"
39+
blake2 = "0.11.0-pre.5"
3940
typenum = "1.17.0"
4041
crypto_box = { version = "0.9.1", features = ["std", "chacha20"] }
4142
# async
@@ -46,7 +47,7 @@ tokio = { version = "1.0", default-features = false, features = [
4647
"net",
4748
"macros",
4849
] }
49-
aries-askar = { version = "0.3.1", default-features = false, features = [ "sqlite" ] }
50+
aries-askar = { version = "0.4.0", default-features = false, features = ["sqlite"] }
5051
# logging
5152
tracing = "0.1"
5253
tracing-subscriber = { version = "0.3.1", default-features = false, features = [
@@ -56,20 +57,21 @@ tracing-subscriber = { version = "0.3.1", default-features = false, features = [
5657
"tracing-log",
5758
] }
5859
# transport
59-
tokio-tungstenite = { version = "0.21", default-features = false, features = [
60+
tokio-tungstenite = { version = "0.26.2", default-features = false, features = [
6061
"rustls-tls-native-roots",
6162
"stream",
6263
"connect",
6364
] }
6465
tokio-util = { version = "0.7", default-features = false, features = ["codec"] }
66+
bytes = "1.10.1"
6567
rustls = "0.23"
6668
tokio-rustls = "0.26"
6769
rustls-pki-types = "1.7"
68-
rustls-native-certs = "0.7"
70+
rustls-native-certs = "0.8.1"
6971
rustls-pemfile = "2.1"
70-
quinn = "0.11"
72+
quinn = { version = "0.11", default-features = false, features = ["log", "runtime-tokio", "rustls-aws-lc-rs"] }
7173
# resolve
72-
reqwest = { version = "0.12.3", default-features = false, features = [
74+
reqwest = { version = "0.12.12", default-features = false, features = [
7375
"rustls-tls-native-roots",
7476
"json",
7577
"stream",
@@ -87,6 +89,6 @@ arbitrary = { version = "1.0", features = ["derive"] }
8789
# cli
8890
clap = { version = "4.5", features = ["derive"] }
8991
# demo server
90-
axum = { version = "0.7", features = ["ws"] }
92+
axum = { version = "0.8.1", features = ["ws"] }
9193

9294
tsp = { path = "./tsp" }

0 commit comments

Comments
 (0)