[[bench]]
harness = false
name = "parser"
path = "benches/parser.rs"
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.4.1"
[dependencies.cached]
version = "0.55.1"
[dependencies.indenter]
version = "0.3.3"
[dependencies.peg]
version = "0.8.5"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tracing]
version = "0.1.41"
[dependencies.utf8-chars]
version = "3.0.5"
[dev-dependencies.anyhow]
version = "1.0.98"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"
[dev-dependencies.pretty_assertions]
features = ["unstable"]
version = "1.4.1"
[features]
debug-tracing = ["peg/trace"]
fuzz-testing = ["dep:arbitrary"]
[lib]
bench = false
name = "brush_parser"
path = "src/lib.rs"
[lints.clippy]
bool_to_int_with_if = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
expect_used = "deny"
format_push_string = "deny"
if_not_else = "allow"
if_same_then_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
panic_in_result_fn = "deny"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
result_large_err = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "deny"
unwrap_in_result = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.rust]
unnameable_types = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rust.unknown_lints]
level = "allow"
priority = -100
[lints.rust.warnings]
level = "deny"
priority = 0
[package]
authors = ["reuben olinsky"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "POSIX/bash shell tokenizer and parsers (used by brush-shell)"
edition = "2021"
keywords = ["cli", "shell", "sh", "bash", "script"]
license = "MIT"
name = "brush-parser"
readme = "README.md"
repository = "https://github.com/reubeno/brush"
rust-version = "1.75.0"
version = "0.2.16"
[target."cfg(unix)".dev-dependencies.pprof]
features = ["criterion", "flamegraph"]
version = "0.14.0"