From ff073090632402fbf897789de843034eb7589c12 Mon Sep 17 00:00:00 2001 From: konstin Date: Fri, 25 Jul 2025 21:05:49 +0200 Subject: [PATCH] . --- crates/uv-client/src/registry_client.rs | 21 +++++++++++---------- crates/uv-dispatch/Cargo.toml | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/crates/uv-client/src/registry_client.rs b/crates/uv-client/src/registry_client.rs index b133b3ed7..0f816194d 100644 --- a/crates/uv-client/src/registry_client.rs +++ b/crates/uv-client/src/registry_client.rs @@ -15,16 +15,6 @@ use tokio::sync::{Mutex, Semaphore}; use tracing::{Instrument, debug, info_span, instrument, trace, warn}; use url::Url; -use crate::base_client::{BaseClientBuilder, ExtraMiddleware, RedirectPolicy}; -use crate::cached_client::CacheControl; -use crate::flat_index::FlatIndexEntry; -use crate::html::SimpleHtml; -use crate::remote_metadata::wheel_metadata_from_remote_zip; -use crate::rkyvutil::OwnedArchive; -use crate::{ - BaseClient, CachedClient, Error, ErrorKind, FlatIndexClient, FlatIndexEntries, - RedirectClientWithMiddleware, -}; use uv_auth::Indexes; use uv_cache::{Cache, CacheBucket, CacheEntry, WheelCache}; use uv_configuration::KeyringProviderType; @@ -46,6 +36,17 @@ use uv_small_str::SmallString; use uv_torch::TorchStrategy; use uv_variants::variants_json::VariantsJsonContent; +use crate::base_client::{BaseClientBuilder, ExtraMiddleware, RedirectPolicy}; +use crate::cached_client::CacheControl; +use crate::flat_index::FlatIndexEntry; +use crate::html::SimpleHtml; +use crate::remote_metadata::wheel_metadata_from_remote_zip; +use crate::rkyvutil::OwnedArchive; +use crate::{ + BaseClient, CachedClient, Error, ErrorKind, FlatIndexClient, FlatIndexEntries, + RedirectClientWithMiddleware, +}; + /// A builder for an [`RegistryClient`]. #[derive(Debug, Clone)] pub struct RegistryClientBuilder<'a> { diff --git a/crates/uv-dispatch/Cargo.toml b/crates/uv-dispatch/Cargo.toml index 5d54179ba..ce0bb6bd3 100644 --- a/crates/uv-dispatch/Cargo.toml +++ b/crates/uv-dispatch/Cargo.toml @@ -33,8 +33,8 @@ uv-pypi-types = { workspace = true } uv-python = { workspace = true } uv-resolver = { workspace = true } uv-types = { workspace = true } -uv-variants = { workspace = true } uv-variant-frontend = { workspace = true } +uv-variants = { workspace = true } uv-version = { workspace = true } uv-workspace = { workspace = true }