mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 20:50:03 +00:00

To reduce `binstalk` codegen and enable better reuse. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
15 lines
437 B
Rust
15 lines
437 B
Rust
pub mod jobserver_client;
|
|
pub mod remote;
|
|
pub(crate) mod target_triple;
|
|
pub mod tasks;
|
|
|
|
pub(crate) use binstalk_downloader::download;
|
|
pub use binstalk_downloader::gh_api_client;
|
|
|
|
#[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)
|
|
}
|