Fix #588 race cond updating .crates.toml (#645)

Fixed #588

* Add new dep fs-lock v0.1.0 to crates/bin
* Refactor: Impl new type `Manifests` in crates/bin
   for managing manifests.
* Fix #588 race cond updating `.crates.toml`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-01-04 12:01:02 +11:00 committed by GitHub
parent d4da4680f6
commit 49f60d37fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 117 additions and 76 deletions

View file

@ -27,6 +27,7 @@ binstalk-manifests = { path = "../binstalk-manifests", version = "0.1.1" }
clap = { version = "4.0.32", features = ["derive"] }
crates_io_api = { version = "0.8.1", default-features = false }
dirs = "4.0.0"
fs-lock = { version = "0.1.0", path = "../fs-lock" }
log = { version = "0.4.17", features = ["std"] }
miette = "5.5.0"
mimalloc = { version = "0.1.32", default-features = false, optional = true }