cargo-binstall/crates/binstalk-manifests
Jiahao XU 39f175be04
Feature: Check for installed crates in cargo_install_v1_manifest (#582)
* Add & Impl new fn `CratesToml::collect_into_crates_versions`
   to iterate over crates listed in cargo_crates_v1, accessing their names
   and versions.
* Re-export `CompactString`, `Version` & `Url` in binstalk-manifests
   for convenience
* Fix `CratesToml::load_from_path`: Wrap `File` in `FileLock::new_shared`
   to avoid concurrent write while reading the file.
* Filter out installed crates in cargo_install_v1_metadata
* Make match in `filter_out_installed_crates` more explicit
* Add new test `cargo_crates_v1::test::test_loading`
* Optimize `CratesToml`: Use `Vec` instead of `BTreeMap`
  since we cannot simply call `BTreeMap::get` to find an entry for a crate
  anyway.
  This also accidentally fixed the CI.
* Impl new API `CratesToml::remove`
* Fix`CratesToml::append_to_path` by removing previous records of
   the crates that are just updated.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-12-03 15:25:41 +00:00
..
src Feature: Check for installed crates in cargo_install_v1_manifest (#582) 2022-12-03 15:25:41 +00:00
Cargo.toml Bump serde from 1.0.147 to 1.0.148 (#572) 2022-11-29 13:39:33 +11:00
LICENSE-APACHE Switch binstalk-manifests LICENSE to "Apache-2.0 OR MIT" (#513) 2022-11-15 22:51:11 +00:00
LICENSE-MIT Switch binstalk-manifests LICENSE to "Apache-2.0 OR MIT" (#513) 2022-11-15 22:51:11 +00:00