-
Notifications
You must be signed in to change notification settings - Fork 644
/
Copy pathCargo.toml
77 lines (67 loc) · 1.89 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
[package]
authors = ["Dragan Rakita <dragan0rakita@gmail.com>"]
description = "revm primitives"
edition = "2021"
keywords = ["no_std", "ethereum", "evm", "revm", "types"]
license = "MIT"
name = "revm-primitives"
repository = "https://github.com/bluealloy/revm"
version = "1.3.0"
readme = "../../README.md"
# Don't need to run build script outside of this repo
exclude = ["build.rs", "src/kzg/*.txt"]
[dependencies]
alloy-primitives = { version = "0.4", default-features = false, features = [
"rlp",
] }
alloy-rlp = { version = "0.3", default-features = false, features = ["derive"] }
hashbrown = "0.14"
auto_impl = "1.1"
bitvec = { version = "1", default-features = false, features = ["alloc"] }
bitflags = { version = "2.4.1", default-features = false }
# For setting the CfgEnv KZGSettings. Enabled by c-kzg flag.
c-kzg = { version = "0.1.1", default-features = false, optional = true }
once_cell = { version = "1.18", default-features = false, optional = true }
# utility
enumn = "0.1"
# optional
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
[build-dependencies]
hex = "0.4"
[features]
default = ["std", "c-kzg"]
std = [
"alloy-primitives/std",
"alloy-rlp/std",
"hex/std",
"bitvec/std",
"bitflags/std",
]
serde = [
"dep:serde",
"alloy-primitives/serde",
"hex/serde",
"hashbrown/serde",
"bitvec/serde",
"bitflags/serde",
"c-kzg?/serde",
]
arbitrary = ["std", "alloy-primitives/arbitrary", "bitflags/arbitrary"]
optimism = []
dev = [
"memory_limit",
"optional_balance_check",
"optional_block_gas_limit",
"optional_eip3607",
"optional_gas_refund",
"optional_no_base_fee",
]
memory_limit = []
no_gas_measuring = []
optional_balance_check = []
optional_block_gas_limit = []
optional_eip3607 = []
optional_gas_refund = []
optional_no_base_fee = []
# See comments in `revm-precompile`
c-kzg = ["dep:c-kzg", "dep:once_cell"]