# 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.85"
name = "alloy-chains"
version = "0.2.24"
authors = ["Alloy Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical type definitions for EIP-155 chains"
homepage = "https://github.com/alloy-rs/chains"
readme = "README.md"
keywords = [
    "ethers",
    "primitives",
    "ethereum",
    "revm",
    "reth",
]
categories = [
    "no-std",
    "data-structures",
    "cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alloy-rs/chains"

[features]
arbitrary = [
    "dep:arbitrary",
    "dep:proptest",
    "alloy-primitives/arbitrary",
]
default = ["std"]
rlp = [
    "dep:alloy-rlp",
    "alloy-primitives/rlp",
]
schema = [
    "std",
    "dep:schemars",
]
serde = [
    "dep:serde",
    "alloy-primitives/serde",
]
std = [
    "strum/std",
    "serde?/std",
    "alloy-primitives/std",
]

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

[dependencies.alloy-primitives]
version = "1.0"
default-features = false

[dependencies.alloy-rlp]
version = "0.3"
features = ["derive"]
optional = true
default-features = false

[dependencies.arbitrary]
version = "1.3"
optional = true
default-features = false

[dependencies.num_enum]
version = "0.7"
default-features = false

[dependencies.proptest]
version = "1.5"
features = ["alloc"]
optional = true
default-features = false

[dependencies.schemars]
version = "0.8"
optional = true

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

[dependencies.strum]
version = "0.27"
features = ["derive"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0"
features = ["alloc"]
default-features = false
