[package]
edition = "2021"
name = "skullbrain-parser"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parses skullbrain tokens into a concrete syntax tree (CST)."
readme = false
keywords = [
"parser",
"skullbrain",
]
categories = [
"parsing",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Deaths-Door/SkullBrain/tree/main/skullbrain-parser"
[lib]
name = "skullbrain_parser"
path = "src/lib.rs"
[dependencies.bitflags]
version = "2.9.1"
[dependencies.cstree]
version = "0.12.2"
features = [
"derive",
"lasso_compat",
"multi_threaded_interning",
]
[dependencies.itertools]
version = "0.14.0"
[dependencies.skullbrain-diagnostics]
version = "0.1.0"
[dependencies.skullbrain-lexer]
version = "0.1.0"
[dev-dependencies.insta]
version = "1.43.1"
features = [
"yaml",
"glob",
]
[lints.clippy]
doc_link_with_quotes = "warn"
doc_markdown = "warn"
missing_const_for_fn = "deny"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
shadow_unrelated = "warn"
similar_names = "warn"
unused_self = "warn"
useless_let_if_seq = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
overflowing_literals = "deny"
trivial_casts = "deny"
unreachable_patterns = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_allocation = "deny"
unused_must_use = "deny"
unused_variables = "deny"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3