[package]
edition = "2021"
name = "leekscript-rs"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LeekScript parser, formatter, and semantic analysis in Rust"
homepage = "https://github.com/leek-wars/leekscript-rs"
documentation = "https://docs.rs/leekscript-rs"
readme = "README.md"
keywords = [
"leekscript",
"parser",
"language",
"formatter",
"lsp",
]
categories = [
"parser-implementations",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/leek-wars/leekscript-rs"
[features]
default = []
lsp = [
"dep:tower-lsp",
"utf16",
]
transform = [
"leekscript-tooling/transform",
"sipha/transform",
]
utf16 = ["sipha/utf16"]
[lib]
name = "leekscript_rs"
path = "src/lib.rs"
[[bin]]
name = "leekscript"
path = "src/main.rs"
[[example]]
name = "parse_leekscript"
path = "examples/parse_leekscript.rs"
[[example]]
name = "validate_with_signatures"
path = "examples/validate_with_signatures.rs"
[[test]]
name = "format_integration"
path = "tests/format_integration.rs"
[[test]]
name = "validate_integration"
path = "tests/validate_integration.rs"
[[bench]]
name = "parse_analyze_format"
path = "benches/parse_analyze_format.rs"
harness = false
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.leekscript-analysis]
version = "0.1.0"
[dependencies.leekscript-core]
version = "0.1.0"
[dependencies.leekscript-document]
version = "0.1.0"
[dependencies.leekscript-tooling]
version = "0.1.0"
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.serde_json]
version = "1"
[dependencies.sipha]
version = "2.0.0"
features = [
"miette",
"emit",
]
[dependencies.toml]
version = "0.8"
[dependencies.tower-lsp]
version = "0.20"
optional = true
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.sipha-diff]
version = "2.0.0"
[lints.rust]
unsafe_code = "forbid"