# 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.76"
name = "linera-alloy-rpc-types"
version = "0.1.0"
authors = ["Alloy Contributors"]
exclude = [
    "benches/",
    "tests/",
]
description = "Alloy RPC types"
homepage = "https://github.com/MathieuDutSik/alloy"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/MathieuDutSik/alloy"

[dependencies.alloy-rlp]
version = "0.3"
features = [
    "arrayvec",
    "derive",
]
default-features = false

[dependencies.arbitrary]
version = "1.3"
features = ["derive"]
optional = true

[dependencies.itertools]
version = "0.12"

[dependencies.jsonrpsee-types]
version = "0.22"
optional = true

[dependencies.linera-alloy-consensus]
version = "0.1.0"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.linera-alloy-eips]
version = "0.1.0"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.linera-alloy-genesis]
version = "0.1.0"
default-features = false

[dependencies.linera-alloy-primitives]
version = "0.7.4"
features = [
    "rlp",
    "serde",
    "std",
]
default-features = false

[dependencies.linera-alloy-serde]
version = "0.1.0"
default-features = false

[dependencies.linera-alloy-sol-types]
version = "0.7.4"
default-features = false

[dependencies.proptest]
version = "1.4"
optional = true

[dependencies.proptest-derive]
version = "0.4"
optional = true

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

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

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.arbitrary]
version = "1.3"
features = ["derive"]

[dev-dependencies.linera-alloy-consensus]
version = "0.1.0"
features = [
    "std",
    "arbitrary",
]
default-features = false

[dev-dependencies.linera-alloy-primitives]
version = "0.7.4"
features = [
    "rand",
    "rlp",
    "serde",
    "arbitrary",
]
default-features = false

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.proptest-derive]
version = "0.4"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.similar-asserts]
version = "1.5"

[features]
arbitrary = [
    "dep:arbitrary",
    "dep:proptest-derive",
    "dep:proptest",
    "linera-alloy-primitives/arbitrary",
    "linera-alloy-eips/arbitrary",
]
jsonrpsee-types = ["dep:jsonrpsee-types"]
k256 = ["linera-alloy-consensus/k256"]
ssz = [
    "linera-alloy-primitives/ssz",
    "linera-alloy-eips/ssz",
]

[lints.clippy]
all = "warn"
missing_const_for_fn = "warn"
option_if_let_else = "warn"
use_self = "warn"

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

[lints.rustdoc]
all = "warn"