mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-13 17:25:41 +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",
|
"criterion",
|
||||||
"distribution-filename",
|
"distribution-filename",
|
||||||
"distribution-types",
|
"distribution-types",
|
||||||
"fs-err",
|
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"pep508_rs",
|
"pep508_rs",
|
||||||
"platform-tags",
|
"platform-tags",
|
||||||
"tempfile",
|
|
||||||
"tokio",
|
"tokio",
|
||||||
"uv-cache",
|
"uv-cache",
|
||||||
"uv-client",
|
"uv-client",
|
||||||
|
|
@ -4753,7 +4751,6 @@ dependencies = [
|
||||||
"futures",
|
"futures",
|
||||||
"install-wheel-rs",
|
"install-wheel-rs",
|
||||||
"itertools 0.12.1",
|
"itertools 0.12.1",
|
||||||
"pep508_rs",
|
|
||||||
"rustc-hash",
|
"rustc-hash",
|
||||||
"tracing",
|
"tracing",
|
||||||
"uv-build",
|
"uv-build",
|
||||||
|
|
@ -4841,7 +4838,6 @@ dependencies = [
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"path-absolutize",
|
"path-absolutize",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"tokio",
|
|
||||||
"tracing",
|
"tracing",
|
||||||
"urlencoding",
|
"urlencoding",
|
||||||
"uv-warnings",
|
"uv-warnings",
|
||||||
|
|
|
||||||
|
|
@ -147,6 +147,9 @@ which = { version = "6.0.0" }
|
||||||
winapi = { version = "0.3.9", features = ["fileapi", "handleapi", "ioapiset", "winbase", "winioctl", "winnt"] }
|
winapi = { version = "0.3.9", features = ["fileapi", "handleapi", "ioapiset", "winbase", "winioctl", "winnt"] }
|
||||||
zip = { version = "1.1.0", default-features = false, features = ["deflate"] }
|
zip = { version = "1.1.0", default-features = false, features = ["deflate"] }
|
||||||
|
|
||||||
|
[workspace.metadata.cargo-shear]
|
||||||
|
ignored = ["flate2"]
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
# For pyproject-toml
|
# For pyproject-toml
|
||||||
pep440_rs = { path = "crates/pep440-rs" }
|
pep440_rs = { path = "crates/pep440-rs" }
|
||||||
|
|
|
||||||
|
|
@ -30,22 +30,21 @@ harness = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
distribution-filename = { workspace = true }
|
distribution-filename = { workspace = true }
|
||||||
distribution-types = { workspace = true }
|
distribution-types = { workspace = true }
|
||||||
criterion = { version = "0.5.1", default-features = false, features = ["async_tokio"] }
|
pep508_rs = { workspace = true }
|
||||||
tokio = { workspace = true }
|
platform-tags = { 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 }
|
|
||||||
uv-cache = { workspace = true }
|
uv-cache = { workspace = true }
|
||||||
uv-client = { workspace = true }
|
uv-client = { workspace = true }
|
||||||
uv-configuration = { workspace = true }
|
uv-configuration = { workspace = true }
|
||||||
uv-distribution = { workspace = true }
|
uv-distribution = { workspace = true }
|
||||||
uv-types = { workspace = true }
|
|
||||||
uv-interpreter = { workspace = true }
|
uv-interpreter = { workspace = true }
|
||||||
platform-tags = { workspace = true }
|
uv-resolver = { workspace = true }
|
||||||
pep508_rs = { workspace = true }
|
uv-types = { workspace = true }
|
||||||
|
|
||||||
anyhow = { 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 }
|
once_cell = { workspace = true }
|
||||||
|
tokio = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
codspeed = ["codspeed-criterion-compat"]
|
codspeed = ["codspeed-criterion-compat"]
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ workspace = true
|
||||||
[dependencies]
|
[dependencies]
|
||||||
distribution-types = { workspace = true }
|
distribution-types = { workspace = true }
|
||||||
install-wheel-rs = { workspace = true }
|
install-wheel-rs = { workspace = true }
|
||||||
pep508_rs = { workspace = true }
|
|
||||||
uv-build = { workspace = true }
|
uv-build = { workspace = true }
|
||||||
uv-cache = { workspace = true }
|
uv-cache = { workspace = true }
|
||||||
uv-client = { workspace = true }
|
uv-client = { workspace = true }
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ fs2 = { workspace = true }
|
||||||
once_cell = { workspace = true }
|
once_cell = { workspace = true }
|
||||||
path-absolutize = { workspace = true }
|
path-absolutize = { workspace = true }
|
||||||
tempfile = { workspace = true }
|
tempfile = { workspace = true }
|
||||||
tokio = { workspace = true, optional = true }
|
|
||||||
tracing = { workspace = true }
|
tracing = { workspace = true }
|
||||||
urlencoding = { workspace = true }
|
urlencoding = { workspace = true }
|
||||||
|
|
||||||
|
|
@ -33,4 +32,4 @@ junction = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
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" }
|
regex = { version = "1.10.3" }
|
||||||
reqwest = { workspace = true, features = ["blocking"], default-features = false }
|
reqwest = { workspace = true, features = ["blocking"], default-features = false }
|
||||||
|
|
||||||
|
[package.metadata.cargo-shear]
|
||||||
|
ignored = ["flate2"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["flate2/zlib-ng", "python", "pypi", "git", "maturin", "python-patch"]
|
default = ["flate2/zlib-ng", "python", "pypi", "git", "maturin", "python-patch"]
|
||||||
# Introduces a dependency on a local Python installation.
|
# Introduces a dependency on a local Python installation.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue