-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
93 lines (76 loc) · 2.36 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
[workspace]
members = [
"crates/api",
"crates/mempool",
"crates/executor",
"crates/storage",
"crates/blockmgmt",
"crates/model",
"crates/utils/crypto",
]
[workspace.dependencies]
rt-evm-api = { path = "crates/api" }
rt-evm-mempool = { path = "crates/mempool" }
rt-evm-executor = { path = "crates/executor" }
rt-evm-storage = { path = "crates/storage", default-features = false }
rt-evm-blockmgmt = { path = "crates/blockmgmt" }
rt-evm-model = { path = "crates/model" }
rt-evm-crypto = { path = "crates/utils/crypto" }
evm = { version = "0.37", features = ["with-serde"] }
ethereum = { version = "0.14", features = ["with-serde"] }
ethereum-types = "0.14"
beef = "0.5"
jsonrpsee = { version = "0.15", features = ["http-server", "macros", "ws-server"] }
rlp = "0.5"
rlp-derive = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
faster-hex = "0.6"
bcs = "0.1.5"
bytes = { version = "1.4", features = ["serde"] }
derive_more = "0.99"
ophelia = "0.3"
ophelia-secp256k1 = "0.3"
moka = "0.10.0"
rayon = "1.7.0"
tokio = { version = "1.26", features = ["full"] }
parking_lot = "0.12.1"
once_cell = "1.17.1"
arc-swap = "1.6"
async-trait = "0.1"
az = "1.2"
bn = { package = "substrate-bn", version = "0.6" }
rug = "1.19"
sha2 = "0.10"
ripemd = "0.1"
ruc = { version = "5.0.10", features = ["crypto"] }
vsdb = { version = "0.60.0", default-features = false, features = ["extra_types"] }
vsdb_trie_db = "0.14.0"
####################################################################
####################################################################
[package]
name = "rt-evm"
version = "0.2.0"
edition = "2021"
[dependencies]
ruc = { workspace = true }
vsdb = { workspace = true }
once_cell = { workspace = true }
bcs = { workspace = true }
rt-evm-api = { workspace = true }
rt-evm-mempool = { workspace = true }
rt-evm-executor = { workspace = true }
rt-evm-storage = { workspace = true }
rt-evm-blockmgmt = { workspace = true }
rt-evm-model = { workspace = true }
tokio = { workspace = true }
[dev-dependencies]
[[example]]
name = "demo"
crate-type = ["bin"]
[features]
default = ["vsdb_bcs_codec"]
benchmark = ["rt-evm-api/benchmark", "rt-evm-executor/benchmark", "rt-evm-mempool/benchmark"]
vsdb_bcs_codec = ["rt-evm-storage/vsdb_bcs_codec"]
vsdb_json_codec = ["rt-evm-storage/vsdb_json_codec"]
vsdb_msgpack_codec = ["rt-evm-storage/vsdb_msgpack_codec"]