Refactor: Extract cargo_toml_workspace as a new crate (#1287)

To reduce codegen time of `binstalk` and also enable others to reuse
this crate.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-08-12 22:05:10 +10:00 committed by GitHub
parent c57356e870
commit 8ff13c1b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 290 additions and 47 deletions

17
Cargo.lock generated
View file

@ -238,12 +238,11 @@ dependencies = [
"base16",
"binstalk-downloader",
"binstalk-types",
"cargo_toml",
"cargo-toml-workspace",
"command-group",
"compact_str",
"detect-targets",
"either",
"glob",
"home",
"itertools",
"jobslot",
@ -488,6 +487,20 @@ dependencies = [
"vergen",
]
[[package]]
name = "cargo-toml-workspace"
version = "0.0.0"
dependencies = [
"binstalk-types",
"cargo_toml",
"compact_str",
"glob",
"normalize-path",
"tempfile",
"thiserror",
"tracing",
]
[[package]]
name = "cargo_toml"
version = "0.15.3"