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

tame-index

Provides access to local and remote cargo registry indices

34 releases (11 breaking)

new 0.11.0 Apr 23, 2024
0.10.0 Mar 21, 2024
0.9.9 Mar 21, 2024
0.9.0 Dec 13, 2023
0.2.4 Jul 28, 2023

#110 in Web programming

Download history 14397/week @ 2024-01-03 15980/week @ 2024-01-10 18637/week @ 2024-01-17 18380/week @ 2024-01-24 18937/week @ 2024-01-31 18551/week @ 2024-02-07 19738/week @ 2024-02-14 19464/week @ 2024-02-21 19682/week @ 2024-02-28 19511/week @ 2024-03-06 19001/week @ 2024-03-13 23313/week @ 2024-03-20 15030/week @ 2024-03-27 17620/week @ 2024-04-03 17278/week @ 2024-04-10 13675/week @ 2024-04-17

67,202 downloads per month
Used in 15 crates (9 directly)

Apache-2.0 OR MIT

180KB
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–22MB
~345K SLoC