Skip to main content

Module client

Module client 

Source
Expand description

Async Thunderstore API client and package-index cache. Async Thunderstore API client and package-index cache.

ThunderstoreClient fetches a community’s package index (/c/<community>/api/v1/package/) and caches it on disk compressed with zstd + bincode, keyed by a Last-Modified freshness check. It also downloads package archives with bounded concurrency. All progress is reported through crate::progress so the crate stays UI-agnostic.

API reference: https://thunderstore.io/api/docs/

Structs§

ThunderstoreClient
An async client for a single Thunderstore community.
ThunderstoreClientBuilder
Builder for ThunderstoreClient.