signet-cold-sql 0.4.1

SQL backend for signet-cold storage
Documentation
# 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-cold-sql"
version = "0.4.1"
authors = ["init4"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL backend for signet-cold storage"
homepage = "https://github.com/init4tech/signet-storage"
readme = "README.md"
keywords = [
    "sql",
    "storage",
    "cold-storage",
    "blockchain",
]
categories = ["database-implementations"]
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 = []
postgres = [
    "sqlx/postgres",
    "sqlx/any",
    "sqlx/runtime-tokio-rustls",
    "dep:alloy",
    "dep:signet-storage-types",
    "dep:signet-zenith",
]
sqlite = [
    "sqlx/sqlite",
    "sqlx/any",
    "sqlx/runtime-tokio-rustls",
    "dep:alloy",
    "dep:signet-storage-types",
    "dep:signet-zenith",
]
test-utils = [
    "signet-cold/test-utils",
    "sqlite",
    "postgres",
]

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

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

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

[dependencies.signet-storage-types]
version = "0.4.1"
optional = true

[dependencies.signet-zenith]
version = "0.16.0-rc.8"
optional = true

[dependencies.sqlx]
version = "0.8"
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.signet-cold]
version = "0.4.1"
features = ["test-utils"]

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