cleanlib-client 0.1.2

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.
Documentation
// CleanLibrary shared client library — HTTP / auth / telemetry surface
// shared between Rust CLI (cleanlib-cli) and any other Rust consumers.
// Telemetry transport impl lands in subsequent CLEANLIB-N PRs per Client
// spec rev1 §7.

pub mod config;
pub mod derive_status;
pub mod envelope;
pub mod errors;
pub mod proxy;
pub mod risk_acceptance;
pub mod transport;
pub mod types;

// Re-exports — load-bearing surface for sibling-crate consumers (cleanlib-cli,
// cleanlib-app integration tests) so they import via `cleanlib_client::*`
// without reaching into module paths.
pub use derive_status::{derive_status, DerivedStatus};
pub use envelope::{ReasonCode, Status, VerdictEnvelopeV1, ALL_REASON_CODES};

// CLEANLIB-126 M1″ — extern-consumer surface re-exports (cycle-13).
// Per cycle-13 R5-Lane-2 F2: third-party consumers importing
// `cleanlib_client::{Client, Verdict, PolicyDecision}` previously hit
// `error[E0432]: unresolved imports` because the types lived behind
// module paths. Re-export at crate-root so the public API matches the
// documented surface (cf. docs-site SDK-Rust.md customer page).
pub use transport::Client;
pub use types::{PolicyDecision, Verdict};