[package]
edition = "2021"
rust-version = "1.89"
name = "wasmsh-parse"
version = "0.5.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Handwritten recursive-descent parser for the wasmsh shell"
homepage = "https://github.com/mayflower/wasmsh"
documentation = "https://github.com/mayflower/wasmsh"
readme = "README.md"
keywords = [
"shell",
"bash",
"wasm",
"parser",
"sandbox",
]
categories = [
"command-line-utilities",
"wasm",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/mayflower/wasmsh"
[lib]
name = "wasmsh_parse"
path = "src/lib.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[bench]]
name = "parse_bench"
path = "benches/parse_bench.rs"
harness = false
[dependencies.wasmsh-ast]
version = "0.5.9"
[dependencies.wasmsh-lex]
version = "0.5.9"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
doc_markdown = "warn"
if_not_else = "allow"
manual_let_else = "warn"
match_same_arms = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_lifetimes = "allow"
print_stderr = "warn"
print_stdout = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unwrap_or_default = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_qualifications = "warn"