/
Cargo.toml
69 lines (62 loc) · 2.15 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
[package]
name = "icp-ledger"
description = "Like an accountant, but on the blockchain!"
version.workspace = true
authors.workspace = true
edition.workspace = true
documentation.workspace = true
[dependencies]
candid = { workspace = true }
comparable = { version = "0.5", features = ["derive"] }
crc32fast = "1.2.0"
dfn_candid = { path = "../../rust_canisters/dfn_candid" }
dfn_core = { path = "../../rust_canisters/dfn_core" }
dfn_protobuf = { path = "../../rust_canisters/dfn_protobuf" }
hex = { workspace = true }
ic-base-types = { path = "../../types/base_types" }
ic-crypto-sha2 = { path = "../../crypto/sha2" }
ic-ledger-canister-core = { path = "../ledger_canister_core" }
ic-ledger-core = { path = "../ledger_core" }
ic-ledger-hash-of = { path = "../../../packages/ic-ledger-hash-of" }
icrc-ledger-types = { path = "../../../packages/icrc-ledger-types" }
lazy_static = "1.4.0"
num-traits = { workspace = true }
on_wire = { path = "../../rust_canisters/on_wire" }
prost = { workspace = true }
prost-derive = "0.12"
serde = { workspace = true }
serde_bytes = { workspace = true }
serde_cbor = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
[dev-dependencies]
candid_parser = { workspace = true }
canister-test = { path = "../../rust_canisters/canister_test" }
ic-canister-client-sender = { path = "../../canister_client/sender" }
ic-canisters-http-types = { path = "../../rust_canisters/http_types" }
ic-icp-index = { path = "index" }
ic-ledger-test-utils = { path = "test_utils" }
ic-nns-constants = { path = "../../nns/constants" }
ic-test-utilities-compare-dirs = { path = "../../test_utilities/compare_dirs" }
ledger-canister-protobuf-generator = { path = "./protobuf_generator" }
maplit = "1.0.2"
pocket-ic = { path = "../../../packages/pocket-ic" }
proptest = "1"
rand = "0.8"
rand_chacha = "0.3"
tempfile = "3.1.0"
[[test]]
name = "test"
path = "tests/tests.rs"
[[test]]
name = "upgrade_downgrade"
path = "tests/upgrade_downgrade.rs"
[[test]]
name = "check_generated_files"
path = "tests/check_generated_files.rs"
[[test]]
name = "protobuf_encoding"
path = "tests/protobuf_encoding.rs"
[[bin]]
name = "test-notified"
path = "tests/notified.rs"