-
Notifications
You must be signed in to change notification settings - Fork 42
/
Cargo.toml
64 lines (58 loc) · 1.65 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
[package]
name = "nns-dapp"
version = { workspace = true }
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.22.1"
candid = "0.10.10"
flate2 = "1.0.30"
hex = "0.4.3"
itertools = "0.13.0"
lazy_static = "1.5.0"
lzma-rs = "0.3.0"
regex = "1.11.0"
serde = "1.0.209"
serde_bytes = "0.11.15"
serde_cbor = "0.11.2"
sha2 = "0.10.8"
strum = "0.26.3"
strum_macros = "0.26.4"
tar = "0.4.40"
cycles-minting-canister = { workspace = true }
dfn_candid = { workspace = true }
dfn_core = { workspace = true }
dfn_protobuf = { workspace = true }
ic-base-types = { workspace = true }
ic-cdk = { workspace = true }
ic-cdk-macros = { workspace = true }
ic-cdk-timers = { workspace = true }
ic-certified-map = "0.3.4" # == https://github.com/dfinity/cdk-rs 6a15aa1616bcfdfdc4c120d17d37a089f5700c36
ic-crypto-sha2 = { workspace = true }
ic-ledger-core = { workspace = true }
ic-nns-common = { workspace = true }
ic-nns-constants = { workspace = true }
ic-nns-governance = { workspace = true }
ic-sns-swap = { workspace = true }
ic-stable-structures = "0.6.5"
icp-ledger = { workspace = true }
on_wire = { workspace = true }
proposals = { path = "../proposals" }
[dev-dependencies]
anyhow = "1.0.95"
candid_parser = "0.1.2"
ic_principal = "0.1.0"
maplit = "1.0.2"
pretty_assertions = "1.4.0"
proptest = "1.6.0"
rand = "0.8.5"
slotmap = "1"
tokio = { version = "1.39.3", features = ["full"] }
[features]
# Build flavours; these should not normally be referred to directly in code.
production = ["assets"]
test = ["assets", "toy_data_gen"]
noassets = ["toy_data_gen"]
# Individual features
assets = []
toy_data_gen = []