From 74583332cb9923b177fbaba27e6fce0a4249f6de Mon Sep 17 00:00:00 2001 From: "staffs@smukx.site" Date: Sun, 21 Jun 2026 01:38:33 +0530 Subject: [PATCH] fix #1: AES dependency placement in nt* templates by moving the dependencies placeholder above the windows-sys table --- Cargo.toml | 2 +- templates/ntAPC/Cargo.toml | 3 +-- templates/ntCRT/Cargo.toml | 3 +-- templates/ntEarlyCascade/Cargo.toml | 3 +-- templates/ntFIBER/Cargo.toml | 3 +-- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4949040..d04be21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "RustPacker" -version = "0.1.3" +version = "0.1.4" edition = "2021" authors = ["smukx "] diff --git a/templates/ntAPC/Cargo.toml b/templates/ntAPC/Cargo.toml index fc85f16..fd39da4 100644 --- a/templates/ntAPC/Cargo.toml +++ b/templates/ntAPC/Cargo.toml @@ -10,6 +10,7 @@ dyncvoke = { git = "https://git.smukx.site/smukx/Dyncvoke", default-features = f dyncvoke_core = { git = "https://git.smukx.site/smukx/Dyncvoke" } data = { git = "https://git.smukx.site/smukx/Dyncvoke" } {{DYNCVOKE_EXTRA_DEPS}} +{{DEPENDENCIES}} [dependencies.windows-sys] version = "0.61" @@ -19,8 +20,6 @@ features = [ "Win32_System_Threading", ] -{{DEPENDENCIES}} - [profile.release] strip = true opt-level = "z" diff --git a/templates/ntCRT/Cargo.toml b/templates/ntCRT/Cargo.toml index 39419e9..c82dede 100644 --- a/templates/ntCRT/Cargo.toml +++ b/templates/ntCRT/Cargo.toml @@ -10,6 +10,7 @@ dyncvoke = { git = "https://git.smukx.site/smukx/Dyncvoke", default-features = f dyncvoke_core = { git = "https://git.smukx.site/smukx/Dyncvoke" } data = { git = "https://git.smukx.site/smukx/Dyncvoke" } {{DYNCVOKE_EXTRA_DEPS}} +{{DEPENDENCIES}} [dependencies.windows-sys] version = "0.61" @@ -20,8 +21,6 @@ features = [ "Win32_System_Diagnostics_ToolHelp", ] -{{DEPENDENCIES}} - [profile.release] strip = true opt-level = "z" diff --git a/templates/ntEarlyCascade/Cargo.toml b/templates/ntEarlyCascade/Cargo.toml index f27ce30..ab2a3c4 100644 --- a/templates/ntEarlyCascade/Cargo.toml +++ b/templates/ntEarlyCascade/Cargo.toml @@ -10,6 +10,7 @@ dyncvoke = { git = "https://git.smukx.site/smukx/Dyncvoke", default-features = f dyncvoke_core = { git = "https://git.smukx.site/smukx/Dyncvoke" } data = { git = "https://git.smukx.site/smukx/Dyncvoke" } {{DYNCVOKE_EXTRA_DEPS}} +{{DEPENDENCIES}} [dependencies.windows-sys] version = "0.61" @@ -21,8 +22,6 @@ features = [ "Win32_System_Diagnostics_Debug", ] -{{DEPENDENCIES}} - [profile.release] strip = true opt-level = "z" diff --git a/templates/ntFIBER/Cargo.toml b/templates/ntFIBER/Cargo.toml index e6839d3..f0ec3eb 100644 --- a/templates/ntFIBER/Cargo.toml +++ b/templates/ntFIBER/Cargo.toml @@ -10,6 +10,7 @@ dyncvoke = { git = "https://git.smukx.site/smukx/Dyncvoke", default-features = f dyncvoke_core = { git = "https://git.smukx.site/smukx/Dyncvoke" } data = { git = "https://git.smukx.site/smukx/Dyncvoke" } {{DYNCVOKE_EXTRA_DEPS}} +{{DEPENDENCIES}} [dependencies.windows-sys] version = "0.61" @@ -20,8 +21,6 @@ features = [ "Win32_System_Threading", ] -{{DEPENDENCIES}} - [profile.release] strip = true opt-level = "z"