mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
Introduce a BaseClient for construction of canonical configured client (#2431)
In preparation for support of https://github.com/astral-sh/uv/issues/2357 (see https://github.com/astral-sh/uv/pull/2434)
This commit is contained in:
parent
8463d6d672
commit
9c27f92203
9 changed files with 240 additions and 115 deletions
|
|
@ -1,3 +1,4 @@
|
|||
pub use base_client::BaseClient;
|
||||
pub use cached_client::{CacheControl, CachedClient, CachedClientError, DataWithCachePolicy};
|
||||
pub use error::{BetterReqwestError, Error, ErrorKind};
|
||||
pub use flat_index::{FlatDistributions, FlatIndex, FlatIndexClient, FlatIndexError};
|
||||
|
|
@ -7,6 +8,7 @@ pub use registry_client::{
|
|||
};
|
||||
pub use rkyvutil::OwnedArchive;
|
||||
|
||||
mod base_client;
|
||||
mod cached_client;
|
||||
mod error;
|
||||
mod flat_index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue