[package]
edition = "2024"
rust-version = "1.88"
name = "tla-syntax"
version = "0.2.0"
authors = ["copyleftdev"]
build = false
exclude = [
"tests/parse_specs.rs",
"tests/robustness.rs",
"tests/golden.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser, AST and printer for TLA+, with no dependencies"
homepage = "https://github.com/copyleftdev/tlatools-rs"
readme = "README.md"
keywords = [
"tlaplus",
"tla",
"parser",
"formal-methods",
"specification",
]
categories = [
"parser-implementations",
"development-tools",
"science",
]
license = "MIT"
repository = "https://github.com/copyleftdev/tlatools-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "tla_syntax"
path = "src/lib.rs"
[[example]]
name = "audit"
path = "examples/audit.rs"
[[example]]
name = "depth"
path = "examples/depth.rs"
[[test]]
name = "boundaries"
path = "tests/boundaries.rs"
[[test]]
name = "grammar"
path = "tests/grammar.rs"
[[test]]
name = "printing"
path = "tests/printing.rs"
[[test]]
name = "queries"
path = "tests/queries.rs"
[lints.clippy]
missing_errors_doc = "allow"
must_use_candidate = "allow"
similar_names = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"