mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-04 03:00:03 +00:00
Use Quickinstall new release schema (#867)
- Refactor: Extract new fn `binstalk::helpers::remote::does_url_exist` - Use new quickinstall release schema in `binstalk::fetchers::QuickInstall` - Optimize `fetchers::QuickInstall`: Generate url once in `Fetcher::new` Avoid repeated string allocation plus `Url` parsing. This also makes changing package_url and stats_url easier. - Optimize `QuickInstall::report`: Use HEAD instead of GET Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
01c8ecb778
commit
72789874f0
5 changed files with 72 additions and 53 deletions
|
@ -1,6 +1,7 @@
|
|||
pub mod futures_resolver;
|
||||
pub mod jobserver_client;
|
||||
pub mod remote;
|
||||
pub mod signal;
|
||||
pub mod tasks;
|
||||
|
||||
pub use binstalk_downloader::{download, gh_api_client, remote};
|
||||
pub use binstalk_downloader::{download, gh_api_client};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue