Move to workspace dependencies (#25)

This commit is contained in:
Charlie Marsh 2023-10-06 15:49:41 -04:00 committed by GitHub
parent dab70a661a
commit ca6aa207ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 99 additions and 72 deletions

View file

@ -10,3 +10,41 @@ documentation = "https://astral.sh"
repository = "https://github.com/astral-sh/puffin" repository = "https://github.com/astral-sh/puffin"
authors = ["Astral Software Inc. <hey@astral.sh>"] authors = ["Astral Software Inc. <hey@astral.sh>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
[workspace.dependencies]
anyhow = { version = "1.0.75" }
async-std = { version = "1.12.0", features = [
"attributes",
"tokio1",
"unstable",
] }
bitflags = { version = "2.4.0" }
clap = { version = "4.4.6" }
colored = { version = "2.0.4" }
directories = { version = "5.0.1" }
futures = { version = "0.3.28" }
glibc_version = { version = "0.1.2" }
goblin = { version = "0.7.1" }
http-cache-reqwest = { version = "0.11.3" }
install-wheel-rs = { version = "0.0.1" }
mailparse = { version = "0.14.0" }
memchr = { version = "2.6.4" }
once_cell = { version = "1.18.0" }
pep440_rs = { version = "0.3.12" }
pep508_rs = { version = "0.2.3" }
platform-info = { version = "2.0.2" }
plist = { version = "1.5.0" }
regex = { version = "1.9.6" }
reqwest = { version = "0.11.22", features = ["json", "gzip", "brotli", "stream"] }
reqwest-middleware = { version = "0.2.3" }
reqwest-retry = { version = "0.3.0" }
rfc2047-decoder = { version = "1.0.1" }
serde = { version = "1.0.188" }
serde_json = { version = "1.0.107" }
target-lexicon = { version = "0.12.11" }
tempfile = { version = "3.8.0" }
thiserror = { version = "1.0.49" }
tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tracing-tree = { version = "0.2.5" }
url = { version = "2.4.1" }

View file

@ -11,21 +11,17 @@ puffin-platform = { path = "../puffin-platform" }
puffin-package = { path = "../puffin-package" } puffin-package = { path = "../puffin-package" }
puffin-resolver = { path = "../puffin-resolver" } puffin-resolver = { path = "../puffin-resolver" }
anyhow = { version = "1.0.75" } anyhow = { workspace = true }
async-std = { version = "1.12.0", features = [ async-std = { workspace = true }
"attributes", clap = { workspace = true, features = ["derive"] }
"tokio1", colored = { workspace = true }
"unstable", directories = { workspace = true }
] } futures = { workspace = true }
clap = { version = "4.4.6", features = ["derive"] } install-wheel-rs = { workspace = true }
colored = { version = "2.0.4" } pep508_rs = { workspace = true }
directories = { version = "5.0.1" } pep440_rs = { workspace = true }
futures = { version = "0.3.28" } tracing = { workspace = true }
install-wheel-rs = { version = "0.0.1" } tracing-tree = { workspace = true }
pep508_rs = { version = "0.2.3" } tracing-subscriber = { workspace = true }
pep440_rs = { version = "0.3.12" } url = { workspace = true }
tracing = { version = "0.1.37" } tempfile = { workspace = true }
tracing-tree = { version = "0.2.5" }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
url = { version = "2.4.1" }
tempfile = { version = "3.8.0" }

View file

@ -6,14 +6,13 @@ edition = "2021"
[dependencies] [dependencies]
puffin-package = { path = "../puffin-package" } puffin-package = { path = "../puffin-package" }
http-cache-reqwest = { version = "0.11.3" } http-cache-reqwest = { workspace = true }
reqwest = { version = "0.11.22", features = ["json", "gzip", "brotli", "stream"] } reqwest = { workspace = true }
reqwest-middleware = { version = "0.2.3" } reqwest-middleware = { workspace = true }
reqwest-retry = { version = "0.3.0" } reqwest-retry = { workspace = true }
serde = { version = "1.0.188" } serde = { workspace = true }
serde_json = { version = "1.0.107" } serde_json = { workspace = true }
thiserror = { version = "1.0.49" } thiserror = { workspace = true }
url = { version = "2.4.1" } url = { workspace = true }
tracing = { version = "0.1.37" } tracing = { workspace = true }
futures = "0.3.28" futures = { workspace = true }

View file

@ -13,13 +13,9 @@ license.workspace = true
puffin-client = { path = "../puffin-client" } puffin-client = { path = "../puffin-client" }
puffin-interpreter = { path = "../puffin-interpreter" } puffin-interpreter = { path = "../puffin-interpreter" }
anyhow = { version = "1.0.75" } anyhow = { workspace = true }
async-std = { version = "1.12.0", features = [ async-std = { workspace = true }
"attributes", install-wheel-rs = { workspace = true }
"tokio1", tempfile = { workspace = true }
"unstable", tracing = { workspace = true }
] } url = { workspace = true }
install-wheel-rs = { version = "0.0.1" }
tempfile = { version = "3.8.0" }
tracing = { version = "0.1.37" }
url = { version = "2.4.1" }

View file

@ -12,8 +12,8 @@ license.workspace = true
[dependencies] [dependencies]
puffin-platform = { path = "../puffin-platform" } puffin-platform = { path = "../puffin-platform" }
anyhow = { version = "1.0.75" } anyhow = { workspace = true }
pep508_rs = { version = "0.2.3", features = ["serde"] } pep440_rs = { workspace = true }
serde_json = { version = "1.0.107" } pep508_rs = { workspace = true }
tracing = { version = "0.1.37" } serde_json = { workspace = true }
pep440_rs = "0.3.12" tracing = { workspace = true }

View file

@ -6,16 +6,16 @@ edition = "2021"
[dependencies] [dependencies]
puffin-platform = { path = "../puffin-platform" } puffin-platform = { path = "../puffin-platform" }
anyhow = { version = "1.0.75" } anyhow = { workspace = true }
mailparse = { version = "0.14.0" } mailparse = { workspace = true }
memchr = { version = "2.6.4" } memchr = { workspace = true }
once_cell = { version = "1.18.0" } once_cell = { workspace = true }
pep440_rs = { version = "0.3.12", features = ["serde"] } pep440_rs = { workspace = true, features = ["serde"] }
pep508_rs = { version = "0.2.3", features = ["serde"] } pep508_rs = { workspace = true, features = ["serde"] }
regex = { version = "1.9.6" } regex = { workspace = true }
rfc2047-decoder = { version = "1.0.1" } rfc2047-decoder = { workspace = true }
serde = { version = "1.0.188" } serde = { workspace = true }
thiserror = { version = "1.0.49" } thiserror = { workspace = true }
[dev-dependencies] [dev-dependencies]
criterion = { version = "0.5.1" } criterion = { version = "0.5.1" }

View file

@ -9,16 +9,14 @@ repository.workspace = true
authors.workspace = true authors.workspace = true
license.workspace = true license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
glibc_version = "0.1.2" glibc_version = { workspace = true }
goblin = "0.6.0" goblin = { workspace = true }
pep440_rs = "0.3.12" pep440_rs = { workspace = true }
platform-info = "2.0.2" platform-info = { workspace = true }
plist = "1.5.0" plist = { workspace = true }
regex = "1.9.6" regex = { workspace = true }
serde = "1.0.188" serde = { workspace = true }
target-lexicon = "0.12.11" target-lexicon = { workspace = true }
thiserror = "1.0.49" thiserror = { workspace = true }
tracing = "0.1.37" tracing = { workspace = true }

View file

@ -14,9 +14,9 @@ puffin-client = { path = "../puffin-client" }
puffin-platform = { path = "../puffin-platform" } puffin-platform = { path = "../puffin-platform" }
puffin-package = { path = "../puffin-package" } puffin-package = { path = "../puffin-package" }
pep440_rs = "0.3.12" anyhow = { workspace = true }
futures = "0.3.28" bitflags = { workspace = true }
anyhow = "1.0.75" futures = { workspace = true }
tracing = "0.1.37" pep440_rs = { workspace = true }
pep508_rs = "0.2.3" pep508_rs = { workspace = true }
bitflags = "2.4.0" tracing = { workspace = true }