[package]
edition = "2024"
rust-version = "1.88"
name = "luau-syntax"
version = "0.732.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Luau lexer, parser, AST, CST, and source utilities"
homepage = "https://github.com/luau-rs/luau"
readme = "README.md"
license = "MIT AND Unicode-DFS-2016"
repository = "https://github.com/luau-rs/luau"
[features]
time-trace = ["luau-common/time-trace"]
[lib]
name = "luau_syntax"
path = "src/lib.rs"
[[test]]
name = "allocator"
path = "tests/allocator.rs"
[[test]]
name = "ast"
path = "tests/ast/main.rs"
[[test]]
name = "lexer"
path = "tests/lexer.rs"
[[test]]
name = "parser"
path = "tests/parser/main.rs"
[[test]]
name = "pretty_printer"
path = "tests/pretty_printer.rs"
[[test]]
name = "source_module"
path = "tests/source_module.rs"
[dependencies.bumpalo]
version = "3.2.1"
[dependencies.luau-common]
version = "=0.732.0"
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"