# 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.78"
name = "ctxd-client"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for the ctxd context substrate daemon."
readme = "README.md"
keywords = [
    "ctxd",
    "context",
    "agents",
    "mcp",
    "sdk",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/keeprlabs/ctxd"

[lib]
name = "ctxd_client"
path = "src/lib.rs"

[[test]]
name = "conformance"
path = "tests/conformance.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.ctxd-core]
version = "0.4.0"

[dependencies.ctxd-wire]
version = "0.4.0"

[dependencies.ed25519-dalek]
version = "2"

[dependencies.hex]
version = "0.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "stream",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "rt",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.portpicker]
version = "0.1"

[dev-dependencies.rmp-serde]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
