Remove some unused dependencies (#2698)

This commit is contained in:
Charlie Marsh 2024-03-27 17:50:55 -04:00 committed by GitHub
parent f8fa887c0b
commit 4b69ad4281
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 25 deletions

18
Cargo.lock generated
View File

@ -2754,19 +2754,6 @@ dependencies = [
"uv-normalize",
]
[[package]]
name = "pyproject-toml"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b80f889b6d413c3f8963a2c7db03f95dd6e1d85e1074137cb2013ea2faa8898"
dependencies = [
"indexmap",
"pep440_rs",
"pep508_rs",
"serde",
"toml",
]
[[package]]
name = "quote"
version = "1.0.35"
@ -4495,14 +4482,12 @@ dependencies = [
"fs-err",
"futures",
"indicatif",
"install-wheel-rs",
"itertools 0.12.1",
"mimalloc",
"owo-colors",
"pep440_rs",
"pep508_rs",
"petgraph",
"platform-tags",
"poloto",
"resvg",
"rustc-hash",
@ -4519,7 +4504,6 @@ dependencies = [
"uv-cache",
"uv-client",
"uv-dispatch",
"uv-distribution",
"uv-installer",
"uv-interpreter",
"uv-normalize",
@ -4658,7 +4642,6 @@ dependencies = [
"pep508_rs",
"platform-tags",
"pypi-types",
"pyproject-toml",
"rayon",
"requirements-txt",
"rustc-hash",
@ -4736,7 +4719,6 @@ dependencies = [
"indexmap",
"pep508_rs",
"pypi-types",
"pyproject-toml",
"requirements-txt",
"rustc-hash",
"serde",

View File

@ -102,7 +102,6 @@ platform-info = { version = "2.0.2" }
pubgrub = { git = "https://github.com/astral-sh/pubgrub", rev = "c26e485213e39582c6f2e4d45c0328422670e7a7" }
pyo3 = { version = "0.20.3" }
pyo3-log = { version = "0.9.0" }
pyproject-toml = { version = "0.10.0" }
rand = { version = "0.8.5" }
rayon = { version = "1.8.0" }
reflink-copy = { version = "0.1.15" }

View File

@ -18,15 +18,12 @@ workspace = true
[dependencies]
distribution-filename = { workspace = true }
distribution-types = { workspace = true }
install-wheel-rs = { workspace = true }
pep440_rs = { workspace = true }
pep508_rs = { workspace = true }
platform-tags = { workspace = true }
uv-build = { workspace = true }
uv-cache = { workspace = true, features = ["clap"] }
uv-client = { workspace = true }
uv-dispatch = { workspace = true }
uv-distribution = { workspace = true }
uv-installer = { workspace = true }
uv-interpreter = { workspace = true }
uv-normalize = { workspace = true }

View File

@ -34,7 +34,6 @@ anyhow = { workspace = true }
async-channel = { workspace = true }
fs-err = { workspace = true }
futures = { workspace = true }
pyproject-toml = { workspace = true }
rayon = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }

View File

@ -1,4 +1,3 @@
use pyproject_toml::Project;
use serde::Deserialize;
use distribution_types::{
@ -97,6 +96,12 @@ struct PyProjectToml {
tool: Option<Tool>,
}
#[derive(Deserialize, Debug)]
#[serde(rename_all = "kebab-case")]
struct Project {
dynamic: Option<Vec<String>>,
}
#[derive(Deserialize, Debug)]
struct Tool {
poetry: Option<ToolPoetry>,

View File

@ -31,7 +31,6 @@ ctrlc = { workspace = true }
fs-err = { workspace = true, features = ["tokio"] }
futures = { workspace = true }
indexmap = { workspace = true }
pyproject-toml = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }