cots 0.2.0

Cots.ai SDK for Rust. cots::agents::AgentClient — configure once with tenant_id/agent_id, then guard() every governed action through the PEP/PDP before executing it.
Documentation
[package]
name = "cots"
version = "0.2.0"
edition = "2021"
description = "Cots.ai SDK for Rust. cots::agents::AgentClient — configure once with tenant_id/agent_id, then guard() every governed action through the PEP/PDP before executing it."
license = "MIT"
repository = "https://github.com/srotas-space/cots-sdk-crates"
homepage = "https://open-source.srotas.space/cots"
documentation = "https://docs.rs/cots"
readme = "README.md"
authors = ["Cots.ai <snmmaurya@zohomail.in>"]
keywords = ["cots", "agent", "policy", "audit", "firewall"]
categories = ["api-bindings", "authentication"]

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

[dependencies]
reqwest = { version = "0.12", features = ["json", "cookies"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["time"] }
thiserror = "1"

# Dev-only: proves this crate is framework-agnostic by running inside both an
# actix-web and an axum server (see examples/). Neither is a real dependency
# of the library itself — it's just reqwest + tokio underneath.
[dev-dependencies]
actix-web = "4"
axum = "0.7"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }