Skip to content

Commit

Permalink
chore: Update dependencies and bump semver
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Dec 16, 2024
1 parent 8f9b446 commit ce0bffc
Show file tree
Hide file tree
Showing 6 changed files with 3,726 additions and 699 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "phnt"
version = "0.0.31"
version = "0.0.32"
license = "MIT"
authors = ["oberrich <[email protected]>"]
repository = "https://github.com/oberrich/phnt-rs"
Expand All @@ -19,9 +19,9 @@ rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]

[build-dependencies] # optional
regex = { version = "1.10.6", optional = true }
bindgen = { version = "0.70.1", optional = true }
chrono = { version = "0.4.37", optional = true }
regex = { version = "1.11.1", optional = true }
bindgen = { version = "0.71.1", optional = true }
chrono = { version = "0.4.39", optional = true }

[dependencies.windows-sys]
version = "0.59.0"
Expand Down
2 changes: 1 addition & 1 deletion deps/phnt-nightly
Submodule phnt-nightly updated 29 files
+263 −205 ntbcd.h
+11 −3 ntdbg.h
+666 −128 ntexapi.h
+4 −2 ntimage.h
+198 −99 ntioapi.h
+132 −10 ntldr.h
+2 −2 ntlpcapi.h
+140 −0 ntmisc.h
+64 −26 ntmmapi.h
+24 −15 ntobapi.h
+151 −10 ntpebteb.h
+2 −0 ntpnpapi.h
+41 −22 ntpoapi.h
+497 −142 ntpsapi.h
+26 −26 ntregapi.h
+903 −106 ntrtl.h
+1 −0 ntseapi.h
+186 −4 ntsmss.h
+16 −0 nttp.h
+1,217 −1 ntuser.h
+503 −24 ntwmi.h
+1 −1 ntwow64.h
+222 −55 ntzwapi.h
+2 −11 phnt.h
+7 −2 phnt_ntdef.h
+30 −2 phnt_windows.h
+2 −2 subprocesstag.h
+4 −4 usermgr.h
+129 −36 winsta.h
12 changes: 5 additions & 7 deletions src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,10 @@ mod regen {
}

pub fn generate_bindings(&self) -> Result<bindgen::Bindings, bindgen::BindgenError> {
let allowlist_regexpr = Regex::new(
&format!(
r"({}\\deps\\phnt-nightly\\.*\.h)|winnt\.h|ntstatus\.h",
regex::escape(env!("CARGO_MANIFEST_DIR"))
),
)
let allowlist_regexpr = Regex::new(&format!(
r"({}\\deps\\phnt-nightly\\.*\.h)|winnt\.h|ntstatus\.h",
regex::escape(env!("CARGO_MANIFEST_DIR"))
))
.unwrap();

let blocklist_regexpr =
Expand All @@ -114,7 +112,7 @@ mod regen {
if let Ok(str) = env::var(name) {
clang_args.push(format!("-D{}={}", name, str));

let value = if let Ok(_) = str.parse::<u32>() {
let value = if str.parse::<u32>().is_ok() {
str
} else {
format!("self::{}", str)
Expand Down
Loading

0 comments on commit ce0bffc

Please sign in to comment.