# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.88.0"
name = "revm-rwasm-context-interface"
version = "14.0.0-rwasm.1"
authors = ["Dragan Rakita <dragan0rakita@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Revm context interface crates"
readme = "README.md"
keywords = [
    "revm",
    "evm",
    "ethereum",
    "blockchain",
    "no_std",
]
license = "MIT"
repository = "https://github.com/bluealloy/revm"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
serde = [
    "dep:serde",
    "primitives/serde",
    "state/serde",
    "alloy-eip7702/serde",
    "alloy-eip2930/serde",
    "database-interface/serde",
    "either/serde",
]
serde-json = ["serde"]
std = [
    "serde?/std",
    "alloy-eip7702/std",
    "alloy-eip2930/std",
    "database-interface/std",
    "primitives/std",
    "state/std",
    "either/std",
]

[lib]
name = "revm_rwasm_context_interface"
path = "src/lib.rs"

[dependencies.alloy-eip2930]
version = "0.2.3"
default-features = false

[dependencies.alloy-eip7702]
version = "0.6.3"
features = ["k256"]
default-features = false

[dependencies.auto_impl]
version = "1.3.0"

[dependencies.database-interface]
version = "9.0.0-rwasm.1"
default-features = false
package = "revm-rwasm-database-interface"

[dependencies.either]
version = "1.15.0"
default-features = false

[dependencies.primitives]
version = "22.0.0-rwasm.1"
default-features = false
package = "revm-rwasm-primitives"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]
optional = true
default-features = false

[dependencies.state]
version = "9.0.0-rwasm.1"
default-features = false
package = "revm-rwasm-state"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unused_must_use = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
all = "warn"
