-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (62 loc) · 2.1 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (62 loc) · 2.1 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
[workspace]
members = [
"src/backend",
"src/cycles_ledger/client",
"src/cycles_ledger/pic",
"src/cycles_ledger/types",
"src/shared"
]
resolver = "2"
[workspace.dependencies]
bs58 = "0.5"
ic-cdk = "0.20.2"
# ic-cdk 0.20 split the management- and Bitcoin-canister bindings out of the main
# crate; these two are the same code, just relocated.
ic-cdk-bitcoin-canister = "0.2.0"
ic-cdk-management-canister = "0.1.1"
ic-cdk-timers = "1.0.0"
canbench-rs = { version = "0.6.0" }
ic-cycles-ledger-client = { path = "src/cycles_ledger/client" }
ic-cycles-ledger-pic = { path = "src/cycles_ledger/pic" }
ic-cycles-ledger-types = { path = "src/cycles_ledger/types" }
ic-ledger-types = "0.16.0"
ic-stable-structures = "0.7"
# Must track ic-cdk: 0.7.0 targets ic-cdk ^0.20.1 and the same
# ic-management-canister-types major, so the two cannot be bumped independently.
ic-vetkeys = "0.7.0"
ic-metrics-encoder = "1.1"
ic-canister-sig-creation = "1.3"
ic-signature-verification = "0.3"
candid = "0.10.26"
candid_parser = "0.4"
serde = "1"
serde_bytes = "0.11"
serde_json = "1"
getrandom = { version = "0.2", features = ["custom"] }
hex = "0.4"
hmac = "0.13"
sha2 = "0.11"
lazy_static = "1.5"
# The pocket-ic library requires a matching major version of the pocket-ic server, which
# `scripts/test.backend.sh` downloads from the version resolved here.
# See:
# Server version: https://github.com/dfinity/pocketic/releases/tag/15.0.0
# Library version: https://docs.rs/pocket-ic/15.0.0
pocket-ic = "15.0.0"
pretty_assertions = "1.4"
bitcoin = "0.32"
tiny-keccak = { version = "2.0", features = ["keccak"] }
paste = "1.0"
# Used for `futures::future::join_all` to run independent HTTP outcalls in
# parallel (e.g. exchange price providers). Already a transitive dep via the
# ic-cdk stack; this declaration just makes it directly available to our crates.
futures = "0.3"
[workspace.lints.rust]
deprecated = "allow" # Why is this allowed?
warnings = "deny"
unused_attributes = "warn"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
allow_attributes = "warn"
module_name_repetitions = "allow"
struct_field_names = "allow"