mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00

`binstalk-downloader` contains stuff about http(s) before the git code is moved into it and now it becomes http and git. While git indeed uses http stuff, which is why I decided to put it into binstalk-downloader, it is more than just downloading since it is stateful (can be cached locally and updated) where as http is stateless. Also `binstalk-downloader`'s codegen time now increases dramatically and it also creates extra dependencies for binstalk-fetchers, delaying its execution. The git code also don't use anything from `binstalk-downloader` at all, it makes sense to be an independent crate. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
15 lines
277 B
Rust
15 lines
277 B
Rust
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
|
|
|
pub use bytes;
|
|
|
|
pub mod download;
|
|
|
|
/// Github API client.
|
|
/// Currently only support github.com and does not support other enterprise
|
|
/// github.
|
|
#[cfg(feature = "gh-api-client")]
|
|
pub mod gh_api_client;
|
|
|
|
pub mod remote;
|
|
|
|
mod utils;
|