diff --git a/Cargo.toml b/Cargo.toml index 2066d672e..ff4b2095b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,41 @@ documentation = "https://astral.sh" repository = "https://github.com/astral-sh/puffin" authors = ["Astral Software Inc. "] 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" } diff --git a/crates/puffin-cli/Cargo.toml b/crates/puffin-cli/Cargo.toml index e62ec861d..70c0c9702 100644 --- a/crates/puffin-cli/Cargo.toml +++ b/crates/puffin-cli/Cargo.toml @@ -11,21 +11,17 @@ puffin-platform = { path = "../puffin-platform" } puffin-package = { path = "../puffin-package" } puffin-resolver = { path = "../puffin-resolver" } -anyhow = { version = "1.0.75" } -async-std = { version = "1.12.0", features = [ - "attributes", - "tokio1", - "unstable", -] } -clap = { version = "4.4.6", features = ["derive"] } -colored = { version = "2.0.4" } -directories = { version = "5.0.1" } -futures = { version = "0.3.28" } -install-wheel-rs = { version = "0.0.1" } -pep508_rs = { version = "0.2.3" } -pep440_rs = { version = "0.3.12" } -tracing = { version = "0.1.37" } -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" } +anyhow = { workspace = true } +async-std = { workspace = true } +clap = { workspace = true, features = ["derive"] } +colored = { workspace = true } +directories = { workspace = true } +futures = { workspace = true } +install-wheel-rs = { workspace = true } +pep508_rs = { workspace = true } +pep440_rs = { workspace = true } +tracing = { workspace = true } +tracing-tree = { workspace = true } +tracing-subscriber = { workspace = true } +url = { workspace = true } +tempfile = { workspace = true } diff --git a/crates/puffin-client/Cargo.toml b/crates/puffin-client/Cargo.toml index a62536014..3375fb997 100644 --- a/crates/puffin-client/Cargo.toml +++ b/crates/puffin-client/Cargo.toml @@ -6,14 +6,13 @@ edition = "2021" [dependencies] puffin-package = { path = "../puffin-package" } -http-cache-reqwest = { version = "0.11.3" } -reqwest = { version = "0.11.22", features = ["json", "gzip", "brotli", "stream"] } -reqwest-middleware = { version = "0.2.3" } -reqwest-retry = { version = "0.3.0" } -serde = { version = "1.0.188" } -serde_json = { version = "1.0.107" } -thiserror = { version = "1.0.49" } -url = { version = "2.4.1" } -tracing = { version = "0.1.37" } -futures = "0.3.28" - +http-cache-reqwest = { workspace = true } +reqwest = { workspace = true } +reqwest-middleware = { workspace = true } +reqwest-retry = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true } +url = { workspace = true } +tracing = { workspace = true } +futures = { workspace = true } diff --git a/crates/puffin-installer/Cargo.toml b/crates/puffin-installer/Cargo.toml index f1a1ec330..cd3769522 100644 --- a/crates/puffin-installer/Cargo.toml +++ b/crates/puffin-installer/Cargo.toml @@ -13,13 +13,9 @@ license.workspace = true puffin-client = { path = "../puffin-client" } puffin-interpreter = { path = "../puffin-interpreter" } -anyhow = { version = "1.0.75" } -async-std = { version = "1.12.0", features = [ - "attributes", - "tokio1", - "unstable", -] } -install-wheel-rs = { version = "0.0.1" } -tempfile = { version = "3.8.0" } -tracing = { version = "0.1.37" } -url = { version = "2.4.1" } +anyhow = { workspace = true } +async-std = { workspace = true } +install-wheel-rs = { workspace = true } +tempfile = { workspace = true } +tracing = { workspace = true } +url = { workspace = true } diff --git a/crates/puffin-interpreter/Cargo.toml b/crates/puffin-interpreter/Cargo.toml index 2e9fb9dbc..745442f57 100644 --- a/crates/puffin-interpreter/Cargo.toml +++ b/crates/puffin-interpreter/Cargo.toml @@ -12,8 +12,8 @@ license.workspace = true [dependencies] puffin-platform = { path = "../puffin-platform" } -anyhow = { version = "1.0.75" } -pep508_rs = { version = "0.2.3", features = ["serde"] } -serde_json = { version = "1.0.107" } -tracing = { version = "0.1.37" } -pep440_rs = "0.3.12" +anyhow = { workspace = true } +pep440_rs = { workspace = true } +pep508_rs = { workspace = true } +serde_json = { workspace = true } +tracing = { workspace = true } diff --git a/crates/puffin-package/Cargo.toml b/crates/puffin-package/Cargo.toml index 7dd5620cc..c61924c84 100644 --- a/crates/puffin-package/Cargo.toml +++ b/crates/puffin-package/Cargo.toml @@ -6,16 +6,16 @@ edition = "2021" [dependencies] puffin-platform = { path = "../puffin-platform" } -anyhow = { version = "1.0.75" } -mailparse = { version = "0.14.0" } -memchr = { version = "2.6.4" } -once_cell = { version = "1.18.0" } -pep440_rs = { version = "0.3.12", features = ["serde"] } -pep508_rs = { version = "0.2.3", features = ["serde"] } -regex = { version = "1.9.6" } -rfc2047-decoder = { version = "1.0.1" } -serde = { version = "1.0.188" } -thiserror = { version = "1.0.49" } +anyhow = { workspace = true } +mailparse = { workspace = true } +memchr = { workspace = true } +once_cell = { workspace = true } +pep440_rs = { workspace = true, features = ["serde"] } +pep508_rs = { workspace = true, features = ["serde"] } +regex = { workspace = true } +rfc2047-decoder = { workspace = true } +serde = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] criterion = { version = "0.5.1" } diff --git a/crates/puffin-platform/Cargo.toml b/crates/puffin-platform/Cargo.toml index 35491817b..9c7b82827 100644 --- a/crates/puffin-platform/Cargo.toml +++ b/crates/puffin-platform/Cargo.toml @@ -9,16 +9,14 @@ repository.workspace = true authors.workspace = true license.workspace = true -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] -glibc_version = "0.1.2" -goblin = "0.6.0" -pep440_rs = "0.3.12" -platform-info = "2.0.2" -plist = "1.5.0" -regex = "1.9.6" -serde = "1.0.188" -target-lexicon = "0.12.11" -thiserror = "1.0.49" -tracing = "0.1.37" +glibc_version = { workspace = true } +goblin = { workspace = true } +pep440_rs = { workspace = true } +platform-info = { workspace = true } +plist = { workspace = true } +regex = { workspace = true } +serde = { workspace = true } +target-lexicon = { workspace = true } +thiserror = { workspace = true } +tracing = { workspace = true } diff --git a/crates/puffin-resolver/Cargo.toml b/crates/puffin-resolver/Cargo.toml index 281b75094..0e57c37b6 100644 --- a/crates/puffin-resolver/Cargo.toml +++ b/crates/puffin-resolver/Cargo.toml @@ -14,9 +14,9 @@ puffin-client = { path = "../puffin-client" } puffin-platform = { path = "../puffin-platform" } puffin-package = { path = "../puffin-package" } -pep440_rs = "0.3.12" -futures = "0.3.28" -anyhow = "1.0.75" -tracing = "0.1.37" -pep508_rs = "0.2.3" -bitflags = "2.4.0" +anyhow = { workspace = true } +bitflags = { workspace = true } +futures = { workspace = true } +pep440_rs = { workspace = true } +pep508_rs = { workspace = true } +tracing = { workspace = true }