Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
119 lines (114 loc) · 3.12 KB
/
Copy pathCargo.toml
File metadata and controls
119 lines (114 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[workspace]
resolver = "2"
members = ["tsp_sdk", "examples", "fuzz", "tsp_python", "tsp_javascript"]
exclude = ["demo"]
[workspace.package]
version = "0.15.0"
edition = "2024"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/openwallet-foundation-labs/tsp"
homepage = "https://github.com/openwallet-foundation-labs/tsp"
readme = "./README.md"
description = "Rust implementation of the Trust Spanning Protocol"
publish = false
rust-version = "1.88"
[workspace.dependencies]
# generic
base64ct = { version = "1.8", default-features = false, features = [
"alloc",
"std",
] }
thiserror = "2.0.16"
url = { version = "2.5", features = ["serde"] }
zeroize = "1.8"
once_cell = "1.21"
#crypto
ed25519-dalek = { version = "2.2", default-features = false, features = [
"fast",
"std",
"zeroize",
"rand_core",
] }
hpke = { version = "0.14.0" }
ml-dsa = { version = "0.1.0-rc.3", features = ["rand_core"] }
rand = { version = "0.8" }
rand_core = "0.6.4"
sha2 = "0.11.0"
blake2 = "0.11.0"
typenum = "1.18.0"
crypto_box = { version = "0.9.1", features = ["std", "seal"] }
x25519-dalek = { version = "2", features = ["static_secrets"] }
salsa20 = "0.10"
subtle = "2"
# no webpki-roots: the OS trust store through the platform verifier, as the transports use
serde_json_canonicalizer = "0.3"
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
crypto_secretbox = "0.1"
# async
async-stream = { version = "0.3" }
futures = { version = "0.3" }
tokio = { version = "1.0", default-features = false, features = [
"rt-multi-thread",
"net",
"macros",
"signal",
] }
aries-askar = { version = "0.4.6", default-features = false, features = [
"sqlite",
] }
# logging
tracing = "0.1"
tracing-subscriber = { version = "0.3.1", default-features = false, features = [
"fmt",
"ansi",
"env-filter",
"tracing-log",
] }
# transport
tokio-tungstenite = { version = "0.28", default-features = false, features = [
"rustls-tls-native-roots",
"stream",
"connect",
] }
tokio-util = { version = "0.7", default-features = false, features = ["codec"] }
bytes = "1.10.1"
rustls = "0.23"
tokio-rustls = "0.26"
rustls-pki-types = "1.12"
rustls-native-certs = "0.8.1"
quinn = { version = "0.11", default-features = false, features = [
"log",
"runtime-tokio",
"rustls-aws-lc-rs",
] }
# resolve
reqwest-eventsource = { version = "0.6" }
reqwest = { version = "0.12.12", default-features = false, features = [
"rustls-tls-native-roots",
"json",
"stream",
"charset",
"http2",
"macos-system-configuration",
] }
#
# webvh
didwebvh-rs = "=0.1.10"
# Python bindings
pyo3 = { version = "0.29", features = ["serde"] }
pythonize = "0.29"
# serialize
serde = { version = "1.0.220", features = ["derive"] }
serde_json = { version = "1.0" }
serde_with = { version = "3.14", features = ["base64"] }
bs58 = "0.5"
# fuzzing
arbitrary = { version = "1.0", features = ["derive"] }
# cli
clap = { version = "4.5", features = ["derive"] }
# demo server
axum = { version = "0.8.1", features = ["ws", "macros"] }
tower-http = { version = "0.6.2", features = ["cors"] }
# property-based testing
proptest = "1.6"
tsp_sdk = { path = "./tsp_sdk", version = "0.15.0" }