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
# 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 = "2021"
name = "cots"
version = "0.2.0"
authors = ["Cots.ai <snmmaurya@zohomail.in>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
homepage = "https://open-source.srotas.space/cots"
documentation = "https://docs.rs/cots"
readme = "README.md"
keywords = [
    "cots",
    "agent",
    "policy",
    "audit",
    "firewall",
]
categories = [
    "api-bindings",
    "authentication",
]
license = "MIT"
repository = "https://github.com/srotas-space/cots-sdk-crates"

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

[[example]]
name = "with_actix"
path = "examples/with_actix.rs"

[[example]]
name = "with_axum"
path = "examples/with_axum.rs"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "cookies",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["time"]

[dev-dependencies.actix-web]
version = "4"

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]