cargo-binstall/crates/binstalk/src/helpers.rs
Jiahao XU 2d980e454b Fixed compilation of cargo-binstall
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-13 23:38:12 +10:00

15 lines
440 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::{cacher, gh_api_client};
pub(crate) use cargo_toml_workspace::{self, cargo_toml};
#[cfg(feature = "git")]
pub(crate) use simple_git as git;
pub(crate) fn is_universal_macos(target: &str) -> bool {
["universal-apple-darwin", "universal2-apple-darwin"].contains(&target)
}