[package]
edition = "2021"
rust-version = "1.88"
name = "cleanlib-client"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client SDK for the CleanLibrary verdict API — VerdictEnvelopeV1 types, derive_status logic, transport, config, and risk-acceptance YAML emitter shared between cleanlib-cli and other CleanLibrary consumers."
homepage = "https://cleanlibrary.clnstrt.dev"
readme = false
keywords = [
"security",
"dependencies",
"verdicts",
"supply-chain",
"sdk",
]
categories = [
"api-bindings",
"development-tools",
]
license = "LicenseRef-Proprietary"
repository = "https://cleanlibrary.clnstrt.dev"
[lib]
name = "cleanlib_client"
path = "src/lib.rs"
[[test]]
name = "cleanlib493_monotonic_floor"
path = "tests/cleanlib493_monotonic_floor.rs"
[[test]]
name = "cleanlib518_s2_null_label"
path = "tests/cleanlib518_s2_null_label.rs"
[[test]]
name = "cleanlib518_s4_passthrough"
path = "tests/cleanlib518_s4_passthrough.rs"
[[test]]
name = "cleanlib543_source_state_canonical"
path = "tests/cleanlib543_source_state_canonical.rs"
[[test]]
name = "cleanlib546_golden_contract"
path = "tests/cleanlib546_golden_contract.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "customer_state_contract"
path = "tests/customer_state_contract.rs"
[[test]]
name = "verdict_to_envelope_contract"
path = "tests/verdict_to_envelope_contract.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dirs]
version = "5"
[dependencies.ecdsa]
version = "0.16"
features = [
"signing",
"verifying",
]
[dependencies.futures-util]
version = "0.3"
[dependencies.p256]
version = "0.13"
features = [
"ecdsa",
"pem",
]
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_jcs]
version = "0.1"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.signature]
version = "2"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.40"
features = [
"macros",
"rt-multi-thread",
"signal",
"net",
"io-util",
"fs",
"sync",
]
[dependencies.toml]
version = "0.9"