tapes-client 0.2.0

One client for the whole tapes read surface: the sealed contract and a deployment's discovered cassettes, driven through a single pluggable transport.
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.85"
name = "tapes-client"
version = "0.2.0"
authors = ["Paper Compute"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One client for the whole tapes read surface: the sealed contract and a deployment's discovered cassettes, driven through a single pluggable transport."
homepage = "https://tapes.dev"
readme = "README.md"
keywords = [
    "tapes",
    "client",
    "openapi",
    "observability",
    "api",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/papercomputeco/tapes-crates"

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

[features]
cli = ["dep:clap"]
default = [
    "cli",
    "direct-http",
]
direct-http = [
    "dep:http",
    "dep:reqwest",
]

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

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

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

[dependencies.clap]
version = "4"
features = ["string"]
optional = true

[dependencies.dirs]
version = "5"

[dependencies.http]
version = "1"
optional = true

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.snafu]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.clap]
version = "4"
features = [
    "env",
    "string",
]

[dev-dependencies.tempfile]
version = "3"

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

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

[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"