forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (72 loc) · 2.28 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
[package]
name = "anvil"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Foundry's local ethereum node"
[[bin]]
name = "anvil"
path = "src/anvil.rs"
required-features = ["cli"]
[build-dependencies]
vergen = { version = "8", default-features = false, features = ["build", "git", "git2"] }
[dependencies]
# foundry internal
foundry-evm = { path = "../evm" }
anvil-core = { path = "core", features = ["fastrlp", "serde", "impersonated-tx"] }
anvil-rpc = { path = "rpc" }
anvil-server = { path = "server" }
foundry-utils = { path = "../utils" }
foundry-common = { path = "../common", optional = true }
forge = { path = "../forge", optional = true }
foundry-config = { path = "../config" }
# evm support
bytes = "1.4.0"
ethers = { workspace = true, features = ["ws"] }
trie-db = { version = "0.23" }
hash-db = { version = "0.15" }
memory-db = { version = "0.29" }
# axum related
axum = { version = "0.5", features = ["ws"] }
hyper = "0.14"
tower = "0.4"
tower-http = { version = "0.4", features = ["trace"] }
# tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
# async
tokio = { version = "1", features = ["time"] }
parking_lot = "0.12"
futures = "0.3"
async-trait = "0.1"
# misc
serde_json = "1.0.95"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
yansi = "0.5"
tempfile = "3.5"
# cli
clap = { version = "4.2", features = ["derive", "env", "wrap_help"], optional = true }
clap_complete = { version = "4.2", optional = true }
chrono = "0.4.24"
auto_impl = "1.0"
ctrlc = { version = "3", optional = true }
fdlimit = { version = "0.2.1", optional = true }
clap_complete_fig = "4.2"
ethereum-forkid = "0.11"
# ethers
[target.'cfg(not(windows))'.dependencies]
ethers = { workspace = true, features = ["rustls", "ws", "ipc"] }
[target.'cfg(windows)'.dependencies]
ethers = { workspace = true, features = ["rustls", "ws"] }
[dev-dependencies]
ethers = { workspace = true, features = ["abigen"] }
ethers-solc = { workspace = true, features = ["project-util", "full"] }
pretty_assertions = "1.3.0"
tokio = { version = "1", features = ["full"] }
crc = "3.0.1"
[features]
default = ["cli"]
cmd = ["foundry-common", "forge", "clap", "clap_complete", "ctrlc", "anvil-server/clap"]
cli = ["tokio/full", "cmd", "fdlimit"]