libtea-client 0.2.0

Independent async Rust client for the CycloneDX Transparency Exchange 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 = "2021"
rust-version = "1.89"
name = "libtea-client"
version = "0.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Independent async Rust client for the CycloneDX Transparency Exchange API."
homepage = "https://github.com/Mehrn0ush/libtea-rs"
documentation = "https://docs.rs/libtea-client"
readme = "README.md"
keywords = [
    "cyclonedx",
    "sbom",
    "tei",
    "transparency",
    "bom",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/Mehrn0ush/libtea-rs"
resolver = "3"

[package.metadata.docs.rs]
all-features = true

[features]
signature-keys = ["dep:ring"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.23"

[dependencies.bytes]
version = "1"

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dependencies.futures-util]
version = "0.3"

[dependencies.libtea-core]
version = "0.2.0"

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

[dependencies.ring]
version = "0.17"
features = ["alloc"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

[dev-dependencies.sha2]
version = "0.11"

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

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