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

tame-index

Provides access to local and remote cargo registry indices

42 releases (14 breaking)

0.14.0 Sep 20, 2024
0.13.0 Jul 25, 2024
0.10.0 Mar 21, 2024
0.9.0 Dec 13, 2023
0.2.4 Jul 28, 2023

#19 in Caching

Download history 15472/week @ 2024-07-09 17277/week @ 2024-07-16 22081/week @ 2024-07-23 20572/week @ 2024-07-30 20492/week @ 2024-08-06 21115/week @ 2024-08-13 21015/week @ 2024-08-20 18789/week @ 2024-08-27 21551/week @ 2024-09-03 19325/week @ 2024-09-10 23106/week @ 2024-09-17 24718/week @ 2024-09-24 23604/week @ 2024-10-01 26002/week @ 2024-10-08 27726/week @ 2024-10-15 25633/week @ 2024-10-22

107,385 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

~4–23MB
~375K SLoC