Update cargo shear (#17106)

Requires a companion PR that updates the GitHub Action.
This commit is contained in:
konsti 2025-12-15 18:46:35 +01:00 committed by GitHub
parent a5d50a20d2
commit af95677b9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 5 additions and 24 deletions

View File

@ -233,7 +233,7 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- name: "Install cargo shear" - name: "Install cargo shear"
uses: taiki-e/install-action@a416ddeedbd372e614cc1386e8b642692f66865e # v2.57.1 uses: taiki-e/install-action@d850aa816998e5cf15f67a78c7b933f2a5033f8a # v2.63.3
with: with:
tool: cargo-shear tool: cargo-shear
- run: cargo shear - run: cargo shear

1
Cargo.lock generated
View File

@ -5429,7 +5429,6 @@ dependencies = [
"flate2", "flate2",
"fs-err", "fs-err",
"futures", "futures",
"h2",
"http", "http",
"ignore", "ignore",
"indexmap", "indexmap",

View File

@ -225,9 +225,6 @@ test-log = { version = "0.2.16", features = ["trace"], default-features = false
tokio-rustls = { version = "0.26.2", default-features = false } tokio-rustls = { version = "0.26.2", default-features = false }
whoami = { version = "1.6.0" } whoami = { version = "1.6.0" }
[workspace.metadata.cargo-shear]
ignored = ["flate2", "xz2", "h2", "uv-performance-memory-allocator"]
[workspace.lints.rust] [workspace.lints.rust]
unsafe_code = "warn" unsafe_code = "warn"
unreachable_pub = "warn" unreachable_pub = "warn"

View File

@ -22,14 +22,14 @@ name = "uv"
path = "benches/uv.rs" path = "benches/uv.rs"
harness = false harness = false
[dependencies] [dev-dependencies]
uv-cache = { workspace = true } uv-cache = { workspace = true }
uv-client = { workspace = true } uv-client = { workspace = true }
uv-configuration = { workspace = true } uv-configuration = { workspace = true }
uv-dispatch = { workspace = true } uv-dispatch = { workspace = true }
uv-distribution = { workspace = true } uv-distribution = { workspace = true }
uv-distribution-types = { workspace = true } uv-distribution-types = { workspace = true }
uv-extract = { workspace = true, optional = true } uv-extract = { workspace = true }
uv-install-wheel = { workspace = true } uv-install-wheel = { workspace = true }
uv-pep440 = { workspace = true } uv-pep440 = { workspace = true }
uv-pep508 = { workspace = true } uv-pep508 = { workspace = true }

View File

@ -79,4 +79,4 @@ performance-memory-allocator = ["dep:uv-performance-memory-allocator"]
render = ["poloto", "resvg", "tagu"] render = ["poloto", "resvg", "tagu"]
[package.metadata.cargo-shear] [package.metadata.cargo-shear]
ignored = ["flate2", "uv-extract", "uv-performance-memory-allocator"] ignored = ["uv-performance-memory-allocator"]

View File

@ -55,6 +55,3 @@ tempfile = { workspace = true }
[features] [features]
schemars = ["dep:schemars", "uv-pypi-types/schemars", "uv-redacted/schemars"] schemars = ["dep:schemars", "uv-pypi-types/schemars", "uv-redacted/schemars"]
[package.metadata.cargo-shear]
ignored = ["uv-options-metadata"]

View File

@ -71,14 +71,12 @@ axoupdater = { workspace = true, features = [
"github_releases", "github_releases",
"tokio", "tokio",
], optional = true } ], optional = true }
base64 = { workspace = true }
clap = { workspace = true, features = ["derive", "string", "wrap_help"] } clap = { workspace = true, features = ["derive", "string", "wrap_help"] }
console = { workspace = true } console = { workspace = true }
ctrlc = { workspace = true } ctrlc = { workspace = true }
diskus = { workspace = true } diskus = { workspace = true }
dotenvy = { workspace = true } dotenvy = { workspace = true }
dunce = { workspace = true } dunce = { workspace = true }
flate2 = { workspace = true, default-features = false }
fs-err = { workspace = true, features = ["tokio"] } fs-err = { workspace = true, features = ["tokio"] }
futures = { workspace = true } futures = { workspace = true }
http = { workspace = true } http = { workspace = true }
@ -86,23 +84,19 @@ indexmap = { workspace = true }
indicatif = { workspace = true } indicatif = { workspace = true }
indoc = { workspace = true } indoc = { workspace = true }
itertools = { workspace = true } itertools = { workspace = true }
h2 = { workspace = true }
miette = { workspace = true, features = ["fancy-no-backtrace"] } miette = { workspace = true, features = ["fancy-no-backtrace"] }
open = { workspace = true } open = { workspace = true }
owo-colors = { workspace = true } owo-colors = { workspace = true }
petgraph = { workspace = true } petgraph = { workspace = true }
regex = { workspace = true }
reqwest = { workspace = true } reqwest = { workspace = true }
rkyv = { workspace = true } rkyv = { workspace = true }
rustc-hash = { workspace = true } rustc-hash = { workspace = true }
serde = { workspace = true } serde = { workspace = true }
serde_json = { workspace = true } serde_json = { workspace = true }
tar = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }
textwrap = { workspace = true } textwrap = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
tokio = { workspace = true } tokio = { workspace = true }
tokio-util = { workspace = true }
toml = { workspace = true } toml = { workspace = true }
toml_edit = { workspace = true } toml_edit = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
@ -148,6 +142,7 @@ sha2 = { workspace = true }
similar = { workspace = true } similar = { workspace = true }
tar = { workspace = true } tar = { workspace = true }
tempfile = { workspace = true } tempfile = { workspace = true }
tokio-util = { workspace = true }
whoami = { workspace = true } whoami = { workspace = true }
wiremock = { workspace = true } wiremock = { workspace = true }
zip = { workspace = true } zip = { workspace = true }
@ -155,13 +150,6 @@ zip = { workspace = true }
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
nix = { workspace = true } nix = { workspace = true }
[package.metadata.cargo-shear]
ignored = [
"flate2",
"h2",
"uv-performance-memory-allocator",
]
[features] [features]
default = ["performance", "uv-distribution/static", "default-tests"] default = ["performance", "uv-distribution/static", "default-tests"]
native-auth = [] native-auth = []