[package]
edition = "2024"
name = "qcl"
version = "0.1.5"
authors = ["lollipopkit <a@lollipopkit.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Query Check Language written in Rust"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/lollipopkit/qcl"
[package.metadata.cargo-test]
args = [
"--",
"--nocapture",
]
[features]
adv_arith = []
all = [
"std",
"sem_arith",
"adv_arith",
"json",
"yaml",
"toml",
]
default = [
"std",
"sem_arith",
"json",
]
ffi = [
"std",
"json",
]
json = [
"std",
"dep:serde_json",
]
python = [
"dep:pyo3",
"std",
"json",
]
sem_arith = []
std = [
"dep:once_cell",
"serde/std",
]
toml = [
"std",
"dep:toml",
]
wasm = [
"dep:wasm-bindgen",
"dep:serde-wasm-bindgen",
"std",
"json",
]
yaml = [
"std",
"dep:serde_yaml",
]
[lib]
name = "qcl"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "qcl"
path = "src/main.rs"
required-features = ["std"]
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[bench]]
name = "bench_main"
path = "benches/bench_main.rs"
harness = false
[dependencies.hashbrown]
version = "0.15"
features = ["serde"]
[dependencies.once_cell]
version = "1"
optional = true
[dependencies.pyo3]
version = "0.24"
features = ["extension-module"]
optional = true
[dependencies.serde]
version = "^1"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true
[dependencies.serde_json]
version = "^1"
optional = true
[dependencies.serde_yaml]
version = "^0.9"
optional = true
[dependencies.toml]
version = "^0.8"
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dev-dependencies.criterion]
version = "0.3"