[package]
edition = "2024"
rust-version = "1.85"
name = "syn-solidity"
version = "1.5.4"
authors = ["Alloy Contributors"]
build = false
exclude = ["tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "syn-powered Solidity parser"
homepage = "https://github.com/alloy-rs/core/tree/main/crates/syn-solidity"
readme = "README.md"
keywords = [
"ethereum",
"evm",
"syn",
"solidity",
"ast",
]
categories = [
"data-structures",
"cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alloy-rs/core"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"-Zunstable-options",
"--generate-link-to-definition",
"--show-type-layout",
]
[features]
visit = []
visit-mut = []
[lib]
name = "syn_solidity"
path = "src/lib.rs"
[dependencies.paste]
version = "1.0"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = ["extra-traits"]
[dev-dependencies.pretty_assertions]
version = "1.4"
[lints.clippy]
dbg-macro = "warn"
manual-string-new = "warn"
missing-const-for-fn = "warn"
redundant-clone = "warn"
uninlined-format-args = "warn"
use-self = "warn"
[lints.rust]
missing-copy-implementations = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
redundant-lifetimes = "warn"
rust-2018-idioms = "warn"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-must-use = "warn"
[lints.rustdoc]
all = "warn"