[package]
edition = "2021"
rust-version = "1.88"
name = "arcp-client"
version = "2.0.0"
authors = ["Nick Ficano <nficano@gmail.com>"]
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference client (consumer side) for the Agent Runtime Control Protocol (ARCP) — ARCPClient, type-state Session, job and stream handles."
homepage = "https://github.com/agentruntimecontrolprotocol/rust-sdk"
documentation = "https://docs.rs/arcp-client"
readme = "README.md"
keywords = [
"arcp",
"agent",
"protocol",
"client",
"rfc",
]
categories = [
"network-programming",
"asynchronous",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agentruntimecontrolprotocol/rust-sdk"
[features]
default = [
"transport-ws",
"transport-stdio",
]
transport-stdio = ["arcp-core/transport-stdio"]
transport-ws = ["arcp-core/transport-ws"]
[lib]
name = "arcp_client"
path = "src/lib.rs"
[dependencies.arcp-core]
version = "2.0.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.dashmap]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"sync",
"time",
"io-util",
"io-std",
"fs",
"process",
"signal",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.ulid]
version = "1"
features = ["serde"]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"sync",
"time",
"io-util",
"io-std",
"fs",
"process",
"signal",
"test-util",
]
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
expect_used = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "deny"