# 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 = "2024"
rust-version = "1.92"
name = "signet-storage"
version = "0.6.3"
authors = ["init4"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified storage interface for Signet hot and cold storage"
homepage = "https://github.com/init4tech/signet-storage"
readme = "README.md"
keywords = [
    "blockchain",
    "storage",
    "ethereum",
]
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/init4tech/signet-storage"
resolver = "2"

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

[features]
default = []
test-utils = [
    "signet-hot/test-utils",
    "signet-cold/test-utils",
]

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

[[test]]
name = "unified"
path = "tests/unified.rs"

[dependencies.alloy]
version = "1.6"
features = [
    "consensus",
    "rlp",
    "rpc-types-eth",
]
default-features = false

[dependencies.signet-cold]
version = "0.6.3"

[dependencies.signet-hot]
version = "0.6.3"

[dependencies.signet-storage-types]
version = "0.6.3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dev-dependencies.tokio]
version = "1.45.0"
features = [
    "full",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dev-dependencies.trevm]
version = "0.34.0"
features = ["full_env_cfg"]
