[package]
edition = "2024"
rust-version = "1.95"
name = "ashlar-syntax"
version = "0.2.0"
authors = ["The ashlar contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless syntax highlighting: forward-only, linear-time lexers for common languages, with a line-state API for incremental views"
homepage = "https://github.com/Himasnhu-AT/ashlar"
readme = "README.md"
keywords = [
"syntax",
"highlighting",
"lexer",
"code",
"editor",
]
categories = [
"text-processing",
"parser-implementations",
]
license = "BSD-3-Clause"
repository = "https://github.com/Himasnhu-AT/ashlar"
[lib]
name = "ashlar_syntax"
path = "src/lib.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "perf"
path = "tests/perf.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[dependencies]
[dev-dependencies.cpu-time]
version = "1"
[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
panic = "deny"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "forbid"