forked from bluealloy/revm
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
82 lines (71 loc) · 2.07 KB
/
Cargo.toml
File metadata and controls
82 lines (71 loc) · 2.07 KB
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
[package]
authors = ["Dragan Rakita <dragan0rakita@gmail.com>"]
description = "Revm Optimism"
edition = "2021"
keywords = ["ethereum", "optimism", "evm", "revm", "no_std"]
license = "MIT"
name = "revm-optimism"
repository = "https://github.com/bluealloy/revm"
version = "1.0.0"
readme = "../../README.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
unreachable_pub = "warn"
unused_must_use = "deny"
rust_2018_idioms = "deny"
[lints.rustdoc]
all = "warn"
[dependencies]
# revm
revm = { path = "../revm", version = "14.0.1", default-features = false }
revm-precompile = { path = "../precompile", version = "11.0.1", default-features = false, features = [
"secp256r1",
] }
# misc
enumn = { version = "0.1" }
# Optional
serde = { version = "1.0", default-features = false, features = [
"derive",
"rc",
], optional = true }
[dev-dependencies]
anyhow = "1.0.83"
criterion = "0.5"
indicatif = "0.17"
rstest = "0.22.0"
alloy-sol-types = "0.8"
[features]
default = ["std", "c-kzg", "secp256k1", "portable", "blst"]
std = [
"serde?/std",
"revm/std",
"revm-precompile/std",
]
hashbrown = ["revm/hashbrown"]
serde = ["dep:serde", "revm/serde"]
serde-json = ["serde", "revm/serde-json"]
portable = ["revm/portable"]
dev = [
"memory_limit",
"optional_balance_check",
"optional_block_gas_limit",
"optional_eip3607",
"optional_gas_refund",
"optional_no_base_fee",
"optional_beneficiary_reward",
]
memory_limit = ["revm/memory_limit"]
optional_balance_check = ["revm/optional_balance_check"]
optional_block_gas_limit = ["revm/optional_block_gas_limit"]
optional_eip3607 = ["revm/optional_eip3607"]
optional_gas_refund = ["revm/optional_gas_refund"]
optional_no_base_fee = ["revm/optional_no_base_fee"]
optional_beneficiary_reward = ["revm/optional_beneficiary_reward"]
# See comments in `revm-precompile`
secp256k1 = ["revm/secp256k1"]
c-kzg = ["revm/c-kzg"]
# `kzg-rs` is not audited but useful for `no_std` environment, use it with causing and default to `c-kzg` if possible.
kzg-rs = ["revm/kzg-rs"]
blst = ["revm/blst"]