Remove unused dependencies (#2543)

## Summary

I tried out `cargo shear` to see if there are any unused dependencies
that `cargo udeps` isn't reporting. It turned out, there are a few. This
PR removes those dependencies.

## Test Plan

`cargo build`
This commit is contained in:
Micha Reiser 2024-03-19 18:10:10 +01:00 committed by GitHub
parent ba14f69676
commit acbee166c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 0 additions and 134 deletions

66
Cargo.lock generated
View File

@ -963,8 +963,6 @@ version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cache-key", "cache-key",
"chrono",
"data-encoding",
"distribution-filename", "distribution-filename",
"fs-err", "fs-err",
"itertools 0.12.1", "itertools 0.12.1",
@ -977,12 +975,10 @@ dependencies = [
"rustc-hash", "rustc-hash",
"serde", "serde",
"serde_json", "serde_json",
"sha2",
"thiserror", "thiserror",
"tracing", "tracing",
"url", "url",
"urlencoding", "urlencoding",
"uv-auth",
"uv-fs", "uv-fs",
"uv-git", "uv-git",
"uv-normalize", "uv-normalize",
@ -1769,8 +1765,6 @@ dependencies = [
"tempfile", "tempfile",
"thiserror", "thiserror",
"tracing", "tracing",
"tracing-subscriber",
"url",
"uv-fs", "uv-fs",
"uv-normalize", "uv-normalize",
"walkdir", "walkdir",
@ -2713,8 +2707,6 @@ name = "pypi-types"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"indoc",
"insta",
"mailparse", "mailparse",
"once_cell", "once_cell",
"pep440_rs", "pep440_rs",
@ -2722,9 +2714,6 @@ dependencies = [
"regex", "regex",
"rkyv", "rkyv",
"serde", "serde",
"serde_json",
"tempfile",
"test-case",
"thiserror", "thiserror",
"tracing", "tracing",
"url", "url",
@ -2943,16 +2932,12 @@ dependencies = [
"indoc", "indoc",
"insta", "insta",
"itertools 0.12.1", "itertools 0.12.1",
"once_cell",
"pep440_rs",
"pep508_rs", "pep508_rs",
"regex", "regex",
"reqwest", "reqwest",
"serde", "serde",
"serde_json",
"tempfile", "tempfile",
"test-case", "test-case",
"thiserror",
"tokio", "tokio",
"tracing", "tracing",
"unscanny", "unscanny",
@ -4328,13 +4313,10 @@ dependencies = [
"clap_complete_command", "clap_complete_command",
"console", "console",
"ctrlc", "ctrlc",
"distribution-filename",
"distribution-types", "distribution-types",
"dunce",
"filetime", "filetime",
"flate2", "flate2",
"fs-err", "fs-err",
"futures",
"indexmap 2.2.5", "indexmap 2.2.5",
"indicatif", "indicatif",
"indoc", "indoc",
@ -4344,11 +4326,9 @@ dependencies = [
"miette", "miette",
"mimalloc", "mimalloc",
"owo-colors 4.0.0", "owo-colors 4.0.0",
"pep440_rs",
"pep508_rs", "pep508_rs",
"platform-tags", "platform-tags",
"predicates", "predicates",
"pubgrub",
"pypi-types", "pypi-types",
"pyproject-toml", "pyproject-toml",
"regex", "regex",
@ -4370,21 +4350,17 @@ dependencies = [
"unicode-width", "unicode-width",
"url", "url",
"uv-auth", "uv-auth",
"uv-build",
"uv-cache", "uv-cache",
"uv-client", "uv-client",
"uv-dispatch", "uv-dispatch",
"uv-distribution",
"uv-fs", "uv-fs",
"uv-installer", "uv-installer",
"uv-interpreter", "uv-interpreter",
"uv-normalize", "uv-normalize",
"uv-resolver", "uv-resolver",
"uv-traits", "uv-traits",
"uv-version",
"uv-virtualenv", "uv-virtualenv",
"uv-warnings", "uv-warnings",
"which",
] ]
[[package]] [[package]]
@ -4420,8 +4396,6 @@ dependencies = [
"once_cell", "once_cell",
"pep440_rs", "pep440_rs",
"pep508_rs", "pep508_rs",
"pypi-types",
"pyproject-toml",
"regex", "regex",
"rustc-hash", "rustc-hash",
"serde", "serde",
@ -4448,10 +4422,8 @@ dependencies = [
"distribution-types", "distribution-types",
"fs-err", "fs-err",
"nanoid", "nanoid",
"pypi-types",
"serde", "serde",
"tempfile", "tempfile",
"tracing",
"url", "url",
"uv-fs", "uv-fs",
"uv-normalize", "uv-normalize",
@ -4493,7 +4465,6 @@ dependencies = [
"rustls-native-certs", "rustls-native-certs",
"serde", "serde",
"serde_json", "serde_json",
"sha2",
"sys-info", "sys-info",
"task-local-extensions", "task-local-extensions",
"tempfile", "tempfile",
@ -4507,7 +4478,6 @@ dependencies = [
"uv-auth", "uv-auth",
"uv-cache", "uv-cache",
"uv-fs", "uv-fs",
"uv-interpreter",
"uv-normalize", "uv-normalize",
"uv-version", "uv-version",
"uv-warnings", "uv-warnings",
@ -4536,20 +4506,17 @@ dependencies = [
"petgraph", "petgraph",
"platform-tags", "platform-tags",
"poloto", "poloto",
"pypi-types",
"resvg", "resvg",
"rustc-hash", "rustc-hash",
"serde", "serde",
"serde_json", "serde_json",
"tagu", "tagu",
"tempfile",
"tikv-jemallocator", "tikv-jemallocator",
"tokio", "tokio",
"tracing", "tracing",
"tracing-durations-export", "tracing-durations-export",
"tracing-indicatif", "tracing-indicatif",
"tracing-subscriber", "tracing-subscriber",
"url",
"uv-build", "uv-build",
"uv-cache", "uv-cache",
"uv-client", "uv-client",
@ -4560,9 +4527,7 @@ dependencies = [
"uv-normalize", "uv-normalize",
"uv-resolver", "uv-resolver",
"uv-traits", "uv-traits",
"uv-virtualenv",
"walkdir", "walkdir",
"which",
] ]
[[package]] [[package]]
@ -4571,25 +4536,18 @@ version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"distribution-types", "distribution-types",
"fs-err",
"futures", "futures",
"itertools 0.12.1", "itertools 0.12.1",
"pep508_rs", "pep508_rs",
"platform-tags",
"pypi-types",
"rustc-hash", "rustc-hash",
"tempfile",
"tokio",
"tracing", "tracing",
"uv-build", "uv-build",
"uv-cache", "uv-cache",
"uv-client", "uv-client",
"uv-distribution",
"uv-installer", "uv-installer",
"uv-interpreter", "uv-interpreter",
"uv-resolver", "uv-resolver",
"uv-traits", "uv-traits",
"uv-virtualenv",
] ]
[[package]] [[package]]
@ -4634,7 +4592,6 @@ version = "0.0.1"
dependencies = [ dependencies = [
"async-compression", "async-compression",
"async_zip", "async_zip",
"flate2",
"fs-err", "fs-err",
"futures", "futures",
"rayon", "rayon",
@ -4675,13 +4632,10 @@ dependencies = [
"fs-err", "fs-err",
"git2", "git2",
"glob", "glob",
"hex",
"hmac", "hmac",
"home", "home",
"once_cell",
"rand", "rand",
"reqwest", "reqwest",
"serde",
"sha1", "sha1",
"tokio", "tokio",
"tracing", "tracing",
@ -4695,12 +4649,10 @@ version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-channel", "async-channel",
"distribution-filename",
"distribution-types", "distribution-types",
"fs-err", "fs-err",
"futures", "futures",
"install-wheel-rs", "install-wheel-rs",
"once-map",
"pep440_rs", "pep440_rs",
"pep508_rs", "pep508_rs",
"platform-tags", "platform-tags",
@ -4721,7 +4673,6 @@ dependencies = [
"uv-distribution", "uv-distribution",
"uv-extract", "uv-extract",
"uv-fs", "uv-fs",
"uv-git",
"uv-interpreter", "uv-interpreter",
"uv-normalize", "uv-normalize",
"uv-traits", "uv-traits",
@ -4753,7 +4704,6 @@ dependencies = [
"serde_json", "serde_json",
"tempfile", "tempfile",
"thiserror", "thiserror",
"tokio",
"tracing", "tracing",
"uv-cache", "uv-cache",
"uv-fs", "uv-fs",
@ -4783,11 +4733,9 @@ dependencies = [
"distribution-filename", "distribution-filename",
"distribution-types", "distribution-types",
"either", "either",
"fs-err",
"futures", "futures",
"indexmap 2.2.5", "indexmap 2.2.5",
"insta", "insta",
"install-wheel-rs",
"itertools 0.12.1", "itertools 0.12.1",
"once-map", "once-map",
"once_cell", "once_cell",
@ -4799,28 +4747,20 @@ dependencies = [
"pubgrub", "pubgrub",
"pypi-types", "pypi-types",
"requirements-txt", "requirements-txt",
"reqwest",
"rkyv", "rkyv",
"rustc-hash", "rustc-hash",
"serde_json",
"sha2",
"tempfile",
"thiserror", "thiserror",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-util",
"tracing", "tracing",
"url", "url",
"uv-cache", "uv-cache",
"uv-client", "uv-client",
"uv-distribution", "uv-distribution",
"uv-git",
"uv-interpreter", "uv-interpreter",
"uv-normalize", "uv-normalize",
"uv-traits", "uv-traits",
"uv-virtualenv",
"uv-warnings", "uv-warnings",
"zip",
] ]
[[package]] [[package]]
@ -4828,13 +4768,11 @@ name = "uv-traits"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap",
"distribution-types", "distribution-types",
"once-map", "once-map",
"pep508_rs", "pep508_rs",
"serde", "serde",
"serde_json", "serde_json",
"tokio",
"uv-cache", "uv-cache",
"uv-interpreter", "uv-interpreter",
"uv-normalize", "uv-normalize",
@ -4856,16 +4794,12 @@ dependencies = [
"pathdiff", "pathdiff",
"platform-tags", "platform-tags",
"pypi-types", "pypi-types",
"serde",
"serde_json",
"tempfile",
"thiserror", "thiserror",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
"uv-cache", "uv-cache",
"uv-fs", "uv-fs",
"uv-interpreter", "uv-interpreter",
"which",
] ]
[[package]] [[package]]

View File

@ -49,7 +49,6 @@ fs2 = { version = "0.4.3" }
futures = { version = "0.3.30" } futures = { version = "0.3.30" }
git2 = { version = "0.18.1" } git2 = { version = "0.18.1" }
glob = { version = "0.3.1" } glob = { version = "0.3.1" }
goblin = { version = "0.8.0" }
hex = { version = "0.4.3" } hex = { version = "0.4.3" }
hmac = { version = "0.12.1" } hmac = { version = "0.12.1" }
home = { version = "0.5.9" } home = { version = "0.5.9" }
@ -91,7 +90,6 @@ serde_json = { version = "1.0.114" }
sha1 = { version = "0.10.6" } sha1 = { version = "0.10.6" }
sha2 = { version = "0.10.8" } sha2 = { version = "0.10.8" }
sys-info = { version = "0.9.1" } sys-info = { version = "0.9.1" }
target-lexicon = { version = "0.12.14" }
task-local-extensions = { version = "0.1.4" } task-local-extensions = { version = "0.1.4" }
tempfile = { version = "3.9.0" } tempfile = { version = "3.9.0" }
textwrap = { version = "0.16.1" } textwrap = { version = "0.16.1" }

View File

@ -18,15 +18,12 @@ distribution-filename = { path = "../distribution-filename", features = ["serde"
pep440_rs = { path = "../pep440-rs" } pep440_rs = { path = "../pep440-rs" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
platform-tags = { path = "../platform-tags" } platform-tags = { path = "../platform-tags" }
uv-auth = { path = "../uv-auth" }
uv-fs = { path = "../uv-fs" } uv-fs = { path = "../uv-fs" }
uv-git = { path = "../uv-git", features = ["vendored-openssl"] } uv-git = { path = "../uv-git", features = ["vendored-openssl"] }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
pypi-types = { path = "../pypi-types" } pypi-types = { path = "../pypi-types" }
anyhow = { workspace = true } anyhow = { workspace = true }
chrono = { workspace = true }
data-encoding = { workspace = true }
fs-err = { workspace = true } fs-err = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
@ -34,7 +31,6 @@ rkyv = { workspace = true, features = ["strict", "validation"] }
rustc-hash = { workspace = true } rustc-hash = { workspace = true }
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true } serde_json = { workspace = true }
sha2 = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
url = { workspace = true } url = { workspace = true }

View File

@ -45,8 +45,6 @@ sha2 = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
tracing-subscriber = { workspace = true, optional = true }
url = { workspace = true }
walkdir = { workspace = true } walkdir = { workspace = true }
zip = { workspace = true } zip = { workspace = true }

View File

@ -28,8 +28,3 @@ tracing = { workspace = true }
url = { workspace = true } url = { workspace = true }
[dev-dependencies] [dev-dependencies]
indoc = { version = "2.0.4" }
insta = { version = "1.36.1" }
serde_json = { version = "1.0.114" }
tempfile = { version = "3.9.0" }
test-case = { version = "3.3.1" }

View File

@ -13,7 +13,6 @@ license = { workspace = true }
workspace = true workspace = true
[dependencies] [dependencies]
pep440_rs = { path = "../pep440-rs", features = ["rkyv", "serde"] }
pep508_rs = { path = "../pep508-rs", features = ["rkyv", "serde", "non-pep508-extensions"] } pep508_rs = { path = "../pep508-rs", features = ["rkyv", "serde", "non-pep508-extensions"] }
uv-client = { path = "../uv-client" } uv-client = { path = "../uv-client" }
uv-fs = { path = "../uv-fs" } uv-fs = { path = "../uv-fs" }
@ -22,11 +21,9 @@ uv-warnings = { path = "../uv-warnings" }
async-recursion = { workspace = true } async-recursion = { workspace = true }
fs-err = { workspace = true } fs-err = { workspace = true }
once_cell = { workspace = true }
regex = { workspace = true } regex = { workspace = true }
reqwest = { workspace = true, optional = true } reqwest = { workspace = true, optional = true }
serde = { workspace = true } serde = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
unscanny = { workspace = true } unscanny = { workspace = true }
url = { workspace = true } url = { workspace = true }
@ -37,7 +34,6 @@ assert_fs = { version = "1.1.1" }
indoc = { version = "2.0.4" } indoc = { version = "2.0.4" }
insta = { version = "1.36.1", features = ["filters"] } insta = { version = "1.36.1", features = ["filters"] }
itertools = { version = "0.12.1" } itertools = { version = "0.12.1" }
serde_json = { version = "1.0.114" }
tempfile = { version = "3.9.0" } tempfile = { version = "3.9.0" }
test-case = { version = "3.3.1" } test-case = { version = "3.3.1" }
tokio = { version = "1.35.1", features = ["macros"] } tokio = { version = "1.35.1", features = ["macros"] }

View File

@ -17,7 +17,6 @@ workspace = true
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
pep440_rs = { path = "../pep440-rs" } pep440_rs = { path = "../pep440-rs" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
pypi-types = { path = "../pypi-types" }
uv-fs = { path = "../uv-fs" } uv-fs = { path = "../uv-fs" }
uv-interpreter = { path = "../uv-interpreter" } uv-interpreter = { path = "../uv-interpreter" }
uv-traits = { path = "../uv-traits", features = ["serde"] } uv-traits = { path = "../uv-traits", features = ["serde"] }
@ -28,7 +27,6 @@ fs-err = { workspace = true }
indoc = { workspace = true } indoc = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
pyproject-toml = { workspace = true }
regex = { workspace = true } regex = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }

View File

@ -18,7 +18,6 @@ cache-key = { path = "../cache-key" }
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
uv-fs = { path = "../uv-fs" } uv-fs = { path = "../uv-fs" }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
pypi-types = { path = "../pypi-types" }
cachedir = { workspace = true } cachedir = { workspace = true }
clap = { workspace = true, features = ["derive", "env"], optional = true } clap = { workspace = true, features = ["derive", "env"], optional = true }
@ -27,6 +26,5 @@ fs-err = { workspace = true, features = ["tokio"] }
nanoid = { workspace = true } nanoid = { workspace = true }
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
tempfile = { workspace = true } tempfile = { workspace = true }
tracing = { workspace = true }
url = { workspace = true } url = { workspace = true }
walkdir = { workspace = true } walkdir = { workspace = true }

View File

@ -14,7 +14,6 @@ platform-tags = { path = "../platform-tags" }
uv-auth = { path = "../uv-auth" } uv-auth = { path = "../uv-auth" }
uv-cache = { path = "../uv-cache" } uv-cache = { path = "../uv-cache" }
uv-fs = { path = "../uv-fs", features = ["tokio"] } uv-fs = { path = "../uv-fs", features = ["tokio"] }
uv-interpreter = { path = "../uv-interpreter" }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
uv-version = { path = "../uv-version" } uv-version = { path = "../uv-version" }
uv-warnings = { path = "../uv-warnings" } uv-warnings = { path = "../uv-warnings" }
@ -38,7 +37,6 @@ rmp-serde = { workspace = true }
rustc-hash = { workspace = true } rustc-hash = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
sha2 = { workspace = true }
sys-info = { workspace = true } sys-info = { workspace = true }
task-local-extensions = { workspace = true } task-local-extensions = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }

View File

@ -22,7 +22,6 @@ install-wheel-rs = { path = "../install-wheel-rs" }
pep440_rs = { path = "../pep440-rs" } pep440_rs = { path = "../pep440-rs" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
platform-tags = { path = "../platform-tags" } platform-tags = { path = "../platform-tags" }
pypi-types = { path = "../pypi-types" }
uv-build = { path = "../uv-build" } uv-build = { path = "../uv-build" }
uv-cache = { path = "../uv-cache", features = ["clap"] } uv-cache = { path = "../uv-cache", features = ["clap"] }
uv-client = { path = "../uv-client" } uv-client = { path = "../uv-client" }
@ -33,7 +32,6 @@ uv-interpreter = { path = "../uv-interpreter" }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
uv-resolver = { path = "../uv-resolver" } uv-resolver = { path = "../uv-resolver" }
uv-traits = { path = "../uv-traits" } uv-traits = { path = "../uv-traits" }
uv-virtualenv = { path = "../uv-virtualenv" }
# Any dependencies that are exclusively used in `uv-dev` should be listed as non-workspace # Any dependencies that are exclusively used in `uv-dev` should be listed as non-workspace
# dependencies, to ensure that we're forced to think twice before including them in other crates. # dependencies, to ensure that we're forced to think twice before including them in other crates.
@ -53,15 +51,12 @@ rustc-hash = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
tagu = { version = "0.1.6" } tagu = { version = "0.1.6" }
tempfile = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
tracing-durations-export = { workspace = true, features = ["plot"] } tracing-durations-export = { workspace = true, features = ["plot"] }
tracing-indicatif = { workspace = true } tracing-indicatif = { workspace = true }
tracing-subscriber = { workspace = true } tracing-subscriber = { workspace = true }
url = { workspace = true }
walkdir = { workspace = true } walkdir = { workspace = true }
which = { workspace = true }
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
mimalloc = { version = "0.1.39" } mimalloc = { version = "0.1.39" }

View File

@ -16,23 +16,16 @@ workspace = true
[dependencies] [dependencies]
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
platform-tags = { path = "../platform-tags" }
pypi-types = { path = "../pypi-types" }
uv-build = { path = "../uv-build" } uv-build = { path = "../uv-build" }
uv-cache = { path = "../uv-cache" } uv-cache = { path = "../uv-cache" }
uv-client = { path = "../uv-client" } uv-client = { path = "../uv-client" }
uv-distribution = { path = "../uv-distribution" }
uv-installer = { path = "../uv-installer" } uv-installer = { path = "../uv-installer" }
uv-interpreter = { path = "../uv-interpreter" } uv-interpreter = { path = "../uv-interpreter" }
uv-resolver = { path = "../uv-resolver" } uv-resolver = { path = "../uv-resolver" }
uv-traits = { path = "../uv-traits" } uv-traits = { path = "../uv-traits" }
uv-virtualenv = { path = "../uv-virtualenv" }
anyhow = { workspace = true } anyhow = { workspace = true }
fs-err = { workspace = true }
futures = { workspace = true } futures = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
rustc-hash = { workspace = true } rustc-hash = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }

View File

@ -15,7 +15,6 @@ workspace = true
[dependencies] [dependencies]
async-compression = { workspace = true, features = ["gzip"] } async-compression = { workspace = true, features = ["gzip"] }
async_zip = { workspace = true, features = ["tokio"] } async_zip = { workspace = true, features = ["tokio"] }
flate2 = { workspace = true }
fs-err = { workspace = true, features = ["tokio"] } fs-err = { workspace = true, features = ["tokio"] }
futures = { workspace = true } futures = { workspace = true }
rayon = { workspace = true } rayon = { workspace = true }

View File

@ -21,13 +21,10 @@ base64 = { workspace = true }
cargo-util = { workspace = true } cargo-util = { workspace = true }
git2 = { workspace = true } git2 = { workspace = true }
glob = { workspace = true } glob = { workspace = true }
hex = { workspace = true }
hmac = { workspace = true } hmac = { workspace = true }
home = { workspace = true } home = { workspace = true }
once_cell = { workspace = true }
rand = { workspace = true } rand = { workspace = true }
reqwest = { workspace = true, features = ["blocking"] } reqwest = { workspace = true, features = ["blocking"] }
serde = { workspace = true }
sha1 = { workspace = true } sha1 = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }

View File

@ -13,10 +13,8 @@ license = { workspace = true }
workspace = true workspace = true
[dependencies] [dependencies]
distribution-filename = { path = "../distribution-filename" }
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
install-wheel-rs = { path = "../install-wheel-rs", default-features = false } install-wheel-rs = { path = "../install-wheel-rs", default-features = false }
once-map = { path = "../once-map" }
pep440_rs = { path = "../pep440-rs" } pep440_rs = { path = "../pep440-rs" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
platform-tags = { path = "../platform-tags" } platform-tags = { path = "../platform-tags" }
@ -27,7 +25,6 @@ uv-client = { path = "../uv-client" }
uv-distribution = { path = "../uv-distribution" } uv-distribution = { path = "../uv-distribution" }
uv-extract = { path = "../uv-extract" } uv-extract = { path = "../uv-extract" }
uv-fs = { path = "../uv-fs" } uv-fs = { path = "../uv-fs" }
uv-git = { path = "../uv-git", features = ["vendored-openssl"] }
uv-interpreter = { path = "../uv-interpreter" } uv-interpreter = { path = "../uv-interpreter" }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
uv-traits = { path = "../uv-traits" } uv-traits = { path = "../uv-traits" }

View File

@ -32,7 +32,6 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true } serde_json = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
which = { workspace = true } which = { workspace = true }

View File

@ -16,7 +16,6 @@ workspace = true
cache-key = { path = "../cache-key" } cache-key = { path = "../cache-key" }
distribution-filename = { path = "../distribution-filename", features = ["serde"] } distribution-filename = { path = "../distribution-filename", features = ["serde"] }
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
install-wheel-rs = { path = "../install-wheel-rs" }
once-map = { path = "../once-map" } once-map = { path = "../once-map" }
pep440_rs = { path = "../pep440-rs", features = ["pubgrub"] } pep440_rs = { path = "../pep440-rs", features = ["pubgrub"] }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
@ -26,7 +25,6 @@ requirements-txt = { path = "../requirements-txt" }
uv-cache = { path = "../uv-cache" } uv-cache = { path = "../uv-cache" }
uv-client = { path = "../uv-client" } uv-client = { path = "../uv-client" }
uv-distribution = { path = "../uv-distribution" } uv-distribution = { path = "../uv-distribution" }
uv-git = { path = "../uv-git", features = ["vendored-openssl"] }
uv-interpreter = { path = "../uv-interpreter" } uv-interpreter = { path = "../uv-interpreter" }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
uv-traits = { path = "../uv-traits" } uv-traits = { path = "../uv-traits" }
@ -39,7 +37,6 @@ clap = { workspace = true, features = ["derive"], optional = true }
dashmap = { workspace = true } dashmap = { workspace = true }
derivative = { workspace = true } derivative = { workspace = true }
either = { workspace = true } either = { workspace = true }
fs-err = { workspace = true, features = ["tokio"] }
futures = { workspace = true } futures = { workspace = true }
indexmap = { workspace = true } indexmap = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
@ -47,22 +44,15 @@ once_cell = { workspace = true }
owo-colors = { workspace = true } owo-colors = { workspace = true }
petgraph = { workspace = true } petgraph = { workspace = true }
pubgrub = { workspace = true } pubgrub = { workspace = true }
reqwest = { workspace = true }
rkyv = { workspace = true, features = ["strict", "validation"] } rkyv = { workspace = true, features = ["strict", "validation"] }
rustc-hash = { workspace = true } rustc-hash = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tokio = { workspace = true, features = ["macros"] } tokio = { workspace = true, features = ["macros"] }
tokio-stream = { workspace = true } tokio-stream = { workspace = true }
tokio-util = { workspace = true, features = ["compat"] }
tracing = { workspace = true } tracing = { workspace = true }
url = { workspace = true } url = { workspace = true }
zip = { workspace = true }
[dev-dependencies] [dev-dependencies]
uv-virtualenv = { path = "../uv-virtualenv" }
uv-interpreter = { path = "../uv-interpreter" } uv-interpreter = { path = "../uv-interpreter" }
once_cell = { version = "1.19.0" } once_cell = { version = "1.19.0" }

View File

@ -13,7 +13,6 @@ license = { workspace = true }
workspace = true workspace = true
[dependencies] [dependencies]
clap = { workspace = true, optional = true }
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
once-map = { path = "../once-map" } once-map = { path = "../once-map" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
@ -24,7 +23,6 @@ uv-normalize = { path = "../uv-normalize" }
anyhow = { workspace = true } anyhow = { workspace = true }
serde = { workspace = true, optional = true } serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true } serde_json = { workspace = true, optional = true }
tokio = { workspace = true, features = ["sync"] }
[features] [features]
default = [] default = []

View File

@ -33,13 +33,9 @@ clap = { workspace = true, features = ["derive"], optional = true }
directories = { workspace = true } directories = { workspace = true }
fs-err = { workspace = true } fs-err = { workspace = true }
pathdiff = { workspace = true } pathdiff = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
tracing-subscriber = { workspace = true, optional = true } tracing-subscriber = { workspace = true, optional = true }
which = { workspace = true }
[features] [features]
cli = ["clap", "tracing-subscriber"] cli = ["clap", "tracing-subscriber"]

View File

@ -14,27 +14,22 @@ default-run = "uv"
workspace = true workspace = true
[dependencies] [dependencies]
distribution-filename = { path = "../distribution-filename" }
distribution-types = { path = "../distribution-types" } distribution-types = { path = "../distribution-types" }
install-wheel-rs = { path = "../install-wheel-rs", features = ["clap"], default-features = false } install-wheel-rs = { path = "../install-wheel-rs", features = ["clap"], default-features = false }
pep440_rs = { path = "../pep440-rs" }
pep508_rs = { path = "../pep508-rs" } pep508_rs = { path = "../pep508-rs" }
platform-tags = { path = "../platform-tags" } platform-tags = { path = "../platform-tags" }
pypi-types = { path = "../pypi-types" } pypi-types = { path = "../pypi-types" }
requirements-txt = { path = "../requirements-txt", features = ["reqwest"] } requirements-txt = { path = "../requirements-txt", features = ["reqwest"] }
uv-auth = { path = "../uv-auth", features = ["clap"] } uv-auth = { path = "../uv-auth", features = ["clap"] }
uv-build = { path = "../uv-build" }
uv-cache = { path = "../uv-cache", features = ["clap"] } uv-cache = { path = "../uv-cache", features = ["clap"] }
uv-client = { path = "../uv-client" } uv-client = { path = "../uv-client" }
uv-dispatch = { path = "../uv-dispatch" } uv-dispatch = { path = "../uv-dispatch" }
uv-distribution = { path = "../uv-distribution" }
uv-fs = { path = "../uv-fs" } uv-fs = { path = "../uv-fs" }
uv-installer = { path = "../uv-installer" } uv-installer = { path = "../uv-installer" }
uv-interpreter = { path = "../uv-interpreter" } uv-interpreter = { path = "../uv-interpreter" }
uv-normalize = { path = "../uv-normalize" } uv-normalize = { path = "../uv-normalize" }
uv-resolver = { path = "../uv-resolver", features = ["clap"] } uv-resolver = { path = "../uv-resolver", features = ["clap"] }
uv-traits = { path = "../uv-traits" } uv-traits = { path = "../uv-traits" }
uv-version = { path = "../uv-version" }
uv-virtualenv = { path = "../uv-virtualenv" } uv-virtualenv = { path = "../uv-virtualenv" }
uv-warnings = { path = "../uv-warnings" } uv-warnings = { path = "../uv-warnings" }
@ -46,16 +41,13 @@ clap = { workspace = true, features = ["derive", "string"] }
clap_complete_command = { workspace = true } clap_complete_command = { workspace = true }
console = { workspace = true } console = { workspace = true }
ctrlc = { workspace = true } ctrlc = { workspace = true }
dunce = { workspace = true }
flate2 = { workspace = true, default-features = false } flate2 = { workspace = true, default-features = false }
fs-err = { workspace = true, features = ["tokio"] } fs-err = { workspace = true, features = ["tokio"] }
futures = { workspace = true }
indexmap = { workspace = true } indexmap = { workspace = true }
indicatif = { workspace = true } indicatif = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
miette = { workspace = true, features = ["fancy"] } miette = { workspace = true, features = ["fancy"] }
owo-colors = { workspace = true } owo-colors = { workspace = true }
pubgrub = { workspace = true }
pyproject-toml = { workspace = true } pyproject-toml = { workspace = true }
rustc-hash = { workspace = true } rustc-hash = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
@ -71,7 +63,6 @@ tracing-subscriber = { workspace = true, features = ["json"] }
tracing-tree = { workspace = true } tracing-tree = { workspace = true }
unicode-width = { workspace = true } unicode-width = { workspace = true }
url = { workspace = true } url = { workspace = true }
which = { workspace = true }
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]
mimalloc = { version = "0.1.39" } mimalloc = { version = "0.1.39" }