From 1356a14d01cbba61f2615f30d4ab0683e975bbe7 Mon Sep 17 00:00:00 2001 From: pozm <44528100+pozm@users.noreply.github.com> Date: Sun, 11 Feb 2024 17:42:55 +0000 Subject: [PATCH] switch poggers to git dep --- Cargo.lock | 45 ++++++++++++++++++++++++++++++++++++++++----- gdkeinj/Cargo.toml | 4 ++-- 2 files changed, 42 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f5ea24..047d0c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -181,7 +181,7 @@ version = "0.1.0" dependencies = [ "anyhow", "dll-syringe", - "poggers", + "poggers 1.1.6", "windows", ] @@ -189,8 +189,8 @@ dependencies = [ name = "gdkeinj" version = "0.1.0" dependencies = [ - "poggers", - "poggers-derive", + "poggers 1.1.6 (git+https://github.com/pozm/poggers.git)", + "poggers-derive 0.1.5 (git+https://github.com/pozm/poggers.git)", "retour", ] @@ -350,6 +350,14 @@ dependencies = [ "bindgen", ] +[[package]] +name = "macos-libproc" +version = "0.1.0" +source = "git+https://github.com/pozm/poggers.git#cc24264792ba93b8c25456cacb34c188e49e0998" +dependencies = [ + "bindgen", +] + [[package]] name = "memchr" version = "2.5.0" @@ -455,8 +463,24 @@ dependencies = [ "ctor", "libc", "mach", - "macos-libproc", - "poggers-derive", + "macos-libproc 0.1.0", + "poggers-derive 0.1.5", + "thiserror", + "widestring", + "windows", +] + +[[package]] +name = "poggers" +version = "1.1.6" +source = "git+https://github.com/pozm/poggers.git#cc24264792ba93b8c25456cacb34c188e49e0998" +dependencies = [ + "bitfield-struct", + "ctor", + "libc", + "mach", + "macos-libproc 0.1.0 (git+https://github.com/pozm/poggers.git)", + "poggers-derive 0.1.5 (git+https://github.com/pozm/poggers.git)", "thiserror", "widestring", "windows", @@ -472,6 +496,17 @@ dependencies = [ "syn 2.0.48", ] +[[package]] +name = "poggers-derive" +version = "0.1.5" +source = "git+https://github.com/pozm/poggers.git#cc24264792ba93b8c25456cacb34c188e49e0998" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "prettyplease" version = "0.2.15" diff --git a/gdkeinj/Cargo.toml b/gdkeinj/Cargo.toml index 16a0cf2..aa8b229 100644 --- a/gdkeinj/Cargo.toml +++ b/gdkeinj/Cargo.toml @@ -8,6 +8,6 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -poggers = { path = "../../poggers" } -poggers-derive = { path = "../../poggers/poggers-derive/" } +poggers = { git = "https://github.com/pozm/poggers.git" } +poggers-derive = { git = "https://github.com/pozm/poggers.git" } retour = { version = "0.3.1", features = ["static-detour"] }