mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Refactor: Extract new crate binstalk-registry
(#1289)
To speedup codegen of `binstalk` and enable it to be reused. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6c801a97ae
commit
623f7ff4ed
20 changed files with 373 additions and 127 deletions
|
@ -37,6 +37,7 @@ const MAX_RETRY_DURATION: Duration = Duration::from_secs(120);
|
|||
const MAX_RETRY_COUNT: u8 = 3;
|
||||
const DEFAULT_RETRY_DURATION_FOR_RATE_LIMIT: Duration = Duration::from_millis(200);
|
||||
const RETRY_DURATION_FOR_TIMEOUT: Duration = Duration::from_millis(200);
|
||||
#[allow(dead_code)]
|
||||
const DEFAULT_MIN_TLS: TLSVersion = TLSVersion::TLS_1_2;
|
||||
|
||||
#[derive(Debug, ThisError)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue