1
Fork 0
mirror of https://github.com/redstrate/LauncherTweaks.git synced 2025-05-20 17:37:46 +00:00

Replace mmap-fixed-fixed with my fork which removes the winapi crate

With that, we finally don't have to build *two* windows crates but just
one!
This commit is contained in:
Joshua Goins 2025-04-20 13:26:02 -04:00
parent 32cec1760d
commit c674c6c481
2 changed files with 11 additions and 24 deletions

32
Cargo.lock generated
View file

@ -113,9 +113,15 @@ name = "mmap-fixed-fixed"
version = "0.1.3" version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0681853891801e4763dc252e843672faf32bcfee27a0aa3b19733902af450acc" checksum = "0681853891801e4763dc252e843672faf32bcfee27a0aa3b19733902af450acc"
replace = "mmap-fixed-fixed 0.1.3 (git+https://github.com/redstrate/rust-mmap-fixed-fixed)"
[[package]]
name = "mmap-fixed-fixed"
version = "0.1.3"
source = "git+https://github.com/redstrate/rust-mmap-fixed-fixed#f0f1520b6f4c9a6f054f3b59301cfafe138ce47c"
dependencies = [ dependencies = [
"libc", "libc",
"winapi", "windows",
] ]
[[package]] [[package]]
@ -191,7 +197,7 @@ dependencies = [
"generic-array", "generic-array",
"libc", "libc",
"libudis86-sys", "libudis86-sys",
"mmap-fixed-fixed", "mmap-fixed-fixed 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"once_cell", "once_cell",
"region", "region",
"slice-pool2", "slice-pool2",
@ -331,28 +337,6 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]] [[package]]
name = "windows" name = "windows"
version = "0.61.1" version = "0.61.1"

View file

@ -14,3 +14,6 @@ windows = { version = "0.61", features = ["Win32_Foundation", "Win32_System_Syst
serde = { version = "1.0", features = ["derive"], default-features = false } serde = { version = "1.0", features = ["derive"], default-features = false }
toml = { version = "0.8", features = ["parse"], default-features = false } toml = { version = "0.8", features = ["parse"], default-features = false }
retour = { version = "0.3", features = ["static-detour"], default-features = false } retour = { version = "0.3", features = ["static-detour"], default-features = false }
[replace]
"mmap-fixed-fixed:0.1.3" = { git = "https://github.com/redstrate/rust-mmap-fixed-fixed" } # my fork which removes the winapi dependency