[package]
edition = "2024"
rust-version = "1.85"
name = "stack-compiler"
version = "0.1.0"
build = false
include = [
"src/**",
"tests/**",
"Cargo.toml",
"README.md",
"LICENSE",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference compiler frontend for the Stack diagram language"
homepage = "https://stack-diagram.com/"
documentation = "https://docs.rs/stack-compiler"
readme = "README.md"
keywords = [
"stack",
"diagram",
"dsl",
"compiler",
]
categories = ["parser-implementations"]
license = "Apache-2.0"
repository = "https://github.com/stack-sh/compiler"
[features]
conformance = []
[lib]
name = "stack_compiler"
path = "src/lib.rs"
[[test]]
name = "compiler"
path = "tests/compiler.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
required-features = ["conformance"]
[[test]]
name = "language_intelligence_conformance"
path = "tests/language_intelligence_conformance.rs"
required-features = ["conformance"]
[dev-dependencies.serde_json]
version = "1.0.151"
[lints.clippy]
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"