# 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 = "panproto-expr-parser"
version = "0.53.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Haskell-style surface syntax parser for panproto expressions"
readme = "README.md"
license = "MIT"
repository = "https://github.com/panproto/panproto"

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

[[example]]
name = "parse_field_transform"
path = "examples/parse_field_transform.rs"

[[bench]]
name = "expr_parser_bench"
path = "benches/expr_parser_bench.rs"
harness = false

[dependencies.chumsky]
version = "1.0.0-alpha.8"
features = ["pratt"]

[dependencies.logos]
version = "0.16"

[dependencies.panproto-expr]
version = "0.53.0"

[dev-dependencies.divan]
version = "0.1.21"

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

[lints.clippy]
expect_used = "warn"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
