mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
binstalk-fetchers: Add feature quickinstall (#1315)
Also fixed `package.metadata.docs.rs` for `binstalk-registry`. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
cb9cb0e937
commit
6cc22b2c51
6 changed files with 15 additions and 2 deletions
|
@ -7,7 +7,7 @@ use binstalk_downloader::gh_api_client::{GhReleaseArtifact, HasReleaseArtifact};
|
|||
pub(super) use binstalk_downloader::{
|
||||
download::{Download, ExtractedFiles},
|
||||
gh_api_client::GhApiClient,
|
||||
remote::{Client, Method, Url},
|
||||
remote::{Client, Url},
|
||||
};
|
||||
pub(super) use binstalk_types::cargo_toml_binstall::{PkgFmt, PkgMeta};
|
||||
pub(super) use compact_str::CompactString;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
|
||||
use std::{path::Path, sync::Arc};
|
||||
|
||||
use binstalk_downloader::{
|
||||
|
@ -10,7 +12,9 @@ pub use url::ParseError as UrlParseError;
|
|||
mod gh_crate_meta;
|
||||
pub use gh_crate_meta::*;
|
||||
|
||||
#[cfg(feature = "quickinstall")]
|
||||
mod quickinstall;
|
||||
#[cfg(feature = "quickinstall")]
|
||||
pub use quickinstall::*;
|
||||
|
||||
mod common;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
use std::{path::Path, sync::Arc};
|
||||
|
||||
use binstalk_downloader::remote::Method;
|
||||
use binstalk_types::cargo_toml_binstall::{PkgFmt, PkgMeta};
|
||||
use tokio::sync::OnceCell;
|
||||
use url::Url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue