cacp 0.0.1

A compact implementation of the Agent Client Protocol
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "cacp"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compact implementation of the Agent Client Protocol"
readme = false
license = "Apache-2.0"
repository = "https://github.com/crabtalk/cacp"

[features]
client = ["tokio/process"]
default = [
    "client",
    "server",
]
server = ["tokio/io-std"]

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

[[example]]
name = "agent"
path = "examples/agent.rs"

[[example]]
name = "client"
path = "examples/client.rs"

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

[dependencies.proto]
version = "0.0.1"
package = "cacp-proto"

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

[dependencies.serde_json]
version = "1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "process",
    "time",
]
default-features = false