[package]
edition = "2024"
rust-version = "1.97"
name = "polyc-query-credential"
version = "2026.10.2"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Credential verification and query scope derivation, shared by the control plane's forensics authorization funnel and the standalone Query plane, with no DataFusion, Arrow, or engine dependency."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"
[package.metadata.polychrome]
layer = "component"
plane_role = "shared"
[package.metadata.dist]
dist = false
[features]
test-util = []
[lib]
name = "polyc_query_credential"
path = "src/lib.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "credential"
path = "tests/credential.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.23"
[dependencies.blake3]
version = "1"
[dependencies.buffa]
version = "0.9.1"
features = [
"std",
"json",
]
[dependencies.polyc-crypto]
version = "=2026.10.2"
[dependencies.polyc-persona]
version = "=2026.10.2"
[dependencies.polyc-proto]
version = "=2026.10.2"
[dependencies.polyc-query-model]
version = "=2026.10.2"
[dependencies.polyc-session-family]
version = "=2026.10.2"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[dev-dependencies.trybuild]
version = "1.0"
[lints.clippy]
dbg_macro = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rustdoc]
all = "warn"