ashlar-syntax 0.2.0

Headless syntax highlighting: forward-only, linear-time lexers for common languages, with a line-state API for incremental views
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"