[package]
edition = "2021"
rust-version = "1.88"
name = "arcp-core"
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 = "Shared protocol primitives for the Agent Runtime Control Protocol (ARCP) — envelopes, messages, errors, IDs, transports, and the authenticator trait."
homepage = "https://github.com/agentruntimecontrolprotocol/rust-sdk"
documentation = "https://docs.rs/arcp-core"
readme = "README.md"
keywords = [
"arcp",
"agent",
"protocol",
"runtime",
"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 = []
transport-ws = ["dep:tokio-tungstenite"]
[lib]
name = "arcp_core"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[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-tungstenite]
version = "0.29"
optional = true
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.ulid]
version = "1"
features = ["serde"]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.insta]
version = "1"
features = ["json"]
[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"