syn-solidity 1.7.2

syn-powered Solidity parser
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.85"
name = "syn-solidity"
version = "1.7.2"
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"