[package]
edition = "2024"
name = "brink-syntax"
version = "0.0.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Syntax types and parser for inkle's ink narrative scripting language"
readme = "README.md"
keywords = [
"ink",
"narrative",
"compiler",
"interactive-fiction",
]
categories = [
"compilers",
"game-development",
]
license = "MIT"
repository = "https://github.com/syynth/brink"
resolver = "2"
[lib]
name = "brink_syntax"
path = "src/lib.rs"
[[test]]
name = "corpus_roundtrip"
path = "tests/corpus_roundtrip.rs"
[[test]]
name = "fuzz_repro"
path = "tests/fuzz_repro.rs"
[[test]]
name = "proptest_syntax"
path = "tests/proptest_syntax.rs"
[dependencies.rowan]
version = "0.16.1"
[dev-dependencies.insta]
version = "1.46.3"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
allow_attributes = "warn"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
implicit_clone = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
rest_pat_in_fully_bound_structs = "warn"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"
verbose_file_reads = "warn"
wildcard_dependencies = "deny"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unsafe_code = "deny"