runcycles 0.2.3

Rust client for the Cycles budget-management protocol — deterministic spend control for AI agents and LLM workflows
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"
rust-version = "1.88"
name = "runcycles"
version = "0.2.3"
build = false
exclude = [
    ".github/",
    "CLAUDE.md",
    "AUDIT.md",
    "tests/live_server_test.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Cycles budget-management protocol — deterministic spend control for AI agents and LLM workflows"
homepage = "https://runcycles.io"
documentation = "https://docs.rs/runcycles"
readme = "README.md"
keywords = [
    "cycles",
    "budget",
    "llm",
    "ai-agents",
    "cost-control",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "Apache-2.0"
repository = "https://github.com/runcycles/cycles-client-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
blocking = ["tokio/rt"]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]

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

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

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

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

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

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

[[test]]
name = "client_test"
path = "tests/client_test.rs"

[[test]]
name = "config_test"
path = "tests/config_test.rs"

[[test]]
name = "error_test"
path = "tests/error_test.rs"

[[test]]
name = "guard_test"
path = "tests/guard_test.rs"

[[test]]
name = "lifecycle_test"
path = "tests/lifecycle_test.rs"

[[test]]
name = "models_test"
path = "tests/models_test.rs"

[[test]]
name = "response_test"
path = "tests/response_test.rs"

[[test]]
name = "retry_test"
path = "tests/retry_test.rs"

[dependencies.bon]
version = "3"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "sync",
    "macros",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.wiremock]
version = "0.6"