From ebb8a7b67bb30f269a2217bcb7382cf4093977ee Mon Sep 17 00:00:00 2001 From: oberrich <6305520+oberrich@users.noreply.github.com> Date: Mon, 8 Apr 2024 07:34:46 +0200 Subject: [PATCH] attempt to fix doc build --- Cargo.lock | 2 +- Cargo.toml | 10 +++++----- src/build.rs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a6a750c..c61fd20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,7 +297,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "phnt" -version = "0.0.5" +version = "0.0.6" dependencies = [ "bindgen", "chrono", diff --git a/Cargo.toml b/Cargo.toml index c7687ed..a6ecd0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phnt" -version = "0.0.5" +version = "0.0.6" license = "MIT" authors = ["oberrich "] repository = "https://github.com/oberrich/phnt-rs" @@ -17,15 +17,15 @@ targets = [] [build-dependencies] windows.features = ["Win32_Foundation"] -windows-targets = ">=0.52.0" -windows.version = ">=0.52.0" +windows-targets = "0.52.0" +windows.version = "0.52.0" bindgen = "0.69.4" regex = "1.10.3" chrono = "0.4.37" [dependencies] windows.features = ["Win32_Foundation"] -windows-targets = ">=0.52.0" -windows.version = ">=0.52.0" +windows-targets = "0.52.0" +windows.version = "0.52.0" nt-string = "0.1.1" cty = "0.2.2" \ No newline at end of file diff --git a/src/build.rs b/src/build.rs index af6dc30..f7e3d06 100644 --- a/src/build.rs +++ b/src/build.rs @@ -95,7 +95,7 @@ impl BindgenConfig { .vtable_generation(true) .generate_comments(true) .generate_block(true) - .detect_include_paths(true) + .detect_include_paths(false) .prepend_enum_name(false) .block_extern_crate(false) .fit_macro_constants(false)