[package]
edition = "2024"
name = "syntaqlite-syntax"
version = "0.0.36"
build = "build.rs"
links = "syntaqlite_syntax"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal parser and tokenizer for syntaqlite — not intended for direct use"
homepage = "https://syntaqlite.com"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/LalitMaganti/syntaqlite"
[features]
default = ["sqlite"]
dynload = ["dep:libloading"]
no-bundled-parser = []
pin-cflags = ["sqlite"]
pin-version = ["sqlite"]
serde = ["dep:serde"]
serde-json = [
"serde",
"dep:serde_json",
]
sqlite = []
[lib]
name = "syntaqlite_syntax"
path = "src/lib.rs"
[[test]]
name = "public_api_docs"
path = "tests/public_api_docs.rs"
[dependencies.libloading]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[build-dependencies.cc]
version = "1.0"
[lints.clippy]
allow_attributes = "deny"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unreachable_pub = "deny"
unused_must_use = "deny"
unused_qualifications = "deny"