Update getopts to remove unicode-width dependency

This commit is contained in:
bjorn3
2025-08-29 15:06:54 +00:00
parent 831e291d3b
commit b0897f31b9
4 changed files with 6 additions and 18 deletions

View File

@@ -674,7 +674,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81"
dependencies = [ dependencies = [
"serde", "serde",
"termcolor", "termcolor",
"unicode-width 0.2.1", "unicode-width 0.1.14",
] ]
[[package]] [[package]]
@@ -1470,9 +1470,9 @@ dependencies = [
[[package]] [[package]]
name = "getopts" name = "getopts"
version = "0.2.23" version = "0.2.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1" checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
dependencies = [ dependencies = [
"unicode-width 0.2.1", "unicode-width 0.2.1",
] ]

View File

@@ -99,13 +99,12 @@ dependencies = [
[[package]] [[package]]
name = "getopts" name = "getopts"
version = "0.2.23" version = "0.2.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cba6ae63eb948698e300f645f87c70f76630d505f23b8907cf1e193ee85048c1" checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df"
dependencies = [ dependencies = [
"rustc-std-workspace-core", "rustc-std-workspace-core",
"rustc-std-workspace-std", "rustc-std-workspace-std",
"unicode-width",
] ]
[[package]] [[package]]
@@ -360,16 +359,6 @@ dependencies = [
"std", "std",
] ]
[[package]]
name = "unicode-width"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c"
dependencies = [
"rustc-std-workspace-core",
"rustc-std-workspace-std",
]
[[package]] [[package]]
name = "unwind" name = "unwind"
version = "0.0.0" version = "0.0.0"

View File

@@ -6,7 +6,7 @@ version = "0.0.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]
getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] } getopts = { version = "0.2.24", default-features = false, features = ['rustc-dep-of-std'] }
std = { path = "../std", public = true } std = { path = "../std", public = true }
core = { path = "../core", public = true } core = { path = "../core", public = true }

View File

@@ -478,7 +478,6 @@ const PERMITTED_STDLIB_DEPENDENCIES: &[&str] = &[
"rustc-demangle", "rustc-demangle",
"rustc-literal-escaper", "rustc-literal-escaper",
"shlex", "shlex",
"unicode-width",
"unwinding", "unwinding",
"wasi", "wasi",
"windows-sys", "windows-sys",