mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-20 03:49:54 +00:00
Add uv- prefix to all internal crates (#7853)
## Summary Brings more consistency to the repo and ensures that all crates automatically show up in `--verbose` logging.
This commit is contained in:
parent
7b55e97909
commit
14507a1793
319 changed files with 1327 additions and 1317 deletions
|
|
@ -3,12 +3,10 @@ mod trusted_publishing;
|
|||
use crate::trusted_publishing::TrustedPublishingError;
|
||||
use base64::prelude::BASE64_STANDARD;
|
||||
use base64::Engine;
|
||||
use distribution_filename::{DistFilename, SourceDistExtension, SourceDistFilename};
|
||||
use fs_err::File;
|
||||
use futures::TryStreamExt;
|
||||
use glob::{glob, GlobError, PatternError};
|
||||
use itertools::Itertools;
|
||||
use pypi_types::{Metadata23, MetadataError};
|
||||
use reqwest::header::AUTHORIZATION;
|
||||
use reqwest::multipart::Part;
|
||||
use reqwest::{Body, Response, StatusCode};
|
||||
|
|
@ -28,8 +26,10 @@ use tracing::{debug, enabled, trace, warn, Level};
|
|||
use url::Url;
|
||||
use uv_client::UvRetryableStrategy;
|
||||
use uv_configuration::{KeyringProviderType, TrustedPublishing};
|
||||
use uv_distribution_filename::{DistFilename, SourceDistExtension, SourceDistFilename};
|
||||
use uv_fs::{ProgressReader, Simplified};
|
||||
use uv_metadata::read_metadata_async_seek;
|
||||
use uv_pypi_types::{Metadata23, MetadataError};
|
||||
use uv_warnings::warn_user_once;
|
||||
|
||||
pub use trusted_publishing::TrustedPublishingToken;
|
||||
|
|
@ -620,13 +620,13 @@ async fn handle_response(registry: &Url, response: Response) -> Result<bool, Pub
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::{build_request, form_metadata, Reporter};
|
||||
use distribution_filename::DistFilename;
|
||||
use insta::{assert_debug_snapshot, assert_snapshot};
|
||||
use itertools::Itertools;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
use url::Url;
|
||||
use uv_client::BaseClientBuilder;
|
||||
use uv_distribution_filename::DistFilename;
|
||||
|
||||
struct DummyReporter;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue