polyc-host 2026.9.5

Generic dedicated-thread bridge from the tokio control plane to a Commonware-runtime-backed durable store.
Documentation
[package]
name = "polyc-host"
version.workspace = true
description = "Generic dedicated-thread bridge from the tokio control plane to a Commonware-runtime-backed durable store."
edition.workspace = true
license.workspace = true
authors.workspace = true
rust-version.workspace = true
repository.workspace = true

[package.metadata.polychrome]
# Software-system layer — see docs/architecture/. A foundation Component: a
# leaf building block with no internal `polyc-*` dependencies, generalizing
# the dedicated-OS-thread bridge that `PersonaHost` and `EventLogHost`
# hand-rolled — see this
# crate's module doc for why the bridge exists at all
# (`commonware_runtime::tokio::Runner::start` cannot nest inside a live tokio
# runtime).
layer = "component"
foundation = true
# Logical plane role in the separated state, projection, and query topology
# (#1565, chunk A1) — a different question than `layer` above. The canonical
# policy is arch-capabilities.toml; scripts/check_plane_capabilities.py checks it.
plane_role = "shared"
[package.metadata.dist]
# Published library crate (crates.io, polyc-* namespace) with no `[[bin]]`
# dist should build archives/installers for. It carries no `publish = false`
# (the crates.io dependency closure needs it publishable), so without this
# explicit opt-out dist still tries to plan a Windows MSI for it, which then
# demands WiX GUIDs this crate has no reason to carry. `dist = false` opts it
# out explicitly instead — same fix as `crates/control-plane`.
dist = false


[dependencies]
commonware-runtime.workspace = true
commonware-macros.workspace = true
tokio = { workspace = true, features = ["sync"] }
tokio-util.workspace = true
thiserror.workspace = true
tracing.workspace = true
async-trait.workspace = true

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time"] }
uuid.workspace = true

[lints]
workspace = true