forked from bluealloy/revm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (41 loc) · 1.18 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
[package]
name = "revm-inspector"
description = "Revm inspector interface"
version = "1.0.0-alpha.2"
authors.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
[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
context.workspace = true
database-interface.workspace = true
handler.workspace = true
precompile.workspace = true
primitives.workspace = true
state.workspace = true
interpreter.workspace = true
auto_impl.workspace = true
# Optional
serde = { workspace = true, features = ["derive", "rc"], optional = true }
serde_json = { workspace = true, features = ["alloc"], optional = true }
[dev-dependencies]
revm = { workspace = true, features = ["serde"] }
database = { workspace = true, features = ["serde"] }
[features]
default = ["std"]
# Preserve order of json field
std = ["serde?/std", "serde_json?/std", "serde_json?/preserve_order"]
serde = ["dep:serde", "revm/serde", "database/serde"]
serde-json = ["serde", "dep:serde_json"]