Skip to content

Commit

Permalink
use serde as no-std
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoalt committed Nov 24, 2023
1 parent 7a37d8d commit cbbfe9c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bins/revme/Cargo.toml
Expand Up @@ -16,15 +16,15 @@ indicatif = "0.17"
plain_hasher = "0.2"
revm = { path = "../../crates/revm", version = "3.5.0", default-features = false, features = [
"ethersdb",
"std",
#"std",
"serde",
"c-kzg",
] }
alloy-rlp = { version = "0.3", default-features = false, features = [
"arrayvec",
] }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
serde = { version = "1.0", default-features = false, features = ["derive", "rc"] }
serde_json = { version = "1.0", default-features = false }
structopt = "0.3"
thiserror = "1.0"
triehash = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion crates/interpreter/Cargo.toml
Expand Up @@ -13,7 +13,7 @@ readme = "../../README.md"
revm-primitives = { path = "../primitives", version = "1.3.0", default-features = false }

# optional
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
serde = { version = "1.0", default-features = false, features = ["derive", "rc"], optional = true }

[features]
default = ["std"]
Expand Down
4 changes: 2 additions & 2 deletions crates/primitives/Cargo.toml
Expand Up @@ -31,10 +31,10 @@ enumn = "0.1"
derive_more = { version = "0.99", optional = true }

# optional
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
serde = { version = "1.0", default-features = false, features = ["derive", "rc"], optional = true }

[build-dependencies]
hex = "0.4"
hex = { version = "0.4", default-features = false }

[features]
default = ["std", "c-kzg"]
Expand Down
4 changes: 2 additions & 2 deletions crates/revm/Cargo.toml
Expand Up @@ -17,8 +17,8 @@ revm-precompile = { path = "../precompile", version = "2.2.0", default-features
auto_impl = { version = "1.1", default-features = false }

# Optional
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
serde_json = { version = "1.0", features = ["preserve_order"], optional = true }
serde = { version = "1.0", default-features = false, features = ["derive", "rc"], optional = true }
serde_json = { version = "1.0", default-features = false, optional = true }

# ethersdb
tokio = { version = "1.34", features = [
Expand Down

0 comments on commit cbbfe9c

Please sign in to comment.