#cargo-registry #index #local #cache #remote #indices #sparse

tame-index

Provides access to local and remote cargo registry indices

44 releases (16 breaking)

0.16.0 Nov 28, 2024
0.14.0 Sep 20, 2024
0.13.0 Jul 25, 2024
0.10.0 Mar 21, 2024
0.2.4 Jul 28, 2023

#19 in Caching

Download history 20253/week @ 2024-08-21 18960/week @ 2024-08-28 21355/week @ 2024-09-04 20099/week @ 2024-09-11 23603/week @ 2024-09-18 24565/week @ 2024-09-25 23491/week @ 2024-10-02 26732/week @ 2024-10-09 27458/week @ 2024-10-16 25207/week @ 2024-10-23 27455/week @ 2024-10-30 25751/week @ 2024-11-06 27783/week @ 2024-11-13 26758/week @ 2024-11-20 28192/week @ 2024-11-27 29763/week @ 2024-12-04

117,378 downloads per month
Used in 18 crates (10 directly)

Apache-2.0 OR MIT

190KB
3.5K SLoC

📇 tame-index

Small crate for interacting with cargo registry indices

Embark Embark Crates.io Docs dependency status Build status

Differences from crates-index

  1. The API exposes enough pieces where an alternative git implementation can be used if gix is not to your liking.
  2. Sparse index support via reqwest is optional, gated behind the sparse feature flag.
  3. Local cache files are always supported regardless of features enabled
  4. ComboIndexCache (local cache files only) and ComboIndex (cache + remote capabilities) are provided to wrap git indices, sparse indices, or local registries depending on the the index URL.
  5. Functionality for writing cache entries to the local index cache is exposed in the public API
  6. Local Registry support is available behind the local feature flag
  7. Building of local registries is available behind the local-builder feature flag
  8. File-based locking compatible with Cargo is available to ensure tame-index and Cargo can play nicely together.

Contributing

Contributor Covenant

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started. Please also read our Contributor Terms before you make any contributions.

Any contribution intentionally submitted for inclusion in an Embark Studios project, shall comply with the Rust standard licensing model (MIT OR Apache 2.0) and therefore be dual licensed as described below, without any additional terms or conditions:

License

This contribution is dual licensed under EITHER OF

at your option.

For clarity, "your" refers to Embark or any other licensee/user of the contribution.

Dependencies

~5–23MB
~380K SLoC