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

1
Cargo.lock generated
View file

@ -353,6 +353,7 @@ dependencies = [
"crates_io_api",
"dirs",
"embed-resource",
"fs-lock",
"log",
"miette",
"mimalloc",