agent-client-protocol 0.9.4

A protocol for standardizing communication between code editors and AI coding agents
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"
name = "agent-client-protocol"
version = "0.9.4"
authors = ["Zed <hi@zed.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A protocol for standardizing communication between code editors and AI coding agents"
homepage = "https://github.com/agentclientprotocol/rust-sdk"
documentation = "https://docs.rs/agent-client-protocol"
readme = "README.md"
keywords = [
    "agent",
    "client",
    "protocol",
    "ai",
    "editor",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/agentclientprotocol/rust-sdk"

[features]
unstable = [
    "unstable_cancel_request",
    "unstable_session_fork",
    "unstable_session_info_update",
    "unstable_session_list",
    "unstable_session_model",
    "unstable_session_resume",
    "unstable_session_usage",
]
unstable_cancel_request = ["agent-client-protocol-schema/unstable_cancel_request"]
unstable_session_fork = ["agent-client-protocol-schema/unstable_session_fork"]
unstable_session_info_update = ["agent-client-protocol-schema/unstable_session_info_update"]
unstable_session_list = ["agent-client-protocol-schema/unstable_session_list"]
unstable_session_model = ["agent-client-protocol-schema/unstable_session_model"]
unstable_session_resume = ["agent-client-protocol-schema/unstable_session_resume"]
unstable_session_usage = ["agent-client-protocol-schema/unstable_session_usage"]

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

[dependencies.agent-client-protocol-schema]
version = "=0.10.8"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-broadcast]
version = "0.7"

[dependencies.async-trait]
version = "0.1"

[dependencies.derive_more]
version = "2"
features = ["from"]

[dependencies.futures]
version = "0.3.31"

[dependencies.log]
version = "0.4"

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

[dependencies.serde_json]
version = "1"
features = ["raw_value"]

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.futures-util]
version = "0.3"
features = ["io"]

[dev-dependencies.piper]
version = "0.2"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.rustyline]
version = "17"

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

[dev-dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
let-underscore = "warn"
missing_debug_implementations = "warn"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unused]
level = "warn"
priority = -1