[package]
edition = "2021"
rust-version = "1.86"
name = "iicp-client"
version = "0.7.78"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Use the open IICP AI mesh from Rust without running a node"
documentation = "https://docs.rs/iicp-client"
readme = "README.md"
keywords = [
"iicp",
"ai-agents",
"protocol",
"sdk",
]
categories = [
"network-programming",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/RobLe3/iicp-client-rust"
[features]
default = [
"nat",
"iicp-tcp",
]
iicp-tcp = ["dep:ciborium"]
metrics = ["dep:prometheus"]
nat = ["dep:igd-next"]
proxy = []
[lib]
name = "iicp_client"
path = "src/lib.rs"
[[bin]]
name = "iicp-node"
path = "src/bin/iicp_node.rs"
[[example]]
name = "node"
path = "examples/node.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "backends_tests"
path = "tests/backends_tests.rs"
[[test]]
name = "cip_policy_tests"
path = "tests/cip_policy_tests.rs"
[[test]]
name = "client_tests"
path = "tests/client_tests.rs"
[[test]]
name = "concurrency_tests"
path = "tests/concurrency_tests.rs"
[[test]]
name = "conformance_tests"
path = "tests/conformance_tests.rs"
[[test]]
name = "consumer_token_tests"
path = "tests/consumer_token_tests.rs"
[[test]]
name = "credits_cli_tests"
path = "tests/credits_cli_tests.rs"
[[test]]
name = "e2e_local"
path = "tests/e2e_local.rs"
[[test]]
name = "iicp_tcp_tests"
path = "tests/iicp_tcp_tests.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "mcp_gateway_tests"
path = "tests/mcp_gateway_tests.rs"
[[test]]
name = "nat_detection_tests"
path = "tests/nat_detection_tests.rs"
[[test]]
name = "node_inference"
path = "tests/node_inference.rs"
[[test]]
name = "node_register_tests"
path = "tests/node_register_tests.rs"
[[test]]
name = "node_tests"
path = "tests/node_tests.rs"
[[test]]
name = "pricing_tests"
path = "tests/pricing_tests.rs"
[[test]]
name = "proxy_e2e"
path = "tests/proxy_e2e.rs"
[[test]]
name = "relay_http_poll_tests"
path = "tests/relay_http_poll_tests.rs"
[[test]]
name = "serve_multiplex_tests"
path = "tests/serve_multiplex_tests.rs"
[[test]]
name = "tunnel_tests"
path = "tests/tunnel_tests.rs"
[dependencies.aes-gcm]
version = "0.10"
[dependencies.axum]
version = "0.7"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false
[dependencies.ciborium]
version = "0.2"
optional = true
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.12"
[dependencies.hmac]
version = "0.12"
[dependencies.igd-next]
version = "0.17"
features = ["aio_tokio"]
optional = true
default-features = false
[dependencies.prometheus]
version = "0.13"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.socket2]
version = "0.5"
features = ["all"]
[dependencies.subtle]
version = "2"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"net",
"io-util",
"signal",
"process",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.hmac]
version = "0.12"
[dev-dependencies.mockito]
version = "1.0"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"