[package]
edition = "2024"
rust-version = "1.97"
name = "polyc-state-connect"
version = "2026.9.0"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "State plane transport adapter: capability-specific Connect clients and server-trait glue mapping the generated wire types onto the polyc-state kernel — typed outcomes, per-call admission, and the conformance surface the authenticated shell proves itself against (docs/proposals/separated-planes.md)."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"
[package.metadata.polychrome]
layer = "component"
plane_role = "state"
[lib]
name = "polyc_state_connect"
path = "src/lib.rs"
[[test]]
name = "query_audit_wire_numbers"
path = "tests/query_audit_wire_numbers.rs"
[dependencies.base64]
version = "0.22"
[dependencies.buffa]
version = "0.9.1"
features = [
"std",
"json",
]
[dependencies.connectrpc]
version = "0.9.0"
features = [
"axum",
"server",
"client",
"client-tls",
"server-tls",
]
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.http]
version = "1"
[dependencies.opentelemetry]
version = "0.32"
[dependencies.polyc-proto]
version = "=2026.9.0"
[dependencies.polyc-runtime]
version = "=2026.9.0"
[dependencies.polyc-state]
version = "=2026.9.0"
[dependencies.sha2]
version = "0.11"
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.opentelemetry_sdk]
version = "0.32"
features = ["rt-tokio"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[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"