-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
143 lines (127 loc) · 3.68 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
[workspace.package]
name = "prism"
version = "0.1.0"
authors = [
"Sebastian Pusch <sebastian@deltadevs.xyz>",
"Ryan Ford <ryan@deltadevs.xyz>",
"Jonas Pusch <jonas@deltadevs.xyz>",
]
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/tests",
"crates/node_types/prover",
"crates/node_types/lightclient",
"crates/common",
"crates/errors",
"crates/storage",
"crates/da",
"crates/serde",
"crates/keys",
"crates/tree",
]
members = [
"crates/cli",
"crates/tests",
"crates/node_types/prover",
"crates/node_types/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" }
# database
redis = "0.24.0"
rocksdb = { version = "0.21.0", features = ["multi-threaded-cf"] }
# async
async-trait = "0.1.68"
tokio = { version = "1.16.1", features = ["full"] }
futures = "0.3.31"
# errors
thiserror = "1.0.62"
anyhow = "1.0.44"
# cli
keystore-rs = "0.1.2"
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.0.0" }
sp1-sdk = { version = "4.0.0" }
sp1-verifier = { version = "4.0.0", default-features = false }
# curves
ed25519-consensus = "2.1.0"
secp256k1 = { version = "0.29.1", features = [
"global-context",
"rand-std",
"serde",
] }
p256 = { version = "0.13.2", features = ["serde", "ecdsa"] }
ecdsa = { version = "0.16.0", features = ["der"] }
# celestia
celestia-rpc = "=0.8.0"
celestia-types = "=0.9.0"
lumina-node = "=0.8.0"
# 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-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" }
[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" }
secp256k1 = { git = "https://github.com/sp1-patches/rust-secp256k1", tag = "patch-0.29.1-sp1-4.0.0" }
ecdsa-core = { git = "https://github.com/sp1-patches/signatures", package = "ecdsa", tag = "patch-0.16.9-sp1-4.0.0" }
[workspace.features]
default = []
test_utils = []
mock_prover = []