Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
131 lines (119 loc) · 3.58 KB
/
Copy pathCargo.toml
File metadata and controls
131 lines (119 loc) · 3.58 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
[workspace]
members = [
"crates/uniffi-bindgen",
"crates/walletkit-core",
"crates/walletkit",
"crates/walletkit-db",
"crates/walletkit-sqlite",
"crates/walletkit-cli",
"crates/walletkit-testkit",
"crates/walletkit-web",
"xtask",
]
resolver = "2"
[workspace.package]
version = "0.27.1"
license = "MIT"
edition = "2021"
authors = ["World Contributors"]
readme = "./README.md"
homepage = "https://docs.world.org" # TODO: Update to specific WalletKit page
rust-version = "1.98.1" # MSRV
repository = "https://github.com/worldcoin/walletkit"
exclude = ["tests/"]
keywords = ["ZKP", "WorldID", "World", "Identity", "Semaphore"]
categories = ["api-bindings", "cryptography::cryptocurrencies"]
[workspace.dependencies]
alloy = { version = "2", default-features = false }
alloy-core = { version = "1", default-features = false, features = [
"sol-types",
] }
async-trait = "0.1"
attested-request = "0.1.0"
backon = "1.6"
base64 = "0.22"
cc = "1"
chacha20poly1305 = "0.10"
chrono = "0.4.41"
ciborium = "0.2.2"
clap = "4"
ctor = "0.2"
dirs = "6"
dotenvy = "0.15.7"
flamingo-verifier-api-types = "0.8.0"
flamingo-verifier-client = "0.8.0"
flamingo-verifier-protocol = "0.8.0"
flamingo-verifier-sealed-types = "0.8.0"
eyre = "0.6"
futures-util = { version = "0.3", default-features = false }
getrandom = "0.3"
hex = "0.4"
hkdf = "0.12"
log = "0.4"
mockito = "1.6"
rand = "0.8.6"
regex = "1.11"
reqwest = { version = "0.12", default-features = false }
ruint = { version = "1.17", default-features = false }
ruint-uniffi = "0.1"
rustls = "0.23"
secrecy = "0.10"
semaphore-rs = "0.6.0"
serde = "1"
serde_json = "1"
sha2 = "0.10"
sqlite-wasm-rs = "=0.5.5"
sqlite-wasm-vfs = "=0.2.0"
strum = "0.27"
subtle = "2"
# world-id-proof 0.14 uses Arkworks 0.5; taceo-oprf 0.18.2 moved to Arkworks 0.6.
taceo-oprf = { version = "=0.18.1", default-features = false }
tempfile = "3"
test-case = "3.3"
thiserror = "2"
tokio = "1"
tokio-test = "0.4"
tokio-tungstenite = { version = "0.29", default-features = false }
tracing = "0.1"
tracing-log = "0.2"
tracing-subscriber = "0.3"
uniffi = { version = "0.32.0", features = [
"tokio",
"wasm-unstable-single-threaded",
] }
uuid = "1.10"
wasm-bindgen-test = "=0.3.76"
xshell = "0.2.7"
zeroize = "1"
zip = { version = "2", default-features = false }
# world-id-protocol crates
world-id-core = { version = "0.14", default-features = false }
world-id-proof = { version = "0.14", default-features = false }
# internal
walletkit-core = { version = "0.27.1", path = "crates/walletkit-core", default-features = false }
walletkit-db = { version = "0.27.1", path = "crates/walletkit-db" }
walletkit-sqlite = { version = "0.27.1", path = "crates/walletkit-sqlite" }
# Unpublished test helpers
walletkit-testkit = { path = "crates/walletkit-testkit" }
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
[workspace.lints.rust]
missing_docs = "deny"
dead_code = "deny"
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization.
panic = "abort"
debug = false
# ProveKit has an additional `pattern` in the Whir R1CS proof which is used in debugging builds,
# because this isn't serialized, we explicitly remove it here as WalletKit only uses serialized proofs.
[profile.dev.package.provekit-common]
debug-assertions = false
[profile.dev.package.provekit-whir]
debug-assertions = false
[profile.dev.package.provekit-verifier]
debug-assertions = false
[profile.dev.package.provekit-prover]
debug-assertions = false