[package]
edition = "2024"
rust-version = "1.92"
name = "typst-syntax"
version = "0.15.0"
authors = ["The Typst Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser and syntax tree for Typst."
homepage = "https://typst.app"
readme = "README.md"
keywords = ["typst"]
categories = ["compilers"]
license = "Apache-2.0"
repository = "https://github.com/typst/typst"
resolver = "2"
[lib]
name = "typst_syntax"
path = "src/lib.rs"
[dependencies.ecow]
version = "0.2.6"
features = ["serde"]
[dependencies.rustc-hash]
version = "2.1"
[dependencies.serde]
version = "1.0.184"
features = ["derive"]
[dependencies.toml]
version = "0.8"
features = [
"parse",
"display",
]
default-features = false
[dependencies.typst-timing]
version = "0.15.0"
[dependencies.typst-utils]
version = "0.15.0"
[dependencies.unicode-ident]
version = "1.0"
[dependencies.unicode-math-class]
version = "0.1"
[dependencies.unicode-script]
version = "0.5"
[dependencies.unicode-segmentation]
version = "1"
[dependencies.unscanny]
version = "0.1"
[lints.clippy]
blocks_in_conditions = "allow"
comparison_chain = "allow"
derived_hash_with_manual_eq = "allow"
disallowed_methods = "warn"
iter_over_hash_type = "warn"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
mutable_key_type = "allow"
uninlined_format_args = "warn"
wildcard_in_or_patterns = "allow"