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", "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]] [[package]]
name = "quote" name = "quote"
version = "1.0.35" version = "1.0.35"
@ -4495,14 +4482,12 @@ dependencies = [
"fs-err", "fs-err",
"futures", "futures",
"indicatif", "indicatif",
"install-wheel-rs",
"itertools 0.12.1", "itertools 0.12.1",
"mimalloc", "mimalloc",
"owo-colors", "owo-colors",
"pep440_rs", "pep440_rs",
"pep508_rs", "pep508_rs",
"petgraph", "petgraph",
"platform-tags",
"poloto", "poloto",
"resvg", "resvg",
"rustc-hash", "rustc-hash",
@ -4519,7 +4504,6 @@ dependencies = [
"uv-cache", "uv-cache",
"uv-client", "uv-client",
"uv-dispatch", "uv-dispatch",
"uv-distribution",
"uv-installer", "uv-installer",
"uv-interpreter", "uv-interpreter",
"uv-normalize", "uv-normalize",
@ -4658,7 +4642,6 @@ dependencies = [
"pep508_rs", "pep508_rs",
"platform-tags", "platform-tags",
"pypi-types", "pypi-types",
"pyproject-toml",
"rayon", "rayon",
"requirements-txt", "requirements-txt",
"rustc-hash", "rustc-hash",
@ -4736,7 +4719,6 @@ dependencies = [
"indexmap", "indexmap",
"pep508_rs", "pep508_rs",
"pypi-types", "pypi-types",
"pyproject-toml",
"requirements-txt", "requirements-txt",
"rustc-hash", "rustc-hash",
"serde", "serde",

View File

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

View File

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

View File

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

View File

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

View File

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