[package]
edition = "2024"
rust-version = "1.97"
name = "polyc-judgment"
version = "2026.10.2"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider-agnostic judgment trait: typed yes/no and choice questions over a state, answered with calibrated probabilities."
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-fixtures = []
[lib]
name = "polyc_judgment"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[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"