# 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.90"
name = "eth-valkyoth-derive"
version = "0.17.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optional sanitization and RLP derive macros for eth."
homepage = "https://github.com/valkyoth/eth"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/valkyoth/eth"

[lib]
name = "eth_valkyoth_derive"
path = "src/lib.rs"
proc-macro = true

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

[dependencies.proc-macro2]
version = "1.0.106"

[dependencies.quote]
version = "1.0.46"

[dependencies.syn]
version = "2.0.118"
features = ["full"]

[dev-dependencies.eth-valkyoth-codec]
version = "0.18.0"

[dev-dependencies.eth-valkyoth-primitives]
version = "0.11.1"

[dev-dependencies.trybuild]
version = "1.0.117"

[lints.clippy]
arithmetic_side_effects = "forbid"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
expect_used = "forbid"
indexing_slicing = "forbid"
panic = "forbid"
undocumented_unsafe_blocks = "forbid"
unwrap_used = "forbid"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "forbid"
unused_must_use = "deny"
