[package]
edition = "2021"
rust-version = "1.88"
name = "arcp-runtime"
version = "2.0.0"
authors = ["Nick Ficano <nficano@gmail.com>"]
build = false
include = [
"src/**/*.rs",
"src/store/schema.sql",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference runtime (server side) for the Agent Runtime Control Protocol (ARCP) — ARCPRuntime, job / session machinery, persistent store, auth validators, and the `arcp` CLI."
homepage = "https://github.com/agentruntimecontrolprotocol/rust-sdk"
documentation = "https://docs.rs/arcp-runtime"
readme = "README.md"
keywords = [
"arcp",
"agent",
"protocol",
"runtime",
"server",
]
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",
"dep:tokio-tungstenite",
]
[lib]
name = "arcp_runtime"
path = "src/lib.rs"
[[bin]]
name = "arcp"
path = "src/bin/arcp.rs"
[dependencies.arcp-core]
version = "2.0.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dashmap]
version = "6"
[dependencies.futures]
version = "0.3"
[dependencies.jsonwebtoken]
version = "10"
features = ["rust_crypto"]
[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]
[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.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.ulid]
version = "1"
features = ["serde"]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[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"