claude-api-test 0.5.1

Test utilities for claude-api: cassette-based replay of recorded HTTP exchanges
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"
rust-version = "1.90"
name = "claude-api-test"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Test utilities for claude-api: cassette-based replay of recorded HTTP exchanges"
documentation = "https://docs.rs/claude-api-test"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/claude-api"
resolver = "2"

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

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.http]
version = "1.1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "rt",
    "net",
    "macros",
    "sync",
    "io-util",
]

[dependencies.wiremock]
version = "0.6"

[dev-dependencies.claude-api]
version = "0.5.1"
features = [
    "async",
    "rustls",
    "streaming",
    "skills",
    "user-profiles",
    "managed-agents-preview",
    "admin",
]
default-features = false

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

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

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"