Repository navigation
Using the Libraries
Mehrn0ush edited this page Nov 22, 2026
·
1 revision
| Crate | Role |
|---|---|
libtea-core |
TEI, version negotiation, models, checksums, destination rules, lock files, PURL, vers, CLE. No network code. |
libtea-client |
Async client (tokio, reqwest, rustls). Re-exports libtea-core as libtea_client::core. |
[dependencies]
libtea-client = "0.2.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }- API documentation: docs.rs/libtea-client and docs.rs/libtea-core.
- A complete example that resolves a TEI, downloads a format and checks it is in the README; it is compiled as a doctest.
- Feature
signature-keysaddsKeyVerifier: raw detached signatures over the artifact bytes, under Ed25519 or ECDSA P-256 public keys (viaring). - Minimum supported Rust version: 1.89.
- SemVer is checked by
cargo semver-checksin CI. Items marked Experimental (HTTP cache, lock file, signature verification and format detection,purl,vers,lifecycle,pep440) can change in a 0.x minor release.
Design and internals: architecture.md, auth.md, security.md.
This wiki is a guide. The repository docs are versioned with the code and are authoritative. libtea-rs is independent and not affiliated with CycloneDX or Ecma.