This repository has been archived by the owner on Jan 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
80 lines (71 loc) · 2.25 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
[package]
name = "dusk-wallet-core"
version = "0.21.8"
edition = "2021"
description = "The core functionality of the Dusk wallet"
license = "MPL-2.0"
repository = "https://github.com/dusk-network/wallet-core"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
bytecheck = { version = "0.6.11", default-features = false }
bs58 = { version = "0.5", default-features = false, features = [
"alloc",
"cb58",
] }
bls12_381-bls = { version = "0.2", default-features = false }
dusk-bytes = "0.1.7"
dusk-jubjub = { version = "0.14", default-features = false }
jubjub-schnorr = { version = "0.2", default-features = false, features = [
"rkyv-impl",
"alloc",
"double",
] }
phoenix-core = { version = "0.26", default-features = false, features = [
"alloc",
"rkyv-impl",
] }
poseidon-merkle = { version = "0.5", features = ["rkyv-impl"] }
rand_chacha = { version = "^0.3", default-features = false }
rand_core = "^0.6"
rkyv = { version = "^0.7", default-features = false, features = ["size_32"] }
serde = { version = "1.0", default-features = false, features = [
"alloc",
"derive",
] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
sha2 = { version = "^0.10", default-features = false }
bip39 = { version = "2.0.0", optional = true, default-features = false }
dusk-plonk = { version = "0.19", default-features = false, features = [
"alloc",
"rkyv-impl",
] }
dusk-poseidon = { version = "0.33", default-features = false, features = [
"alloc",
"rkyv-impl",
] }
ff = { version = "0.13", default-features = false }
dusk-bls12_381 = { version = "0.13", default-features = false, features = [
"alloc",
"rkyv-impl",
] }
hex = { version = "0.4", default-features = false, features = ["alloc"] }
hashbrown = "0.14.3"
stake-contract-types = "0.1.0-rc"
[features]
# rust platforms can use this module without the compact feature
default = ["compat"]
compat = ["dep:bip39"]
[target.'cfg(target_family = "wasm")'.dependencies]
rusk-abi = "0.13.0-rc"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
rusk-abi = { version = "0.13.0-rc", default-features = false }
[dev-dependencies]
rand = "^0.8"
wasmtime = "20"
[build-dependencies]
schemafy_lib = "0.6"
[profile.release]
lto = true
codegen-units = 1
opt-level = 'z'