[package]
edition = "2024"
rust-version = "1.97"
name = "polyc-host"
version = "2026.9.4"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic dedicated-thread bridge from the tokio control plane to a Commonware-runtime-backed durable store."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"
[package.metadata.polychrome]
layer = "component"
foundation = true
plane_role = "shared"
[package.metadata.dist]
dist = false
[lib]
name = "polyc_host"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.commonware-macros]
version = "2026.9.0"
[dependencies.commonware-runtime]
version = "2026.9.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["sync"]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]
[dev-dependencies.uuid]
version = "1"
features = [
"v4",
"v5",
"v7",
]
[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"