Skip to content

Commit 494518a

Browse files
committed
Update getopts to remove unicode-width dependency
1 parent 831e291 commit 494518a

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

library/Cargo.lock

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ dependencies = [
9999

100100
[[package]]
101101
name = "getopts"
102-
version = "0.2.23"
102+
version = "0.2.24"
103103
source = "registry+https://github.com/rust-lang/crates.io-index"
104-
checksum = "cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1"
104+
checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
105105
dependencies = [
106106
"rustc-std-workspace-core",
107107
"rustc-std-workspace-std",
108-
"unicode-width",
109108
]
110109

111110
[[package]]
@@ -360,16 +359,6 @@ dependencies = [
360359
"std",
361360
]
362361

363-
[[package]]
364-
name = "unicode-width"
365-
version = "0.2.1"
366-
source = "registry+https://github.com/rust-lang/crates.io-index"
367-
checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
368-
dependencies = [
369-
"rustc-std-workspace-core",
370-
"rustc-std-workspace-std",
371-
]
372-
373362
[[package]]
374363
name = "unwind"
375364
version = "0.0.0"

library/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.0.0"
66
edition = "2024"
77

88
[dependencies]
9-
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] }
9+
getopts = { version = "0.2.24", default-features = false, features = ['rustc-dep-of-std'] }
1010
std = { path = "../std", public = true }
1111
core = { path = "../core", public = true }
1212

src/tools/tidy/src/deps.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ const PERMITTED_STDLIB_DEPENDENCIES: &[&str] = &[
478478
"rustc-demangle",
479479
"rustc-literal-escaper",
480480
"shlex",
481-
"unicode-width",
482481
"unwinding",
483482
"wasi",
484483
"windows-sys",

0 commit comments

Comments
 (0)