-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
92 lines (84 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
87
88
89
90
91
92
[package]
name = "nekoton"
version = "0.13.1"
authors = [
"Alexey Pashinov <pashinov93@gmail.com>",
"Vladimir Petrzhikovskiy <v.petrzhikovskiy@dexpa.io>",
"Ivan Kalinin <i.kalinin@dexpa.io>",
"Stanislav Eliseev <s.eliseev@dexpa.io>"
]
rust-version = "1.65.0"
edition = "2021"
[workspace]
members = [
"gen-protos",
"nekoton-abi",
"nekoton-contracts",
"nekoton-derive",
"nekoton-proto",
"nekoton-transport",
"nekoton-utils",
]
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
base64 = "0.13"
chacha20poly1305 = { version = "0.10.1", optional = true }
curve25519-dalek-ng = { version = "4.1.1", optional = true }
downcast-rs = "1.2"
dyn-clone = "1.0"
erased-serde = { version = "0.3.23", optional = true }
futures-util = "0.3"
getrandom = { version = "0.2.4", optional = true }
hex = "0.4"
hmac = { version = "0.11.0", optional = true }
log = "0.4"
num-bigint = "0.4"
once_cell = "1.12.0"
parking_lot = "0.12.0"
pbkdf2 = { version = "0.12.2", optional = true }
quick_cache = "0.4.1"
rand = { version = "0.8", features = ["getrandom"] , optional = true }
secstr = { version = "0.5.0", features = ["serde"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = { version = "0.10.8", optional = true }
thiserror = "1.0"
tiny-jsonrpc = { version = "0.6.0", default-features = false, optional = true }
tokio = { version = "1", default-features = false, features = ["sync"] }
zeroize = { version = "1", optional = true }
ed25519-dalek = { git = "https://github.com/broxus/ed25519-dalek.git", optional = true }
tiny-bip39 = { git = "https://github.com/broxus/tiny-bip39.git", default-features = false, optional = true }
tiny-hderive = { git = "https://github.com/broxus/tiny-hderive.git", optional = true }
ton_abi = { git = "https://github.com/broxus/ton-labs-abi" }
ton_block = { git = "https://github.com/broxus/ton-labs-block.git" }
ton_executor = { git = "https://github.com/broxus/ton-labs-executor.git" }
ton_types = { git = "https://github.com/broxus/ton-labs-types.git" }
nekoton-contracts = { path = "nekoton-contracts" }
nekoton-abi = { path = "nekoton-abi", features = ["derive"] }
nekoton-utils = { path = "nekoton-utils" }
nekoton-proto = { path = "nekoton-proto", optional = true }
[dev-dependencies]
reqwest = { version = "0.11.8", features = ["gzip"] }
cargo-husky = { version = "1", features = ["default", "run-cargo-fmt", "run-cargo-check"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
[features]
default = ["gql_transport", "wallet_core"]
integration_test = []
web = [
"nekoton-contracts/web",
"nekoton-abi/web",
"nekoton-utils/web",
"getrandom/wasm-bindgen",
"ton_abi/web",
"wallet_core"
]
gql_transport = ["dep:erased-serde"]
jrpc_transport = ["dep:tiny-jsonrpc"]
proto_transport = ["dep:nekoton-proto"]
extended_models = []
non_threadsafe = []
wallet_core = ["dep:pbkdf2", "dep:chacha20poly1305", "dep:zeroize", "dep:secstr", "dep:hmac", "dep:ed25519-dalek",
"dep:tiny-bip39", "dep:tiny-hderive", "dep:sha2", "dep:getrandom", "dep:rand", "dep:curve25519-dalek-ng", "nekoton-utils/encryption"]
[package.metadata.docs.rs]
all-features = true