[package]
edition = "2021"
rust-version = "1.80"
name = "iicp-client"
version = "0.7.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust client SDK for the IICP protocol (ADR-016)"
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]
iicp-tcp = ["dep:ciborium"]
metrics = ["dep:prometheus"]
nat = ["dep:igd-next"]
[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 = "e2e_local"
path = "tests/e2e_local.rs"
[[test]]
name = "iicp_tcp_tests"
path = "tests/iicp_tcp_tests.rs"
[[test]]
name = "nat_detection_tests"
path = "tests/nat_detection_tests.rs"
[[test]]
name = "node_tests"
path = "tests/node_tests.rs"
[[test]]
name = "pricing_tests"
path = "tests/pricing_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.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.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"