# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "omena-parser"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Green-field cstree parser substrate for the Omena CSS parser stack"
readme = "README.md"
keywords = [
    "omena",
    "css",
    "parser",
    "analysis",
]
categories = [
    "development-tools",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/omenien/omena-css"
resolver = "2"

[lib]
name = "omena_parser"
path = "src/lib.rs"

[[bin]]
name = "omena-parser-canonical-candidate"
path = "src/bin/omena-parser-canonical-candidate.rs"

[[bin]]
name = "omena-parser-canonical-producer"
path = "src/bin/omena-parser-canonical-producer.rs"

[[bin]]
name = "omena-parser-css-modules-intermediate"
path = "src/bin/omena-parser-css-modules-intermediate.rs"

[[bin]]
name = "omena-parser-evaluator-candidates"
path = "src/bin/omena-parser-evaluator-candidates.rs"

[[bin]]
name = "omena-parser-lex"
path = "src/bin/omena-parser-lex.rs"

[[bin]]
name = "omena-parser-style-facts"
path = "src/bin/omena-parser-style-facts.rs"

[[bin]]
name = "omena-parser-summary"
path = "src/bin/omena-parser-summary.rs"

[dependencies.cstree]
version = "0.14.0"

[dependencies.omena-interner]
version = "0.1"

[dependencies.omena-syntax]
version = "0.1"

[dependencies.salsa]
version = "0.26.1"
features = [
    "macros",
    "inventory",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "deny"
