diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce42606e3..8cfe1f152 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -233,7 +233,7 @@ jobs: with: persist-credentials: false - name: "Install cargo shear" - uses: taiki-e/install-action@a416ddeedbd372e614cc1386e8b642692f66865e # v2.57.1 + uses: taiki-e/install-action@d850aa816998e5cf15f67a78c7b933f2a5033f8a # v2.63.3 with: tool: cargo-shear - run: cargo shear diff --git a/Cargo.lock b/Cargo.lock index e2911b7ec..456ab1620 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5429,7 +5429,6 @@ dependencies = [ "flate2", "fs-err", "futures", - "h2", "http", "ignore", "indexmap", diff --git a/Cargo.toml b/Cargo.toml index 2204419d8..f985df7be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -225,9 +225,6 @@ test-log = { version = "0.2.16", features = ["trace"], default-features = false tokio-rustls = { version = "0.26.2", default-features = false } whoami = { version = "1.6.0" } -[workspace.metadata.cargo-shear] -ignored = ["flate2", "xz2", "h2", "uv-performance-memory-allocator"] - [workspace.lints.rust] unsafe_code = "warn" unreachable_pub = "warn" diff --git a/crates/uv-bench/Cargo.toml b/crates/uv-bench/Cargo.toml index c56f9170e..5c8bea312 100644 --- a/crates/uv-bench/Cargo.toml +++ b/crates/uv-bench/Cargo.toml @@ -22,14 +22,14 @@ name = "uv" path = "benches/uv.rs" harness = false -[dependencies] +[dev-dependencies] uv-cache = { workspace = true } uv-client = { workspace = true } uv-configuration = { workspace = true } uv-dispatch = { workspace = true } uv-distribution = { workspace = true } uv-distribution-types = { workspace = true } -uv-extract = { workspace = true, optional = true } +uv-extract = { workspace = true } uv-install-wheel = { workspace = true } uv-pep440 = { workspace = true } uv-pep508 = { workspace = true } diff --git a/crates/uv-dev/Cargo.toml b/crates/uv-dev/Cargo.toml index 6a3d53022..6d1b03883 100644 --- a/crates/uv-dev/Cargo.toml +++ b/crates/uv-dev/Cargo.toml @@ -79,4 +79,4 @@ performance-memory-allocator = ["dep:uv-performance-memory-allocator"] render = ["poloto", "resvg", "tagu"] [package.metadata.cargo-shear] -ignored = ["flate2", "uv-extract", "uv-performance-memory-allocator"] +ignored = ["uv-performance-memory-allocator"] diff --git a/crates/uv-workspace/Cargo.toml b/crates/uv-workspace/Cargo.toml index a01416a49..816576618 100644 --- a/crates/uv-workspace/Cargo.toml +++ b/crates/uv-workspace/Cargo.toml @@ -55,6 +55,3 @@ tempfile = { workspace = true } [features] schemars = ["dep:schemars", "uv-pypi-types/schemars", "uv-redacted/schemars"] - -[package.metadata.cargo-shear] -ignored = ["uv-options-metadata"] diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 97c0a5476..6ee6df13f 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -71,14 +71,12 @@ axoupdater = { workspace = true, features = [ "github_releases", "tokio", ], optional = true } -base64 = { workspace = true } clap = { workspace = true, features = ["derive", "string", "wrap_help"] } console = { workspace = true } ctrlc = { workspace = true } diskus = { workspace = true } dotenvy = { workspace = true } dunce = { workspace = true } -flate2 = { workspace = true, default-features = false } fs-err = { workspace = true, features = ["tokio"] } futures = { workspace = true } http = { workspace = true } @@ -86,23 +84,19 @@ indexmap = { workspace = true } indicatif = { workspace = true } indoc = { workspace = true } itertools = { workspace = true } -h2 = { workspace = true } miette = { workspace = true, features = ["fancy-no-backtrace"] } open = { workspace = true } owo-colors = { workspace = true } petgraph = { workspace = true } -regex = { workspace = true } reqwest = { workspace = true } rkyv = { workspace = true } rustc-hash = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -tar = { workspace = true } tempfile = { workspace = true } textwrap = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } -tokio-util = { workspace = true } toml = { workspace = true } toml_edit = { workspace = true } tracing = { workspace = true } @@ -148,6 +142,7 @@ sha2 = { workspace = true } similar = { workspace = true } tar = { workspace = true } tempfile = { workspace = true } +tokio-util = { workspace = true } whoami = { workspace = true } wiremock = { workspace = true } zip = { workspace = true } @@ -155,13 +150,6 @@ zip = { workspace = true } [target.'cfg(unix)'.dependencies] nix = { workspace = true } -[package.metadata.cargo-shear] -ignored = [ - "flate2", - "h2", - "uv-performance-memory-allocator", -] - [features] default = ["performance", "uv-distribution/static", "default-tests"] native-auth = []