forked from mobilecoinfoundation/mobilecoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (31 loc) · 1.38 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
[package]
name = "mc-util-generate-sample-ledger"
version = "1.1.0"
authors = ["MobileCoin"]
edition = "2018"
[[bin]]
name = "generate-sample-ledger"
path = "src/bin/generate_sample_ledger.rs"
[dependencies]
mc-account-keys = { path = "../../account-keys" }
mc-common = { path = "../../common", features = ["log", "loggers"] }
mc-crypto-keys = { path = "../../crypto/keys" }
mc-ledger-db = { path = "../../ledger/db" }
mc-transaction-core = { path = "../../transaction/core" }
mc-util-build-info = { path = "../../util/build/info" }
mc-util-from-random = { path = "../../util/from-random" }
mc-util-keyfile = { path = "../../util/keyfile" }
hex = "0.4"
rand = "0.8"
rand_hc = "0.3"
structopt = "0.3"
[target.'cfg(any(target_feature = "avx2", target_feature = "avx"))'.dependencies]
curve25519-dalek = { version = "4.0.0-pre.0", default-features = false, features = ["simd_backend", "nightly"] }
[target.'cfg(not(any(target_feature = "avx2", target_feature = "avx")))'.dependencies]
curve25519-dalek = { version = "4.0.0-pre.0", default-features = false, features = ["nightly", "u64_backend"] }
[dev-dependencies]
tempdir = "0.3"
[build-dependencies]
# Even though this is unused, it needs to be here otherwise Cargo brings in some weird mixture of packages/features that refuses to compile.
# Go figure ¯\_(ツ)_/¯
serde = { version = "1", default-features = false, features = ["alloc", "derive"] }