Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ clap = { version = "4.5.17", default-features = false, features = [
clap_complete_command = { version = "0.6.1", default-features = false, features = ["nushell"] }
configparser = { version = "3.1.0", default-features = false }
console = { version = "0.16.0", default-features = false, features = ["std"] }
crc32fast = { version = "1.5.0", default-features = false, features = ["std"] }
csv = { version = "1.3.0", default-features = false }
ctrlc = { version = "3.4.5", default-features = false }
cyclonedx-bom = { version = "0.8.1", default-features = false }
Expand Down Expand Up @@ -363,6 +364,7 @@ windows = { version = "0.61.0", default-features = false, features = [
windows-registry = { version = "0.5.0", default-features = false, features = ["std"] }
windows-version = { version = "0.1.6", default-features = false }
wiremock = { version = "0.6.4", default-features = false }
zerocopy = { version = "0.8.56", default-features = false, features = ["derive"] }
zeroize = { version = "1.8.1", default-features = false, features = ["alloc"] }

# dev-dependencies
Expand Down
16 changes: 7 additions & 9 deletions crates/uv-cache/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ pub enum CacheBucket {
/// Cached vulnerability data from [OSV](https://osv.dev/).
///
/// Cache structure:
/// * `osv-v0/vulnerability/<vuln_id>.msgpack` — cached full vulnerability records
/// * `osv-v1/vulnerability/<vuln_id>.msgpack` — cached full vulnerability records
Osv,
}

Expand All @@ -1300,29 +1300,27 @@ impl CacheBucket {
match self {
// Note that when bumping this, you'll also need to bump it
// in `crates/uv/tests/build/cache_prune.rs`.
// TODO(ww): Remove `uv_pypi_types::HashDigestWire` on the next cache bump
// or breaking release.
Self::SourceDistributions => "sdists-v9",
Self::SourceDistributions => "sdists-v10",
// Note that when bumping this, you'll also need to bump it
// in `crates/uv/tests/lock/lock.rs`.
Self::FlatIndex => "flat-index-v5",
Self::FlatIndex => "flat-index-v6",
Self::Git => "git-v1",
Self::Interpreter => "interpreter-v4",
// Note that when bumping this, you'll also need to bump it
// in `crates/uv/tests/build/cache_clean.rs`.
Self::Simple => "simple-v25",
Self::Simple => "simple-v26",
// Note that when bumping this, you'll also need to bump it
// in `crates/uv/tests/build/cache_prune.rs`.
Self::Wheels => "wheels-v6",
Self::Wheels => "wheels-v7",
// Note that when bumping this, you'll also need to bump
// `ARCHIVE_VERSION` in `crates/uv-cache/src/lib.rs`.
Self::Archive => "archive-v0",
Self::Files => "files-v0",
Self::Builds => "builds-v0",
Self::Environments => "environments-v2",
Self::Python => "python-v0",
Self::Python => "python-v1",
Self::Binaries => "binaries-v0",
Self::Osv => "osv-v0",
Self::Osv => "osv-v1",
}
}

Expand Down
4 changes: 4 additions & 0 deletions crates/uv-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ uv-distribution-filename = { workspace = true }
uv-distribution-types = { workspace = true }
uv-errors = { workspace = true }
uv-extract = { workspace = true }
uv-fastid = { workspace = true }
uv-fs = { workspace = true, features = ["tokio"] }
uv-git = { workspace = true }
uv-metadata = { workspace = true }
Expand All @@ -49,7 +50,9 @@ astral-tl = { workspace = true }
async-trait = { workspace = true }
async_http_range_reader = { workspace = true }
async_zip = { workspace = true }
bitflags = { workspace = true }
bytecheck = { workspace = true }
crc32fast = { workspace = true }
fs-err = { workspace = true, features = ["tokio"] }
futures = { workspace = true }
hex = { workspace = true }
Expand Down Expand Up @@ -80,6 +83,7 @@ tokio-util = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }
webpki-root-certs = { workspace = true }
zerocopy = { workspace = true }

[dev-dependencies]
anyhow = { workspace = true }
Expand Down
Loading
Loading