mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-04 03:00:03 +00:00
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:
parent
c57356e870
commit
8ff13c1b36
19 changed files with 290 additions and 47 deletions
|
@ -1,4 +1,3 @@
|
|||
pub(crate) mod cargo_toml_workspace;
|
||||
pub(crate) mod futures_resolver;
|
||||
pub mod jobserver_client;
|
||||
pub mod remote;
|
||||
|
@ -11,6 +10,7 @@ pub(crate) use binstalk_downloader::{bytes, download};
|
|||
|
||||
#[cfg(feature = "git")]
|
||||
pub(crate) use binstalk_downloader::git;
|
||||
pub(crate) use cargo_toml_workspace::{self, cargo_toml};
|
||||
|
||||
pub(crate) fn is_universal_macos(target: &str) -> bool {
|
||||
["universal-apple-darwin", "universal2-apple-darwin"].contains(&target)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue