From c15bf36e8ffeca1075757186817ae12e87dc5608 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 20 Apr 2025 12:32:59 -0400 Subject: [PATCH] Update to my fork of skidscan It contains various fixes and improvements, such as porting from the winapi crate to the official windows one. --- Cargo.lock | 41 +++++++++-------------------------------- Cargo.toml | 4 ++-- 2 files changed, 11 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7324966..01561e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -126,12 +126,11 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" [[package]] name = "proc-macro-crate" -version = "1.3.1" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" dependencies = [ - "once_cell", - "toml_edit 0.19.15", + "toml_edit", ] [[package]] @@ -236,22 +235,20 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "skidscan" version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3c2ec2f6baba2d1d58590fee1627bc6899fdc0ccb9006521d5f87ac78e375b9" +source = "git+https://github.com/redstrate/skidscan#aeb4df43968cc98445b2c7df599e533883f8aa71" dependencies = [ "libc", "skidscan-macros", - "winapi", + "windows", ] [[package]] name = "skidscan-macros" version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881ef2150f0e4e2a855bb661a3ecd621ab1b6aa07b34aef941d1bd37b4267e8d" +source = "git+https://github.com/redstrate/skidscan#aeb4df43968cc98445b2c7df599e533883f8aa71" dependencies = [ "proc-macro-crate", - "syn 1.0.109", + "syn 2.0.100", ] [[package]] @@ -291,7 +288,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.24", + "toml_edit", ] [[package]] @@ -303,17 +300,6 @@ dependencies = [ "serde", ] -[[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap", - "toml_datetime", - "winnow 0.5.40", -] - [[package]] name = "toml_edit" version = "0.22.24" @@ -324,7 +310,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow 0.7.6", + "winnow", ] [[package]] @@ -541,15 +527,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" -[[package]] -name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] - [[package]] name = "winnow" version = "0.7.6" diff --git a/Cargo.toml b/Cargo.toml index d6264f4..09769b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ crate-type = ["cdylib"] name = "winhttp" [dependencies] -skidscan = { version = "2.0", default-features = false } -proxy-dll = { git = "https://github.com/redstrate/dll-proxy-rs/", default-features = false } # needed to cross-compile from Linux +skidscan = { git = "https://github.com/redstrate/skidscan", default-features = false } # my fork which contains various fixes +proxy-dll = { git = "https://github.com/redstrate/dll-proxy-rs/", default-features = false } # my fork which contains various fixes and needed to cross-compile from Linux windows = { version = "0.61", features = ["Win32_Foundation", "Win32_System_SystemServices", "Win32_UI_WindowsAndMessaging", "Win32_System_LibraryLoader", "Win32_Networking_WinHttp"], default-features = false } serde = { version = "1.0", features = ["derive"], default-features = false } toml = { version = "0.8", features = ["parse"], default-features = false }