claudius 0.26.0

SDK for the Anthropic API
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 = "2024"
name = "claudius"
version = "0.26.0"
authors = ["Robert Escriva <robert@rescrv.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for the Anthropic API"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/rescrv/claudius"

[features]
binaries = []
default = [
    "binaries",
    "native-tls",
]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls"]

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

[[bin]]
name = "claudius-chat"
path = "src/bin/claudius-chat.rs"
required-features = ["binaries"]

[[bin]]
name = "claudius-prompt"
path = "src/bin/claudius-prompt.rs"
required-features = ["binaries"]

[[bin]]
name = "median-text"
path = "src/bin/median-text.rs"
required-features = ["binaries"]

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

[[example]]
name = "agent-streaming"
path = "examples/agent-streaming.rs"

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

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

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

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

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

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

[[example]]
name = "streaming-tool-use"
path = "examples/streaming-tool-use.rs"

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

[dependencies.arrrg]
version = "^0.9"

[dependencies.arrrg_derive]
version = "^0.9"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.biometrics]
version = "^0.13"

[dependencies.bytes]
version = "1.11"

[dependencies.ctrlc]
version = "3.5"
features = ["termination"]

[dependencies.futures]
version = "0.3"

[dependencies.getopts]
version = "0.2"

[dependencies.libc]
version = "0.2"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "stream",
]
default-features = false

[dependencies.rustyline]
version = "17.0"

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.serde_yaml]
version = "0.9"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "macros",
    "formatting",
    "parsing",
]

[dependencies.tokio]
version = "^1.49"
features = ["full"]

[dependencies.tokio-util]
version = "^0.7"
features = ["codec"]

[dependencies.url]
version = "2.5"

[dependencies.utf8path]
version = "^0.10"

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

[dev-dependencies.tokio-test]
version = "0.4.5"