solar-parse 0.3.1

Solidity and Yul lexer and parser
# 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.100"
name = "solar-parse"
version = "0.3.1"
authors = ["DaniPopes <57450786+DaniPopes@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solidity and Yul lexer and parser"
homepage = "https://github.com/paradigmxyz/solar/tree/main/crates/parse"
readme = "README.md"
keywords = [
    "ethereum",
    "solidity",
    "solc",
    "crypto",
    "compiler",
]
categories = [
    "compilers",
    "cryptography",
    "cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/solar"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "-Zunstable-options",
    "--generate-link-to-definition",
    "--show-type-layout",
]

[features]
nightly = [
    "solar-ast/nightly",
    "solar-interface/nightly",
]

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

[dependencies.alloy-primitives]
version = "1.3"

[dependencies.bitflags]
version = "2.4"

[dependencies.bumpalo]
version = "3.14"

[dependencies.itertools]
version = ">=0.10, <=0.14"

[dependencies.memchr]
version = "2.7"

[dependencies.num-bigint]
version = "0.5"

[dependencies.num-rational]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.num-traits]
version = "0.2"

[dependencies.ruint]
version = "1.16"
features = ["num-integer"]

[dependencies.smallvec]
version = "1"
features = [
    "const_generics",
    "union",
]

[dependencies.solar-ast]
version = "=0.3.1"
default-features = false

[dependencies.solar-data-structures]
version = "=0.3.1"
default-features = false

[dependencies.solar-interface]
version = "=0.3.1"
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.snapbox]
version = "1.2"
features = ["json"]

[lints.clippy]
dbg_macro = "warn"
manual_string_new = "warn"
redundant_clone = "warn"
test_attr_in_doctest = "allow"
uninlined_format_args = "warn"
use_self = "warn"

[lints.rust]
redundant_lifetimes = "warn"
rust_2018_idioms = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unused_crate_dependencies = "warn"
unused_must_use = "warn"

[lints.rustdoc]
all = "warn"