cargo-binstall/crates/bin
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
build.rs Fix crates/bin/build.rs: Rerun build.rs if manifest.rc and windows.manifest changed (#575) 2022-11-29 18:31:59 +13:00
Cargo.toml Bump clap from 4.0.27 to 4.0.29 (#577) 2022-11-30 01:35:11 +00:00
LICENSE Split crates and clean up structure of codebase (#294) 2022-08-20 11:24:12 +00:00
manifest.rc Split crates and clean up structure of codebase (#294) 2022-08-20 11:24:12 +00:00
release.toml Fix release PR template (#336) 2022-09-04 15:19:17 +00:00
windows.manifest release: cargo-binstall v0.17.0 (#562) 2022-11-23 01:18:44 +11:00