[package]
edition = "2024"
rust-version = "1.90"
name = "contextgraph-host"
version = "2.0.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Context Graph Protocol host runtime: provider discovery, stdio/http transports, capability negotiation, routing, consent gating. Usable by any Rust agent that wants Context Graph Protocol support."
homepage = "https://contextgraphprotocol.org"
documentation = "https://docs.rs/contextgraph-host"
readme = "README.md"
keywords = [
"contextgraph",
"context",
"protocol",
"agents",
"llm",
]
categories = [
"asynchronous",
"network-programming",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/macanderson/context-graph-protocol"
[lib]
name = "contextgraph_host"
path = "src/lib.rs"
[[example]]
name = "ingest_paste"
path = "examples/ingest_paste.rs"
[[test]]
name = "attestation_composition"
path = "tests/attestation_composition.rs"
[[test]]
name = "budget_chrome"
path = "tests/budget_chrome.rs"
[[test]]
name = "cross_provider_ranking"
path = "tests/cross_provider_ranking.rs"
[[test]]
name = "prompt_ingest"
path = "tests/prompt_ingest.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.contextgraph-types]
version = ">=2.0.0"
features = ["attestation"]
[dependencies.futures-util]
version = "0.3"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"process",
"fs",
"io-util",
"sync",
]
[dev-dependencies.wiremock]
version = "0.6"
[target."cfg(unix)".dependencies.libc]
version = "0.2"