mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Get cargo shear
passing (#3533)
## Summary Remove a few unused deps, and ignore `flate2` (which we include for feature control).
This commit is contained in:
parent
84602c467b
commit
e0da977fc9
6 changed files with 15 additions and 16 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -399,11 +399,9 @@ dependencies = [
|
|||
"criterion",
|
||||
"distribution-filename",
|
||||
"distribution-types",
|
||||
"fs-err",
|
||||
"once_cell",
|
||||
"pep508_rs",
|
||||
"platform-tags",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"uv-cache",
|
||||
"uv-client",
|
||||
|
@ -4753,7 +4751,6 @@ dependencies = [
|
|||
"futures",
|
||||
"install-wheel-rs",
|
||||
"itertools 0.12.1",
|
||||
"pep508_rs",
|
||||
"rustc-hash",
|
||||
"tracing",
|
||||
"uv-build",
|
||||
|
@ -4841,7 +4838,6 @@ dependencies = [
|
|||
"once_cell",
|
||||
"path-absolutize",
|
||||
"tempfile",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"urlencoding",
|
||||
"uv-warnings",
|
||||
|
|
|
@ -147,6 +147,9 @@ which = { version = "6.0.0" }
|
|||
winapi = { version = "0.3.9", features = ["fileapi", "handleapi", "ioapiset", "winbase", "winioctl", "winnt"] }
|
||||
zip = { version = "1.1.0", default-features = false, features = ["deflate"] }
|
||||
|
||||
[workspace.metadata.cargo-shear]
|
||||
ignored = ["flate2"]
|
||||
|
||||
[patch.crates-io]
|
||||
# For pyproject-toml
|
||||
pep440_rs = { path = "crates/pep440-rs" }
|
||||
|
|
|
@ -30,22 +30,21 @@ harness = false
|
|||
[dependencies]
|
||||
distribution-filename = { workspace = true }
|
||||
distribution-types = { workspace = true }
|
||||
criterion = { version = "0.5.1", default-features = false, features = ["async_tokio"] }
|
||||
tokio = { workspace = true }
|
||||
codspeed-criterion-compat = { version = "2.6.0", default-features = false, optional = true }
|
||||
tempfile = { workspace = true }
|
||||
fs-err = { workspace = true }
|
||||
uv-resolver = { workspace = true }
|
||||
pep508_rs = { workspace = true }
|
||||
platform-tags = { workspace = true }
|
||||
uv-cache = { workspace = true }
|
||||
uv-client = { workspace = true }
|
||||
uv-configuration = { workspace = true }
|
||||
uv-distribution = { workspace = true }
|
||||
uv-types = { workspace = true }
|
||||
uv-interpreter = { workspace = true }
|
||||
platform-tags = { workspace = true }
|
||||
pep508_rs = { workspace = true }
|
||||
uv-resolver = { workspace = true }
|
||||
uv-types = { workspace = true }
|
||||
|
||||
anyhow = { workspace = true }
|
||||
codspeed-criterion-compat = { version = "2.6.0", default-features = false, optional = true }
|
||||
criterion = { version = "0.5.1", default-features = false, features = ["async_tokio"] }
|
||||
once_cell = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
|
||||
[features]
|
||||
codspeed = ["codspeed-criterion-compat"]
|
||||
|
|
|
@ -16,7 +16,6 @@ workspace = true
|
|||
[dependencies]
|
||||
distribution-types = { workspace = true }
|
||||
install-wheel-rs = { workspace = true }
|
||||
pep508_rs = { workspace = true }
|
||||
uv-build = { workspace = true }
|
||||
uv-cache = { workspace = true }
|
||||
uv-client = { workspace = true }
|
||||
|
|
|
@ -24,7 +24,6 @@ fs2 = { workspace = true }
|
|||
once_cell = { workspace = true }
|
||||
path-absolutize = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
tokio = { workspace = true, optional = true }
|
||||
tracing = { workspace = true }
|
||||
urlencoding = { workspace = true }
|
||||
|
||||
|
@ -33,4 +32,4 @@ junction = { workspace = true }
|
|||
|
||||
[features]
|
||||
default = []
|
||||
tokio = ["dep:tokio", "fs-err/tokio", "backoff/tokio"]
|
||||
tokio = ["fs-err/tokio", "backoff/tokio"]
|
||||
|
|
|
@ -85,6 +85,9 @@ predicates = { version = "3.0.4" }
|
|||
regex = { version = "1.10.3" }
|
||||
reqwest = { workspace = true, features = ["blocking"], default-features = false }
|
||||
|
||||
[package.metadata.cargo-shear]
|
||||
ignored = ["flate2"]
|
||||
|
||||
[features]
|
||||
default = ["flate2/zlib-ng", "python", "pypi", "git", "maturin", "python-patch"]
|
||||
# Introduces a dependency on a local Python installation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue