forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
81 lines (70 loc) · 1.94 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
[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]
# used to generate constants
vergen = { version = "7.0", default-features = false, features = [
"build",
"rustc",
"git",
] }
[dependencies]
# foundry internal
foundry-evm = { path = "../evm" }
anvil-core = { path = "core" }
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.1.0"
ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["ws"] }
# axum related
axum = { version = "0.5", features = ["ws"] }
hyper = "0.14"
tower = "0.4"
tower-http = { version = "0.3", 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"
# misc
serde_json = "1.0.67"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0.30"
yansi = "0.5.1"
# cli
clap = { version = "3.0.10", features = [
"derive",
"env",
"wrap_help",
], optional = true }
async-trait = "0.1.53"
chrono = "0.4.19"
auto_impl = "0.5.0"
ctrlc = { version = "3", optional = true }
fdlimit = { version = "0.2.1", optional = true }
[dev-dependencies]
ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["abigen"] }
ethers-solc = { git = "https://github.com/gakonst/ethers-rs", features = ["project-util", "full"] }
pretty_assertions = "1.2.1"
tokio = { version = "1", features = ["full"] }
[features]
default = ["cli"]
cmd = ["foundry-common", "forge", "clap", "ctrlc", "anvil-server/clap"]
cli = ["tokio/full", "cmd", "fdlimit"]