-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathCargo.toml
165 lines (145 loc) · 4.17 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[workspace.package]
name = "prism"
version = "0.1.0"
authors = [
"Sebastian Pusch <[email protected]>",
"Ryan Ford <[email protected]>",
"Jonas Pusch <[email protected]>",
]
edition = "2021"
description = "prism is the first trust-minimized key-transparency solution, allowing for automatic verification of service providers via light clients. Powered by Celestia."
homepage = "https://prism.deltadevs.xyz"
repository = "https://github.com/deltadevsde/prism"
license = "MIT"
keywords = ["crypto", "key-transparency"]
readme = "README.md"
[workspace]
default-members = [
"crates/cli",
"crates/client",
"crates/tests",
"crates/node_types/prover",
"crates/node_types/lightclient",
"crates/node_types/wasm-lightclient",
"crates/common",
"crates/errors",
"crates/storage",
"crates/da",
"crates/serde",
"crates/keys",
"crates/tree",
]
members = [
"crates/cli",
"crates/client",
"crates/tests",
"crates/node_types/prover",
"crates/node_types/lightclient",
"crates/node_types/wasm-lightclient",
"crates/common",
"crates/errors",
"crates/zk/sp1",
"crates/zk/sp1-script",
"crates/storage",
"crates/da",
"crates/serde",
"crates/keys",
"crates/tree",
]
resolver = "2"
[workspace.dependencies]
# serde
serde = { version = "1.0.151", features = ["derive"] }
serde_json = "1.0.79"
serde_bytes = "0.11.15"
base64 = "0.22.0"
bincode = "1.3.3"
hex = "0.4.3"
# webserver
axum = "0.8"
tower-http = { version = "0.6", features = ["cors"] }
utoipa = { version = "5.3", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9.0", features = ["axum"] }
utoipa-axum = { version = "0.2.0" }
# webclient
reqwest = { version = "0.12", features = ["json"] }
url = { version = "2.5" }
# database
redis = "0.24.0"
rocksdb = { version = "0.21.0", features = ["multi-threaded-cf"] }
redb = "2.4.0"
# async
async-trait = "0.1.86"
futures = "0.3.31"
tokio = { version = "1.16.1", default-features = false }
# errors
thiserror = "1.0.62"
anyhow = "1.0.44"
# cli
keystore-rs = "0.3.1"
log = "0.4"
pretty_env_logger = "0.5.0"
clap = { version = "4.3.2", features = ["derive"] }
config = "0.14.0"
toml = "0.8.14"
dirs = "5.0.1"
dotenvy = "0.15.7"
# zk
rand = "0.8.5"
sp1-zkvm = { version = "4.1.0" }
sp1-sdk = { version = "4.1.0" }
sp1-verifier = { version = "4.1.0", default-features = false }
# curves
ed25519-consensus = "2.1.0"
k256 = { version = "0.13.4", features = ["ecdsa", "serde"] }
p256 = { version = "0.13.2", features = ["ecdsa", "serde"] }
# celestia
celestia-rpc = "=0.9.0"
celestia-types = "=0.10.0"
lumina-node = "=0.9.0"
# p2p
libp2p = "0.54.1"
# misc
jmt = { git = "https://github.com/deltadevsde/jmt", branch = "rehashing-circuit", features = [
"mocks",
] }
sha2 = "0.10.8"
tempfile = "3.14.0"
auto_impl = "1.2.0"
paste = "1.0.15"
# plotting
plotters = "0.3.7"
# prism
prism-common = { path = "crates/common" }
prism-storage = { path = "crates/storage" }
prism-da = { path = "crates/da" }
prism-errors = { path = "crates/errors" }
prism-cli = { path = "crates/cli" }
prism-client = { path = "crates/client" }
prism-prover = { path = "crates/node_types/prover" }
prism-tests = { path = "crates/tests" }
prism-keys = { path = "crates/keys" }
prism-serde = { path = "crates/serde" }
prism-tree = { path = "crates/tree" }
prism-lightclient = { path = "crates/node_types/lightclient" }
# testing
mockall = "0.13.1"
# wasm
lumina-node-wasm = { git = "https://github.com/deltadevsde/lumina.git" }
wasm-bindgen = "0.2"
js-sys = "0.3"
web-sys = "0.3"
serde-wasm-bindgen = "0.6.5"
wasm-bindgen-futures = "0.4"
web-time = "1.1.0"
[patch.crates-io]
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", tag = "patch-sha2-0.10.8-sp1-4.0.0" }
curve25519-dalek-ng = { git = "https://github.com/sp1-patches/curve25519-dalek-ng", tag = "patch-4.1.1-sp1-4.0.0" }
p256 = { git = "https://github.com/sp1-patches/elliptic-curves", tag = "patch-p256-13.2-sp1-4.1.0" }
k256 = { git = "https://github.com/sp1-patches/elliptic-curves", tag = "patch-k256-13.4-sp1-4.1.0" }
celestia-types = { git = "https://github.com/deltadevsde/lumina.git" }
lumina-node = { git = "https://github.com/deltadevsde/lumina.git" }
[workspace.features]
default = []
test_utils = []
mock_prover = []