mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +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
|
@ -13,14 +13,14 @@ license = { workspace = true }
|
|||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
cache-key = { workspace = true }
|
||||
pep508_rs = { workspace = true, features = ["schemars"] }
|
||||
platform-tags = { workspace = true }
|
||||
pypi-types = { workspace = true }
|
||||
uv-auth = { workspace = true }
|
||||
uv-cache = { workspace = true }
|
||||
uv-cache-info = { workspace = true }
|
||||
uv-cache-key = { workspace = true }
|
||||
uv-normalize = { workspace = true }
|
||||
uv-pep508 = { workspace = true, features = ["schemars"] }
|
||||
uv-platform-tags = { workspace = true }
|
||||
uv-pypi-types = { workspace = true }
|
||||
|
||||
clap = { workspace = true, features = ["derive"], optional = true }
|
||||
either = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::fmt::{Display, Formatter};
|
||||
|
||||
use pep508_rs::PackageName;
|
||||
use uv_pep508::PackageName;
|
||||
|
||||
use crate::{PackageNameSpecifier, PackageNameSpecifiers};
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
use cache_key::CacheKeyHasher;
|
||||
use std::{
|
||||
collections::{btree_map::Entry, BTreeMap},
|
||||
str::FromStr,
|
||||
};
|
||||
use uv_cache_key::CacheKeyHasher;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ConfigSettingEntry {
|
||||
|
@ -161,7 +161,7 @@ impl ConfigSettings {
|
|||
}
|
||||
}
|
||||
|
||||
impl cache_key::CacheKey for ConfigSettings {
|
||||
impl uv_cache_key::CacheKey for ConfigSettings {
|
||||
fn cache_key(&self, state: &mut CacheKeyHasher) {
|
||||
for (key, value) in &self.0 {
|
||||
key.cache_key(state);
|
||||
|
|
|
@ -3,9 +3,9 @@ use std::borrow::Cow;
|
|||
use either::Either;
|
||||
use rustc_hash::FxHashMap;
|
||||
|
||||
use pep508_rs::MarkerTree;
|
||||
use pypi_types::{Requirement, RequirementSource};
|
||||
use uv_normalize::PackageName;
|
||||
use uv_pep508::MarkerTree;
|
||||
use uv_pypi_types::{Requirement, RequirementSource};
|
||||
|
||||
/// A set of constraints for a set of requirements.
|
||||
#[derive(Debug, Default, Clone)]
|
||||
|
|
|
@ -2,7 +2,7 @@ use std::collections::BTreeSet;
|
|||
|
||||
use tracing::debug;
|
||||
|
||||
use pep508_rs::PackageName;
|
||||
use uv_pep508::PackageName;
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct InstallOptions {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::str::FromStr;
|
||||
|
||||
use pep508_rs::PackageName;
|
||||
use uv_pep508::PackageName;
|
||||
|
||||
/// A specifier used for (e.g.) pip's `--no-binary` flag.
|
||||
///
|
||||
|
|
|
@ -3,9 +3,9 @@ use std::borrow::Cow;
|
|||
use either::Either;
|
||||
use rustc_hash::{FxBuildHasher, FxHashMap};
|
||||
|
||||
use pep508_rs::MarkerTree;
|
||||
use pypi_types::Requirement;
|
||||
use uv_normalize::PackageName;
|
||||
use uv_pep508::MarkerTree;
|
||||
use uv_pypi_types::Requirement;
|
||||
|
||||
/// A set of overrides for a set of requirements.
|
||||
#[derive(Debug, Default, Clone)]
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
use either::Either;
|
||||
use pep508_rs::PackageName;
|
||||
use uv_pep508::PackageName;
|
||||
|
||||
use pypi_types::Requirement;
|
||||
use rustc_hash::FxHashMap;
|
||||
use uv_cache::Refresh;
|
||||
use uv_cache_info::Timestamp;
|
||||
use uv_pypi_types::Requirement;
|
||||
|
||||
/// Whether to reinstall packages.
|
||||
#[derive(Debug, Default, Clone, serde::Serialize, serde::Deserialize)]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use tracing::debug;
|
||||
|
||||
use pep508_rs::MarkerEnvironment;
|
||||
use platform_tags::{Arch, Os, Platform};
|
||||
use uv_pep508::MarkerEnvironment;
|
||||
use uv_platform_tags::{Arch, Os, Platform};
|
||||
|
||||
/// The supported target triples. Each triple consists of an architecture, vendor, and operating
|
||||
/// system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue