# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.80"
name = "iicp-client"
version = "0.5.7"
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 = "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.axum]
version = "0.7"

[dependencies.ciborium]
version = "0.2"
optional = true

[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.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"]

[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"
