-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathCargo.toml
86 lines (72 loc) · 3.13 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
81
82
83
84
85
86
[package]
name = "iota-wallet"
version = "0.2.0"
authors = [ "IOTA Stiftung" ]
edition = "2021"
description = "A stateful package for IOTA value transactions"
documentation = "https://wiki.iota.org/wallet.rs/welcome"
homepage = "https://www.iota.org/"
repository = "https://github.com/iotaledger/wallet.rs"
license = "Apache-2.0"
keywords = [ "iota", "wallet", "transaction" ]
categories = [ "cryptography::cryptocurrencies" ]
[dependencies]
async-trait = { version = "0.1.56", default-features = false }
backtrace = { version = "0.3.66", default-features = false, features = [ "std" ] }
futures = { version = "0.3.21", default-features = false }
getset = { version = "0.1.2", default-features = false }
iota-client = { git = "https://github.com/iotaledger/iota.rs", rev = "14e434b772528b025b07d4e3017a6522100ef1f7", default-features = false, features = [ "message_interface", "tls" ] }
iota-crypto = { version = "0.13.0", default-features = false, features = [ "std", "chacha", "blake2b", "ed25519", "random", "slip10", "bip39", "bip39-en" ] }
log = { version = "0.4.17", default-features = false }
packable = { version = "0.5.0", default-features = false, features = [ "serde", "primitive-types" ] }
prefix-hex = { version = "0.4.0", default-features = false, features = [ "std" ] }
primitive-types = { version = "0.11.1", default-features = false }
rocksdb = { git = "https://github.com/rust-rocksdb/rust-rocksdb", rev = "86d983987e7cafce90ad8a147b0b325e6007eba6", default-features = false, features = [ "lz4" ], optional = true }
serde = { version = "1.0.140", default-features = false, features = [ "derive" ] }
serde_json = { version = "1.0.82", default-features = false }
thiserror = { version = "1.0.31", default-features = false }
tokio = { version = "1.20.0", default-features = false }
zeroize = { version = "1.5.7", default-features = false, features = [ "zeroize_derive" ] }
[dev-dependencies]
dotenv = { version = "0.15.0", default-features = false }
fern-logger = { version = "0.5.0", default-features = false }
[features]
# only default for now, should later be replaced by stronghold since stronghold is more secure
default = [ "mnemonic", "storage", "stronghold" ]
ledger_nano = [ "iota-client/ledger_nano" ]
stronghold = [ "iota-client/stronghold" ]
storage = [ "rocksdb" ]
message_interface = []
events = []
mnemonic = []
[profile.release]
panic = "abort"
[profile.production]
codegen-units = 1
inherits = "release"
lto = true
strip = "symbols"
[[example]]
name = "0_generate_addresses"
path = "examples/offline_signing/0_generate_addresses.rs"
[[example]]
name = "1_prepare_transaction"
path = "examples/offline_signing/1_prepare_transaction.rs"
[[example]]
name = "2_sign_transaction"
path = "examples/offline_signing/2_sign_transaction.rs"
[[example]]
name = "3_send_transaction"
path = "examples/offline_signing/3_send_transaction.rs"
[[example]]
name = "ledger_nano"
required-features = [ "ledger_nano" ]
# udeps returns a false positive for this, so we add it here
[package.metadata.cargo-udeps.ignore]
normal = ["backtrace"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "events"
required-features = ["events"]