Consistent Cargo.toml syntax (#483)

Remove the last Cargo.toml inconsistencies, see
1526b3458a (r1401083681).
Now all `[dependencies]` are workspace dependencies.
This commit is contained in:
konsti 2023-11-22 09:34:08 +01:00 committed by GitHub
parent 934e32ea98
commit 7c7daa8f83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 18 deletions

View file

@ -20,12 +20,14 @@ bitflags = { version = "2.4.1" }
bytesize = { version = "1.3.0" } bytesize = { version = "1.3.0" }
cacache = { version = "12.0.0", default-features = false, features = ["tokio-runtime"] } cacache = { version = "12.0.0", default-features = false, features = ["tokio-runtime"] }
camino = { version = "1.1.6", features = ["serde1"] } camino = { version = "1.1.6", features = ["serde1"] }
cargo-util = { version = "0.2.6" }
chrono = { version = "0.4.31" }
clap = { version = "4.4.7" } clap = { version = "4.4.7" }
colored = { version = "2.0.4" } colored = { version = "2.0.4" }
configparser = { version = "3.0.2" } configparser = { version = "3.0.2" }
chrono = { version = "0.4.31" }
csv = { version = "1.3.0" } csv = { version = "1.3.0" }
data-encoding = { version = "2.4.0" } data-encoding = { version = "2.4.0" }
derivative = { version = "2.2.0" }
directories = { version = "5.0.1" } directories = { version = "5.0.1" }
dirs = { version = "5.0.1" } dirs = { version = "5.0.1" }
flate2 = { version = "1.0.28" } flate2 = { version = "1.0.28" }
@ -33,6 +35,7 @@ fs-err = { version = "2.9.0" }
fs2 = { version = "0.4.3" } fs2 = { version = "0.4.3" }
futures = { version = "0.3.29" } futures = { version = "0.3.29" }
fxhash = { version = "0.2.1" } fxhash = { version = "0.2.1" }
git2 = { version = "0.18.1" }
glob = { version = "0.3.1" } glob = { version = "0.3.1" }
goblin = { version = "0.7.1" } goblin = { version = "0.7.1" }
hex = { version = "0.4.3" } hex = { version = "0.4.3" }
@ -50,6 +53,8 @@ petgraph = { version = "0.6.4" }
platform-info = { version = "2.0.2" } platform-info = { version = "2.0.2" }
plist = { version = "1.6.0" } plist = { version = "1.6.0" }
pubgrub = { git = "https://github.com/zanieb/pubgrub", rev = "725b9a8e323c9ae0727fed2d045bad64eb212167" } pubgrub = { git = "https://github.com/zanieb/pubgrub", rev = "725b9a8e323c9ae0727fed2d045bad64eb212167" }
pyo3 = { version = "0.20.0" }
pyo3-log = { version = "0.9.0"}
pyproject-toml = { version = "0.8.0" } pyproject-toml = { version = "0.8.0" }
rand = { version = "0.8.5" } rand = { version = "0.8.5" }
rayon = { version = "1.8.0" } rayon = { version = "1.8.0" }
@ -66,6 +71,7 @@ sha2 = { version = "0.10.8" }
tar = { version = "0.4.40" } tar = { version = "0.4.40" }
target-lexicon = { version = "0.12.12" } target-lexicon = { version = "0.12.12" }
tempfile = { version = "3.8.1" } tempfile = { version = "3.8.1" }
textwrap = { version = "0.15.2" }
thiserror = { version = "1.0.50" } thiserror = { version = "1.0.50" }
tokio = { version = "1.33.0", features = ["rt-multi-thread"] } tokio = { version = "1.33.0", features = ["rt-multi-thread"] }
tokio-util = { version = "0.7.10", features = ["compat"] } tokio-util = { version = "0.7.10", features = ["compat"] }

View file

@ -20,7 +20,7 @@ path = "benches/distribution_filename.rs"
harness = false harness = false
[dependencies] [dependencies]
criterion = { version = "0.5.1", default-features = false } distribution-filename = { path = "../distribution-filename" }
platform-tags = { path = "../platform-tags" }
distribution-filename.path = "../distribution-filename" criterion = { version = "0.5.1", default-features = false }
platform-tags.path = "../platform-tags"

View file

@ -35,8 +35,8 @@ mailparse = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
platform-info = { workspace = true } platform-info = { workspace = true }
plist = { workspace = true } plist = { workspace = true }
pyo3 = { version = "0.20.0", features = ["extension-module", "abi3-py37"], optional = true } pyo3 = { workspace = true, features = ["extension-module", "abi3-py37"], optional = true }
rayon = { version = "1.8.0", optional = true } rayon = { workspace = true, optional = true }
reflink-copy = { workspace = true } reflink-copy = { workspace = true }
regex = { workspace = true } regex = { workspace = true }
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }

View file

@ -18,12 +18,11 @@ crate-type = ["rlib", "cdylib"]
[dependencies] [dependencies]
once_cell = { workspace = true } once_cell = { workspace = true }
pyo3 = { workspace = true, optional = true, features = ["extension-module", "abi3-py37"] }
regex = { workspace = true } regex = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true } serde = { workspace = true, features = ["derive"], optional = true }
tracing = { workspace = true, optional = true } tracing = { workspace = true, optional = true }
unicode-width = { workspace = true } unicode-width = { workspace = true }
pyo3 = { version = "0.20", optional = true, features = ["extension-module", "abi3-py37"] }
[dev-dependencies] [dev-dependencies]
indoc = "2.0.4" indoc = "2.0.4"

View file

@ -21,6 +21,8 @@ pep440_rs = { path = "../pep440-rs" }
puffin-normalize = { path = "../puffin-normalize" } puffin-normalize = { path = "../puffin-normalize" }
once_cell = { workspace = true } once_cell = { workspace = true }
pyo3 = { workspace = true, optional = true, features = ["abi3", "extension-module"] }
pyo3-log = { workspace = true, optional = true }
regex = { workspace = true } regex = { workspace = true }
serde = { workspace = true, features = ["derive"], optional = true } serde = { workspace = true, features = ["derive"], optional = true }
serde_json = { workspace = true, optional = true } serde_json = { workspace = true, optional = true }
@ -29,9 +31,6 @@ tracing = { workspace = true, features = ["log"] }
unicode-width = { workspace = true } unicode-width = { workspace = true }
url = { workspace = true, features = ["serde"] } url = { workspace = true, features = ["serde"] }
pyo3 = { version = "0.20.0", optional = true, features = ["abi3", "extension-module"] }
pyo3-log = { version = "0.9.0", optional = true }
[dev-dependencies] [dev-dependencies]
indoc = "2.0.4" indoc = "2.0.4"
log = "0.4.20" log = "0.4.20"

View file

@ -14,8 +14,6 @@ name = "puffin"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
textwrap = { version = "0.15.2" }
gourgeist = { path = "../gourgeist" } gourgeist = { path = "../gourgeist" }
install-wheel-rs = { path = "../install-wheel-rs", default-features = false } install-wheel-rs = { path = "../install-wheel-rs", default-features = false }
pep440_rs = { path = "../pep440-rs" } pep440_rs = { path = "../pep440-rs" }
@ -50,6 +48,7 @@ miette = { workspace = true, features = ["fancy"] }
pubgrub = { workspace = true } pubgrub = { workspace = true }
pyproject-toml = { workspace = true } pyproject-toml = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }
textwrap = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
toml = { workspace = true } toml = { workspace = true }

View file

@ -13,8 +13,8 @@ license = { workspace = true }
puffin-cache = { path = "../puffin-cache" } puffin-cache = { path = "../puffin-cache" }
anyhow = { workspace = true } anyhow = { workspace = true }
cargo-util = { version = "0.2.6" } cargo-util = { workspace = true }
git2 = { version = "0.18.1" } git2 = { workspace = true }
glob = { workspace = true } glob = { workspace = true }
hex = { workspace = true } hex = { workspace = true }
once_cell = { workspace = true } once_cell = { workspace = true }
@ -23,7 +23,7 @@ serde = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
url = { workspace = true } url = { workspace = true }
reqwest = { workspace = true, features = ["blocking"] } reqwest = { workspace = true, features = ["blocking"] }
tokio.workspace = true tokio = { workspace = true }
[features] [features]
vendored-libgit2 = ["git2/vendored-libgit2"] vendored-libgit2 = ["git2/vendored-libgit2"]

View file

@ -47,7 +47,7 @@ tracing = { workspace = true }
url = { workspace = true } url = { workspace = true }
waitmap = { workspace = true } waitmap = { workspace = true }
zip = { workspace = true } zip = { workspace = true }
derivative = { version = "2.2.0" } derivative = { workspace = true }
sha2 = { workspace = true } sha2 = { workspace = true }
[dev-dependencies] [dev-dependencies]

View file

@ -23,7 +23,7 @@ tracing = { workspace = true }
unscanny = { workspace = true } unscanny = { workspace = true }
[dev-dependencies] [dev-dependencies]
anyhow = { workspace = true } anyhow = { version = "1.0.75" }
indoc = { version = "2.0.4" } indoc = { version = "2.0.4" }
insta = { version = "1.34.0" } insta = { version = "1.34.0" }
serde_json = { version = "1.0.108" } serde_json = { version = "1.0.108" }