[package]
edition = "2024"
name = "vlorql"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level SQL query optimization and LLM-powered natural language querying library"
readme = false
license = "MIT OR Apache-2.0"
resolver = "2"
[package.metadata.husky.hooks]
pre-commit = "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings"
[lib]
name = "vlorql"
path = "src/lib.rs"
[[example]]
name = "basic_query"
path = "examples/basic_query.rs"
[[example]]
name = "custom_compiler"
path = "examples/custom_compiler.rs"
[[example]]
name = "end_to_end_pg"
path = "examples/end_to_end_pg.rs"
[[example]]
name = "multi_dialect"
path = "examples/multi_dialect.rs"
[[example]]
name = "stream_query"
path = "examples/stream_query.rs"
[[example]]
name = "with_caching"
path = "examples/with_caching.rs"
[[example]]
name = "with_observability"
path = "examples/with_observability.rs"
[[example]]
name = "with_optimization"
path = "examples/with_optimization.rs"
[[example]]
name = "with_policy"
path = "examples/with_policy.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "security_dialect_bypass"
path = "tests/security/dialect_bypass.rs"
[[test]]
name = "security_malformed_json"
path = "tests/security/malformed_json.rs"
[[test]]
name = "security_policy_bypass"
path = "tests/security/policy_bypass.rs"
[[test]]
name = "security_sql_injection"
path = "tests/security/sql_injection.rs"
[dependencies.futures]
version = "0.3"
[dependencies.opentelemetry]
version = "0.28"
features = [
"metrics",
"trace",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tracing]
version = "0.1"
[dependencies.vlorql-core]
version = "0.2.0"
[dependencies.vlorql-llm]
version = "0.2.0"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.bytes]
version = "1.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.opentelemetry]
version = "0.28"
features = [
"metrics",
"trace",
]
[dev-dependencies.opentelemetry_sdk]
version = "0.28"
features = [
"metrics",
"rt-tokio",
"testing",
]
[dev-dependencies.rstest]
version = "0.18"
[dev-dependencies.rustls]
version = "0.23"
[dev-dependencies.tokio-postgres]
version = "0.7"
features = [
"with-uuid-1",
"with-chrono-0_4",
"with-serde_json-1",
]
[dev-dependencies.tokio-postgres-rustls]
version = "0.12"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"json",
"env-filter",
"registry",
]
[dev-dependencies.webpki-roots]
version = "0.26"
[build-dependencies.cargo-husky]
version = "1"