-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
92 lines (89 loc) · 2.43 KB
/
Cargo.toml
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
[workspace]
resolver = "2"
members = ["tsp", "examples", "fuzz", "tsp-python", "tsp-javascript"]
exclude = ["demo"]
[workspace.package]
version = "0.1.0"
edition = "2021"
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.77"
[workspace.dependencies]
# generic
base64ct = { version = "1.6", default-features = false, features = [
"alloc",
"std",
] }
thiserror = "1.0"
url = { version = "2.5", features = ["serde"] }
zeroize = "1.8"
once_cell = "1.19"
#crypto
ed25519-dalek = { version = "2.1.1", default-features = false, features = [
"fast",
"std",
"zeroize",
"rand_core",
] }
hpke = { version = "0.12", features = ["std"] }
hpke_pq = { version = "0.11.1", features = ["alloc", "std", "xyber768d00"] }
rand = "0.8.5"
sha2 = "0.10.8"
blake2 = "0.10.6"
typenum = "1.17.0"
crypto_box = { version = "0.9.1", features = ["std", "chacha20"] }
# async
async-stream = { version = "0.3" }
futures = { version = "0.3" }
tokio = { version = "1.0", default-features = false, features = [
"rt-multi-thread",
"net",
"macros",
] }
aries-askar = { version = "0.3.1", 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.21", default-features = false, features = [
"rustls-tls-native-roots",
"stream",
"connect",
] }
tokio-util = { version = "0.7", default-features = false, features = ["codec"] }
rustls = "0.23"
tokio-rustls = "0.26"
rustls-pki-types = "1.7"
rustls-native-certs = "0.7"
rustls-pemfile = "2.1"
quinn = "0.11"
# resolve
reqwest = { version = "0.12.3", default-features = false, features = [
"rustls-tls-native-roots",
"json",
"stream",
"charset",
"http2",
"macos-system-configuration",
] }
# serialize
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
serde_with = { version = "3.8.1", features = ["base64"] }
bs58 = "0.5"
# fuzzing
arbitrary = { version = "1.0", features = ["derive"] }
# cli
clap = { version = "4.5", features = ["derive"] }
# demo server
axum = { version = "0.7", features = ["ws"] }
tsp = { path = "./tsp" }