diff --git a/Cargo.lock b/Cargo.lock index d2dbfd450..04887d74a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5488,8 +5488,8 @@ dependencies = [ "uv-trampoline-builder", "uv-warnings", "which", - "windows-registry 0.4.0", - "windows-result 0.3.0", + "windows-registry 0.5.0", + "windows-result 0.3.1", "windows-sys 0.59.0", ] @@ -6141,8 +6141,8 @@ checksum = "810ce18ed2112484b0d4e15d022e5f598113e220c53e373fb31e67e21670c1ce" dependencies = [ "windows-implement 0.59.0", "windows-interface 0.59.0", - "windows-result 0.3.0", - "windows-strings 0.3.0", + "windows-result 0.3.1", + "windows-strings 0.3.1", "windows-targets 0.53.0", ] @@ -6212,6 +6212,12 @@ dependencies = [ "syn", ] +[[package]] +name = "windows-link" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3" + [[package]] name = "windows-registry" version = "0.2.0" @@ -6225,13 +6231,13 @@ dependencies = [ [[package]] name = "windows-registry" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" +checksum = "6c44a98275e31bfd112bb06ba96c8ab13c03383a3753fdddd715406a1824c7e0" dependencies = [ - "windows-result 0.3.0", - "windows-strings 0.3.0", - "windows-targets 0.53.0", + "windows-link", + "windows-result 0.3.1", + "windows-strings 0.3.1", ] [[package]] @@ -6254,11 +6260,11 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d08106ce80268c4067c0571ca55a9b4e9516518eaa1a1fe9b37ca403ae1d1a34" +checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189" dependencies = [ - "windows-targets 0.53.0", + "windows-link", ] [[package]] @@ -6273,11 +6279,11 @@ dependencies = [ [[package]] name = "windows-strings" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b888f919960b42ea4e11c2f408fadb55f78a9f236d5eef084103c8ce52893491" +checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" dependencies = [ - "windows-targets 0.53.0", + "windows-link", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 983456d86..06e9e9f89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -180,7 +180,7 @@ url = { version = "2.5.2", features = ["serde"] } version-ranges = { git = "https://github.com/astral-sh/pubgrub", rev = "b70cf707aa43f21b32f3a61b8a0889b15032d5c4" } walkdir = { version = "2.5.0" } which = { version = "7.0.0", features = ["regex"] } -windows-registry = { version = "0.4.0" } +windows-registry = { version = "0.5.0" } windows-result = { version = "0.3.0" } windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Ioctl", "Win32_System_IO"] } winreg = { version = "0.53.0" } diff --git a/crates/uv-python/src/windows_registry.rs b/crates/uv-python/src/windows_registry.rs index 67d1f784a..7589c9e47 100644 --- a/crates/uv-python/src/windows_registry.rs +++ b/crates/uv-python/src/windows_registry.rs @@ -161,9 +161,9 @@ fn write_registry_entry( ); tag.set_string("DisplayName", &display_name)?; tag.set_string("SupportUrl", "https://github.com/astral-sh/uv")?; - tag.set_string("Version", &installation.key().version().to_string())?; - tag.set_string("SysVersion", &installation.key().sys_version())?; - tag.set_string("SysArchitecture", &format!("{pointer_width}bit"))?; + tag.set_string("Version", installation.key().version().to_string())?; + tag.set_string("SysVersion", installation.key().sys_version())?; + tag.set_string("SysArchitecture", format!("{pointer_width}bit"))?; // Store `python-build-standalone` release if let Some(url) = installation.url() { tag.set_string("DownloadUrl", url)?;