-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathCargo.toml
More file actions
147 lines (141 loc) · 4.63 KB
/
Cargo.toml
File metadata and controls
147 lines (141 loc) · 4.63 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
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
[workspace]
members = [
"crates/core",
"crates/authenticator",
"crates/issuer",
"crates/proof",
"crates/primitives",
"crates/test-utils",
"services/indexer",
"services/gateway",
"services/oprf-node",
"services/oprf-dev-client",
"services/common",
"services/faux-issuer",
"tools/generate-solidity-fixtures",
"services/relay",
]
resolver = "2"
[workspace.package]
edition = "2024"
version = "0.8.2"
license = "MIT"
authors = [
"World Foundation",
"TACEO GmbH <hello@taceo.io>",
"Tools for Humanity",
]
homepage = "https://docs.world.org/world-id"
repository = "https://github.com/worldcoin/world-id-protocol"
rust-version = "1.87"
[workspace.dependencies]
# alloy
alloy = { version = "1.7.3", default-features = false }
alloy-primitives = { version = "1.5.6", default-features = false }
alloy-node-bindings = "1.0.42"
anyhow = "1"
ark-ec = "0.5"
ark-babyjubjub = { package = "taceo-ark-babyjubjub", version = "0.5" }
ark-serde-compat = { package = "taceo-ark-serde-compat", version = "0.4.1", default-features = false, features = [
"babyjubjub",
] }
ark-bn254 = "0.5"
ark-ff = "0.5"
ark-groth16 = "0.5"
ark-serialize = "0.5"
backon = "1"
circom-types = { package = "taceo-circom-types", version = "0.2", default-features = false }
eddsa-babyjubjub = { package = "taceo-eddsa-babyjubjub", version = "0.5.4" }
eyre = "0.6"
futures = "0.3"
groth16-material = { package = "taceo-groth16-material", version = "0.2.3", default-features = false }
hex = { version = "0.4" }
k256 = { version = "0.13" }
taceo-groth16-sol = { version = "0.2.2" }
taceo-oprf = { version = "0.11", default-features = false }
taceo-oprf-test-utils = { version = "0.9", default-features = false }
taceo-oprf-key-gen = { version = "0.8" }
telemetry-batteries = "0.2"
ruint = { version = "1.17", features = ["ark-ff-05"] }
poseidon2 = { package = "taceo-poseidon2", version = "0.2" }
rand = "0.8"
rand_chacha = "0.3"
rustls = { version = "0.23", features = ["ring"] }
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha3 = { version = "0.10", default-features = false }
strum = { version = "0.27", features = ["derive"] }
thiserror = "2"
tokio = { version = "1", default-features = false }
tower-http = { version = "0.6", features = ["trace", "timeout"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = { version = "2", features = ["serde"] }
utoipa = "5"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls-webpki-roots",
] }
uuid = { version = "1" }
webpki-roots = "1.0"
zeroize = "1"
zstd = "0.13"
axum = { version = "0.8", features = ["macros", "json"] }
moka = { version = "0.12.13", features = ["future"] }
dashmap = { version = "6.1.0" }
parking_lot = { version = "0.12.5"}
metrics = "0.24"
secrecy = "0.10"
mockito = "1"
ciborium = "0.2"
arrayvec = "0.7"
async-trait = "0.1"
aws-config = "1"
aws-sdk-kms = { version = "1", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] }
chrono = "0.4"
clap = "4.5.59"
config = "0.15.19"
dotenvy = "0.15"
futures-util = "0.3"
getrandom = "0.2"
governor = "0.10.4"
http = "1"
humantime = "2"
humantime-serde = "1"
once_cell = "1"
rayon = "1.11"
redis = "1"
regex = "1"
semaphore-rs-hasher = "0.5.0"
semaphore-rs-trees = "0.5.0"
semaphore-rs-storage = "0.5.0"
serial_test = "3"
testcontainers = "0.27"
testcontainers-modules = { version = "0.15", features = ["redis"] }
sqlx = "0.8"
take_mut = "0.2.2"
tar = "0.4"
taceo-nodes-common = { version = "0.4.3", default-features=false }
taceo-nodes-observability = "0.1"
tempfile = "3"
tokio-util = "0.7"
tempo-alloy = "1.4"
tower = "0.5.3"
# Internal
world-id-core = { version = "0.8.2", default-features = false, path = "crates/core" }
world-id-issuer = { version = "0.8.2", path = "crates/issuer" }
world-id-proof = { version = "0.8.2", path = "crates/proof" }
world-id-authenticator = { version = "0.8.2", path = "crates/authenticator" }
world-id-primitives = { version = "0.8.2", path = "crates/primitives", default-features = false }
world-id-oprf-node = { version = "0.1.0", path = "services/oprf-node" }
world-id-test-utils = { version = "0.1.0", path = "crates/test-utils" }
world-id-services-common = { path = "services/common" }
world-id-relay = { path = "services/relay" }
# Compile all third-party dependencies with optimizations, even in dev/test builds.
# This is essential because arkworks-based zkey deserialization (used by
# taceo-oprf-key-gen) performs elliptic-curve point validation that is
# prohibitively slow at opt-level 0 (~94s for a 21MB proving key).
# With opt-level 2 the same deserialization completes in seconds.
[profile.dev.package."*"]
opt-level = 2