-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
76 lines (70 loc) · 1.88 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
[package]
name = "cldi"
version = "0.6.2"
authors = ["Rivtower Technologies <[email protected]>"]
edition = "2021"
[dependencies]
clap = { version = "4.5", features = ["cargo"] }
clap_complete = "4.5"
hex = "0.4"
tokio = { version = "1.41", features = ["full"] }
rand = "0.8"
tonic = "0.12"
prost = "0.13"
time = { version = "0.3", features = ["formatting", "local-offset"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
lazy_static = "1.5"
thiserror = "2.0"
anyhow = "1.0"
home = "0.5"
indicatif = "0.17"
rayon = "1.10"
tentacle-multiaddr = "0.3"
toml = "0.8"
rustyline = "14.0"
shell-words = "1.1"
parking_lot = "0.12"
crossbeam = "0.8"
tempfile = "3.14"
# crypto SM
libsm = "0.6"
efficient-sm2 = "0.2"
# crypto ETH
aes = "0.8"
ctr = "0.9"
# ethabi cli
ethabi = "18.0"
itertools = "0.13"
rlp = "0.5"
static_merkle_tree = "1.1"
ethereum-types = "0.14"
ophelia = "0.3"
overlord = "0.4"
ophelia-blst = "0.3"
cita-crypto = "0.1"
sha3 = "0.10"
tiny-keccak = { version = "2.0", features = ["keccak"] }
secp256k1 = { version = "0.30", features = ["rand", "recovery"] }
hashable = { package = "cita-hashable", version = "0.1" }
# legacy
rustbreak = { version = "2.0", features = ["ron_enc"] }
cita-merklehash = { version = "0.1", features = ["sm3hash"] }
bytes = { version = "1.8", features = ["serde"] }
bloomchain = "0.2"
eth-jsonrpc-lib = "0.4"
cita_cloud_proto = "=6.7.4"
libproto = { git = "https://github.com/cita-cloud/libproto", rev = "9388049a964bc81a8989f7db9cf6f1620dc4a5bc" }
[target.'cfg(not(target_os = "macos"))'.dependencies]
openssl = { version = "0.10", features = ["vendored"] }
[dev-dependencies]
mockall = "0.13"
[profile.release]
lto = true
[features]
default = ["sm2", "sm3hash"]
secp256k1 = ["cita-crypto/secp256k1", "libproto/secp256k1"]
sm2 = ["cita-crypto/sm2", "libproto/sm2"]
sha3hash = ["hashable/sha3hash", "libproto/sha3hash"]
sm3hash = ["hashable/sm3hash", "libproto/sm3hash"]