cargo-binstall/crates/binstalk/src/helpers.rs
Jiahao XU 7bd8468c35
Refactor: Move HasReleaseArtifacts failure variants into GhApiError
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-09 23:25:22 +10:00

18 lines
525 B
Rust

pub mod jobserver_client;
pub mod remote {
pub use binstalk_downloader::remote::*;
pub use url::ParseError as UrlParseError;
}
pub(crate) mod target_triple;
pub mod tasks;
pub(crate) use binstalk_downloader::download;
pub use binstalk_git_repo_api::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)
}