[package]
edition = "2024"
rust-version = "1.97"
name = "polyc-tools"
version = "2026.9.0"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The in-process tool core for polychrome agents: local executors (coding, web fetch, wallet, ...), the tool registry, and MCP composition. The networked connectors live in polyc-connectors."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"
[package.metadata.polychrome]
layer = "component"
plane_role = "shared"
[lib]
name = "polyc_tools"
path = "src/lib.rs"
[[test]]
name = "catalog_freshness"
path = "tests/catalog_freshness.rs"
[[test]]
name = "composite_forwarding"
path = "tests/composite_forwarding.rs"
[[test]]
name = "connection_reuse"
path = "tests/connection_reuse.rs"
[[test]]
name = "connector_retry"
path = "tests/connector_retry.rs"
[[test]]
name = "dead_connector"
path = "tests/dead_connector.rs"
[[test]]
name = "derivation_inputs"
path = "tests/derivation_inputs.rs"
[[test]]
name = "mcp_roundtrip"
path = "tests/mcp_roundtrip.rs"
[[test]]
name = "worker_share_in"
path = "tests/worker_share_in.rs"
[[test]]
name = "worker_write_fencing"
path = "tests/worker_write_fencing.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.connectrpc]
version = "0.9.0"
features = [
"axum",
"server",
"client",
"client-tls",
"server-tls",
]
[dependencies.connectrpc-health]
version = "0.9"
[dependencies.http]
version = "1"
[dependencies.polyc-agent]
version = "=2026.9.0"
[dependencies.polyc-capability]
version = "=2026.9.0"
[dependencies.polyc-crypto]
version = "=2026.9.0"
[dependencies.polyc-llm]
version = "=2026.9.0"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13.4"
features = [
"rustls",
"json",
"stream",
]
default-features = false
[dependencies.rmcp]
version = "3"
features = [
"client",
"server",
"transport-streamable-http-client-reqwest",
"transport-streamable-http-server",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"signal",
"process",
"time",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = ["test-util"]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[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"