[package]
edition = "2024"
rust-version = "1.92"
name = "snark"
version = "0.0.1"
build = false
include = [
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"docs/**",
"src/**",
"tests/fixtures/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tree-sitter-compatible grammar package model and Weavy lowering scaffold."
homepage = "https://facet.rs"
documentation = "https://docs.rs/snark"
readme = "README.md"
keywords = [
"parsing",
"tree-sitter",
"incremental",
"syntax",
]
categories = [
"parsing",
"text-editors",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet"
[package.metadata.docs.rs]
all-features = true
[features]
ci = ["tree-sitter-import"]
default = []
json-import = [
"dep:facet-json",
"facet/indexmap",
]
tree-sitter-import = ["json-import"]
weavy-lowering = ["dep:weavy"]
[lib]
name = "snark"
path = "src/lib.rs"
[dependencies.facet]
version = "0.50.0-rc.5"
features = ["indexmap"]
[dependencies.facet-json]
version = "0.50.0-rc.5"
optional = true
[dependencies.indexmap]
version = "^2.12.1"
default-features = false
[dependencies.weavy]
version = "0.2.2"
optional = true
[lints.clippy]
disallowed_methods = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(facet_no_doc)",
"cfg(kani)",
]