# 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 = "mixtape-anthropic-sdk"
version = "0.3.1"
build = false
exclude = [
    ".cargo-husky/",
    ".claude/",
    ".github/",
    ".idea/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal Anthropic API client for the mixtape agent framework"
homepage = "https://github.com/adlio/mixtape"
documentation = "https://docs.rs/mixtape-anthropic-sdk"
readme = "README.md"
keywords = [
    "anthropic",
    "claude",
    "llm",
    "ai",
    "api",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/adlio/mixtape"

[features]
default = []
schemars = ["dep:schemars"]

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.futures]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "stream",
]
default-features = false

[dependencies.reqwest-eventsource]
version = "0.6"

[dependencies.schemars]
version = "0.8"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

[dev-dependencies.eventsource-stream]
version = "0.2"

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

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