forked from anoma/namada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
111 lines (96 loc) · 3.01 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[package]
name = "namada_sdk"
description = "The main Namada SDK crate"
resolver = "2"
authors.workspace = true
edition.workspace = true
documentation.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["tendermint-rpc", "download-params"]
multicore = ["masp_proofs/multicore"]
namada-sdk = [
"tendermint-rpc",
"masp_primitives/transparent-inputs"
]
std = ["fd-lock"]
# tendermint-rpc support
tendermint-rpc = [
"async-client",
"dep:tendermint-rpc",
]
wasm-runtime = [
"namada_core/wasm-runtime",
]
# Enable queries support for an async client
async-client = [
"async-trait",
]
async-send = []
# for integration tests and test utilies
testing = [
"namada_core/testing",
"namada_ethereum_bridge/testing",
"namada_proof_of_stake/testing",
"async-client",
]
# Download MASP params if they're not present
download-params = ["masp_proofs/download-params"]
[dependencies]
async-trait = {version = "0.1.51", optional = true}
bimap.workspace = true
borsh.workspace = true
borsh-ext.workspace = true
circular-queue.workspace = true
data-encoding.workspace = true
derivation-path.workspace = true
ethbridge-bridge-contract.workspace = true
ethers.workspace = true
fd-lock = { workspace = true, optional = true }
futures.workspace = true
itertools.workspace = true
lazy_static.workspace= true
masp_primitives.workspace = true
masp_proofs.workspace = true
namada_core = {path = "../core", default-features = false, features = ["rand"]}
namada_ethereum_bridge = {path = "../ethereum_bridge", default-features = false}
namada_proof_of_stake = {path = "../proof_of_stake", default-features = false}
num256.workspace = true
orion.workspace = true
owo-colors = "3.5.0"
parse_duration = "2.1.1"
paste.workspace = true
prost.workspace = true
rand.workspace = true
rand_core.workspace = true
ripemd.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
slip10_ed25519.workspace = true
tendermint-rpc = {workspace = true, optional = true}
thiserror.workspace = true
tiny-bip39.workspace = true
tiny-hderive.workspace = true
toml.workspace = true
tracing.workspace = true
zeroize.workspace = true
[target.'cfg(not(target_family = "wasm"))'.dependencies]
tokio = {workspace = true, features = ["full"]}
[target.'cfg(target_family = "wasm")'.dependencies]
tokio = {workspace = true, default-features = false, features = ["sync"]}
wasmtimer = "0.2.0"
[dev-dependencies]
assert_matches.workspace = true
base58.workspace = true
namada_core = {path = "../core", default-features = false, features = ["rand", "testing"]}
namada_ethereum_bridge = {path = "../ethereum_bridge", default-features = false, features = ["testing"]}
namada_proof_of_stake = {path = "../proof_of_stake", default-features = false, features = ["testing"]}
namada_test_utils = {path = "../test_utils"}
tempfile.workspace = true