diff --git a/Cargo.lock b/Cargo.lock index b41c55a4b..0c2400afa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1128,7 +1128,7 @@ dependencies = [ [[package]] name = "wdk" -version = "0.3.1" +version = "0.4.0" dependencies = [ "cfg-if", "tracing", @@ -1139,7 +1139,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.3.1" +version = "0.4.0" dependencies = [ "tracing", "tracing-subscriber", @@ -1149,7 +1149,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "assert_fs", @@ -1172,7 +1172,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -1188,11 +1188,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.3.1" +version = "0.4.0" [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/Cargo.toml b/Cargo.toml index 8de2e6763..fb6a36ba5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,12 +23,12 @@ license = "MIT OR Apache-2.0" [workspace.dependencies] # Workspace Crates -wdk = { path = "crates/wdk", version = "0.3.1" } -wdk-alloc = { path = "crates/wdk-alloc", version = "0.3.1" } -wdk-build = { path = "crates/wdk-build", version = "0.4.0" } -wdk-macros = { path = "crates/wdk-macros", version = "0.4.0" } -wdk-panic = { path = "crates/wdk-panic", version = "0.3.1" } -wdk-sys = { path = "crates/wdk-sys", version = "0.4.0" } +wdk = { path = "crates/wdk", version = "0.4.0" } +wdk-alloc = { path = "crates/wdk-alloc", version = "0.4.0" } +wdk-build = { path = "crates/wdk-build", version = "0.5.0" } +wdk-macros = { path = "crates/wdk-macros", version = "0.5.0" } +wdk-panic = { path = "crates/wdk-panic", version = "0.4.0" } +wdk-sys = { path = "crates/wdk-sys", version = "0.5.0" } # External Crates anyhow = "1.0.97" diff --git a/crates/wdk-alloc/CHANGELOG.md b/crates/wdk-alloc/CHANGELOG.md index de3cb9a09..60d7482f5 100644 --- a/crates/wdk-alloc/CHANGELOG.md +++ b/crates/wdk-alloc/CHANGELOG.md @@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.1...wdk-alloc-v0.4.0) - 2025-11-05 + +### Added + +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) + ## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.0...wdk-alloc-v0.3.1) - 2025-04-18 ### Other diff --git a/crates/wdk-alloc/Cargo.toml b/crates/wdk-alloc/Cargo.toml index 74cea20b0..d97e131f8 100644 --- a/crates/wdk-alloc/Cargo.toml +++ b/crates/wdk-alloc/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk-alloc" -version = "0.3.1" +version = "0.4.0" description = "alloc support for binaries compiled with the Windows Development Kit (WDK)" repository.workspace = true readme.workspace = true diff --git a/crates/wdk-build/CHANGELOG.md b/crates/wdk-build/CHANGELOG.md index 83a83d6e0..e832e7b83 100644 --- a/crates/wdk-build/CHANGELOG.md +++ b/crates/wdk-build/CHANGELOG.md @@ -1,99 +1,126 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.3.0...wdk-build-v0.4.0) - 2025-04-18 - -### Added - -- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) -- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) -- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) -- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) -- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) - -### Fixed - -- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) -- [**breaking**] explicitly mark `_KGDTENTRY64` and `_KIDTENTRY64` as opaque types in `bindgen` ([#277](https://github.com/microsoft/windows-drivers-rs/pull/277)) -- suppress linker warnings exposed by nightly rustc change ([#279](https://github.com/microsoft/windows-drivers-rs/pull/279)) -- add missing arm64rt library to linker flags for arm64 kernel-mode builds ([#261](https://github.com/microsoft/windows-drivers-rs/pull/261)) - -### Other - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) -- remove noop `must_use` on trait impl ([#302](https://github.com/microsoft/windows-drivers-rs/pull/302)) -- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) -- fix panic condition docs for `package_driver_flow_condition_script` ([#264](https://github.com/microsoft/windows-drivers-rs/pull/264)) -- port certificate-generation condition script to Rust ([#259](https://github.com/microsoft/windows-drivers-rs/pull/259)) -- remove redundant code-path in `detect_wdk_content_root` ([#249](https://github.com/microsoft/windows-drivers-rs/pull/249)) -- use `next_back` instead of `last` on double-ended iterators (`clippy::double_ended_iterator_last`) ([#262](https://github.com/microsoft/windows-drivers-rs/pull/262)) -- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) -- fix `clippy::nonminimal_bool` and `clippy::ref_option` issues ([#230](https://github.com/microsoft/windows-drivers-rs/pull/230)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.2.0...wdk-build-v0.3.0) - 2024-09-27 - -### Added - -- add `skip_umdf_static_crt_check` unstable option to prevent static crt linkage check ([#217](https://github.com/microsoft/windows-drivers-rs/pull/217)) -- [**breaking**] add 'ExAllocatePool' to blocklist due to deprecation ([#190](https://github.com/microsoft/windows-drivers-rs/pull/190)) -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- skip infverif task for sample drivers built with certain GE WDK versions ([#143](https://github.com/microsoft/windows-drivers-rs/pull/143)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- fix `clippy::empty-line-after-doc-comments` lint issues ([#221](https://github.com/microsoft/windows-drivers-rs/pull/221)) -- move infverif task's condition script logic to cargo_make.rs ([#216](https://github.com/microsoft/windows-drivers-rs/pull/216)) -- remove unstable `rustfmt` `version` setting (replaced by auto-detected `edition`) ([#220](https://github.com/microsoft/windows-drivers-rs/pull/220)) -- replace directory substitution plugin with condition_script_runner_args ([#208](https://github.com/microsoft/windows-drivers-rs/pull/208)) -- use cargo-make's built-in arg expansion instead of custom plugin support in `nested-cargo-workspace-in-cargo-make-emulated-workspace-support` ([#201](https://github.com/microsoft/windows-drivers-rs/pull/201)) -- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) -- add support for rustc-check-cfg ([#150](https://github.com/microsoft/windows-drivers-rs/pull/150)) -- Bump windows from 0.52.0 to 0.56.0 ([#144](https://github.com/microsoft/windows-drivers-rs/pull/144)) -- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- Bump clap from 4.4.18 to 4.5.4 ([#130](https://github.com/microsoft/windows-drivers-rs/pull/130)) -- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - - -## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-build-v0.1.0...wdk-build-v0.2.0) - 2024-02-08 - -### Added -- package rust-driver-makefile.toml with wdk-build package ([#36](https://github/microsoft/windows-drivers-rs/pull/36)) -- support multiple drivers (of same type) in same cargo workspace -- cargo-make argument forwarding -- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72)) - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) -- add missing cpu-arch macro definitions -- fix wdk path regkey detection - -### Other -- update versions in readme and rust-driver-makefile.toml -- update dependencies -- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) -- update cargo-make tasks with arch-specific tools -- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59)) -- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24)) -- [**breaking**] enable rustdoc lints and resolve errors -- initial open-source check in +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.4.0...wdk-build-v0.5.0) - 2025-11-05 + +### Added + +- enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors ([#480](https://github.com/microsoft/windows-drivers-rs/pull/480)) +- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) +- enhance debug tracing in bindgen and config modules ([#455](https://github.com/microsoft/windows-drivers-rs/pull/455)) +- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) +- *(ci)* install and use `nuget` packages in CI workflows ([#406](https://github.com/microsoft/windows-drivers-rs/pull/406)) +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) +- make `emit_check_cfg_settings` function public ([#352](https://github.com/microsoft/windows-drivers-rs/pull/352)) + +### Fixed + +- use latest version of ucx in the WDKContent as default ([#411](https://github.com/microsoft/windows-drivers-rs/pull/411)) +- improve error reporting when no wdk-build package is found ([#339](https://github.com/microsoft/windows-drivers-rs/pull/339)) + +### Other + +- Prepare cargo-wdk for release ([#560](https://github.com/microsoft/windows-drivers-rs/pull/560)) +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- use `std::path::absolute` instead of canonicalize + strip_extended_path_prefix ([#462](https://github.com/microsoft/windows-drivers-rs/pull/462)) +- Bump tracing-subscriber from 0.3.19 to 0.3.20 ([#492](https://github.com/microsoft/windows-drivers-rs/pull/492)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) +- improve cargo-wdk tests ([#429](https://github.com/microsoft/windows-drivers-rs/pull/429)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.3.0...wdk-build-v0.4.0) - 2025-04-18 + +### Added + +- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) +- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) +- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) +- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) +- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) + +### Fixed + +- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) +- [**breaking**] explicitly mark `_KGDTENTRY64` and `_KIDTENTRY64` as opaque types in `bindgen` ([#277](https://github.com/microsoft/windows-drivers-rs/pull/277)) +- suppress linker warnings exposed by nightly rustc change ([#279](https://github.com/microsoft/windows-drivers-rs/pull/279)) +- add missing arm64rt library to linker flags for arm64 kernel-mode builds ([#261](https://github.com/microsoft/windows-drivers-rs/pull/261)) + +### Other + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) +- remove noop `must_use` on trait impl ([#302](https://github.com/microsoft/windows-drivers-rs/pull/302)) +- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) +- fix panic condition docs for `package_driver_flow_condition_script` ([#264](https://github.com/microsoft/windows-drivers-rs/pull/264)) +- port certificate-generation condition script to Rust ([#259](https://github.com/microsoft/windows-drivers-rs/pull/259)) +- remove redundant code-path in `detect_wdk_content_root` ([#249](https://github.com/microsoft/windows-drivers-rs/pull/249)) +- use `next_back` instead of `last` on double-ended iterators (`clippy::double_ended_iterator_last`) ([#262](https://github.com/microsoft/windows-drivers-rs/pull/262)) +- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) +- fix `clippy::nonminimal_bool` and `clippy::ref_option` issues ([#230](https://github.com/microsoft/windows-drivers-rs/pull/230)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.2.0...wdk-build-v0.3.0) - 2024-09-27 + +### Added + +- add `skip_umdf_static_crt_check` unstable option to prevent static crt linkage check ([#217](https://github.com/microsoft/windows-drivers-rs/pull/217)) +- [**breaking**] add 'ExAllocatePool' to blocklist due to deprecation ([#190](https://github.com/microsoft/windows-drivers-rs/pull/190)) +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- skip infverif task for sample drivers built with certain GE WDK versions ([#143](https://github.com/microsoft/windows-drivers-rs/pull/143)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- fix `clippy::empty-line-after-doc-comments` lint issues ([#221](https://github.com/microsoft/windows-drivers-rs/pull/221)) +- move infverif task's condition script logic to cargo_make.rs ([#216](https://github.com/microsoft/windows-drivers-rs/pull/216)) +- remove unstable `rustfmt` `version` setting (replaced by auto-detected `edition`) ([#220](https://github.com/microsoft/windows-drivers-rs/pull/220)) +- replace directory substitution plugin with condition_script_runner_args ([#208](https://github.com/microsoft/windows-drivers-rs/pull/208)) +- use cargo-make's built-in arg expansion instead of custom plugin support in `nested-cargo-workspace-in-cargo-make-emulated-workspace-support` ([#201](https://github.com/microsoft/windows-drivers-rs/pull/201)) +- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) +- add support for rustc-check-cfg ([#150](https://github.com/microsoft/windows-drivers-rs/pull/150)) +- Bump windows from 0.52.0 to 0.56.0 ([#144](https://github.com/microsoft/windows-drivers-rs/pull/144)) +- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- Bump clap from 4.4.18 to 4.5.4 ([#130](https://github.com/microsoft/windows-drivers-rs/pull/130)) +- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-build-v0.1.0...wdk-build-v0.2.0) - 2024-02-08 + +### Added +- package rust-driver-makefile.toml with wdk-build package ([#36](https://github/microsoft/windows-drivers-rs/pull/36)) +- support multiple drivers (of same type) in same cargo workspace +- cargo-make argument forwarding +- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72)) + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) +- add missing cpu-arch macro definitions +- fix wdk path regkey detection + +### Other +- update versions in readme and rust-driver-makefile.toml +- update dependencies +- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) +- update cargo-make tasks with arch-specific tools +- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59)) +- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24)) +- [**breaking**] enable rustdoc lints and resolve errors +- initial open-source check in diff --git a/crates/wdk-build/Cargo.toml b/crates/wdk-build/Cargo.toml index ed0d0b46a..c9f2e60e7 100644 --- a/crates/wdk-build/Cargo.toml +++ b/crates/wdk-build/Cargo.toml @@ -2,7 +2,7 @@ edition.workspace = true rust-version.workspace = true name = "wdk-build" -version = "0.4.0" +version = "0.5.0" description = "A library to configure a Cargo build script for binding generation and downstream linking of the WDK (Windows Driver Kit)" repository.workspace = true readme.workspace = true diff --git a/crates/wdk-build/rust-driver-makefile.toml b/crates/wdk-build/rust-driver-makefile.toml index 4fa1bdba2..46b345d5c 100644 --- a/crates/wdk-build/rust-driver-makefile.toml +++ b/crates/wdk-build/rust-driver-makefile.toml @@ -122,7 +122,7 @@ script_runner = "@rust" script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -148,7 +148,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -188,7 +188,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -234,7 +234,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -257,7 +257,7 @@ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -321,7 +321,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -345,7 +345,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -368,7 +368,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -391,7 +391,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -425,7 +425,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] @@ -460,7 +460,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -546,7 +546,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/wdk-build/rust-driver-sample-makefile.toml b/crates/wdk-build/rust-driver-sample-makefile.toml index 29e574f67..0a9f2fb90 100644 --- a/crates/wdk-build/rust-driver-sample-makefile.toml +++ b/crates/wdk-build/rust-driver-sample-makefile.toml @@ -10,7 +10,7 @@ script_runner = "@rust" script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! ``` #![allow(unused_doc_comments)] @@ -37,7 +37,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.4.0" } +//! wdk-build = { path = ".", version = "0.5.0" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/wdk-macros/CHANGELOG.md b/crates/wdk-macros/CHANGELOG.md index ac092a257..4ef67f0f6 100644 --- a/crates/wdk-macros/CHANGELOG.md +++ b/crates/wdk-macros/CHANGELOG.md @@ -5,6 +5,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.4.0...wdk-macros-v0.5.0) - 2025-11-05 + +### Added + +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) + ## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.3.0...wdk-macros-v0.4.0) - 2025-04-18 ### Added diff --git a/crates/wdk-macros/Cargo.toml b/crates/wdk-macros/Cargo.toml index f9cbeb95d..32193d828 100644 --- a/crates/wdk-macros/Cargo.toml +++ b/crates/wdk-macros/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" description = "A collection of macros that help make it easier to interact with wdk-sys's direct bindings. This should not be directly consumed, and should be instead consumed via the wdk-sys crate." repository.workspace = true readme.workspace = true diff --git a/crates/wdk-panic/CHANGELOG.md b/crates/wdk-panic/CHANGELOG.md index 70d137608..2668af470 100644 --- a/crates/wdk-panic/CHANGELOG.md +++ b/crates/wdk-panic/CHANGELOG.md @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-panic-v0.3.1...wdk-panic-v0.4.0) - 2025-11-05 + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) + ## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-panic-v0.3.0...wdk-panic-v0.3.1) - 2025-04-18 ### Other diff --git a/crates/wdk-panic/Cargo.toml b/crates/wdk-panic/Cargo.toml index 4d1541315..f4a5107a5 100644 --- a/crates/wdk-panic/Cargo.toml +++ b/crates/wdk-panic/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk-panic" -version = "0.3.1" +version = "0.4.0" description = "Default panic handler implementations for programs built with WDK" repository.workspace = true readme.workspace = true diff --git a/crates/wdk-sys/CHANGELOG.md b/crates/wdk-sys/CHANGELOG.md index c634575f5..54fcc2e44 100644 --- a/crates/wdk-sys/CHANGELOG.md +++ b/crates/wdk-sys/CHANGELOG.md @@ -1,82 +1,101 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - - -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.3.0...wdk-sys-v0.4.0) - 2025-04-18 - -### Added - -- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) -- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) -- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) -- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) -- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) -- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) - -### Fixed - -- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) -- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) -- use absolute paths for items used in PAGED_CODE macro ([#297](https://github.com/microsoft/windows-drivers-rs/pull/297)) - -### Other - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) -- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) -- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.2.0...wdk-sys-v0.3.0) - 2024-09-27 - -### Added - -- add more precise NTSTATUS const fns ([#183](https://github.com/microsoft/windows-drivers-rs/pull/183)) -- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) - -### Fixed - -- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) -- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) -- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) -- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) -- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- Bump anyhow from 1.0.79 to 1.0.82 ([#140](https://github.com/microsoft/windows-drivers-rs/pull/140)) -- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) -- change version bounds for `manual_c_str_literals` and `ref_as_ptr` clippy lints ([#127](https://github.com/microsoft/windows-drivers-rs/pull/127)) -- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) -- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) -- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - - -## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-sys-v0.1.0...wdk-sys-v0.2.0) - 2024-02-08 - -### Added -- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72)) - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) - -### Other -- update dependencies -- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) -- allow exception for clippy::pub_underscore_fields in generated code ([#77](https://github/microsoft/windows-drivers-rs/pull/77)) -- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59)) -- reduce noise from bindgen warnings -- fix clippy errors missed due to buggy ci stage -- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24)) -- [**breaking**] enable rustdoc lints and resolve errors -- remove extra keywords in cargo manifests -- initial open-source check in +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.4.0...wdk-sys-v0.5.0) - 2025-11-05 + +### Added + +- enhance error handling with IoError and IoErrorMetadata for improved std::io::Error diagnostics for fs errors ([#480](https://github.com/microsoft/windows-drivers-rs/pull/480)) +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) + +### Fixed + +- use latest version of ucx in the WDKContent as default ([#411](https://github.com/microsoft/windows-drivers-rs/pull/411)) +- allow unnecessary_transmutes lint for bindgen-generated types.rs ([#350](https://github.com/microsoft/windows-drivers-rs/pull/350)) + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- Add stubs for __CxxFrameHandler4 and __GSHandlerCheck_EH4 ([#438](https://github.com/microsoft/windows-drivers-rs/pull/438)) + +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.3.0...wdk-sys-v0.4.0) - 2025-04-18 + +### Added + +- extend coverage in `wdk-sys` to include usb-related headers ([#296](https://github.com/microsoft/windows-drivers-rs/pull/296)) +- expand wdk-sys coverage to include gpio and parallel ports related headers ([#278](https://github.com/microsoft/windows-drivers-rs/pull/278)) +- add support for Storage API subset in `wdk-sys` ([#287](https://github.com/microsoft/windows-drivers-rs/pull/287)) +- expand `wdk-sys` coverage to include spb-related headers ([#263](https://github.com/microsoft/windows-drivers-rs/pull/263)) +- [**breaking**] expand `wdk-sys` coverage to include hid-related headers ([#260](https://github.com/microsoft/windows-drivers-rs/pull/260)) +- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) + +### Fixed + +- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) +- [**breaking**] specify rust version & edition to wdk-default bindgen::builder ([#314](https://github.com/microsoft/windows-drivers-rs/pull/314)) +- use absolute paths for items used in PAGED_CODE macro ([#297](https://github.com/microsoft/windows-drivers-rs/pull/297)) + +### Other + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) +- [**breaking**] Remove lazy static instances ([#250](https://github.com/microsoft/windows-drivers-rs/pull/250)) +- use `is_none_or` for `clippy::nonminimal_bool` and resolve `clippy::needless_raw_string_hashes` ([#231](https://github.com/microsoft/windows-drivers-rs/pull/231)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.2.0...wdk-sys-v0.3.0) - 2024-09-27 + +### Added + +- add more precise NTSTATUS const fns ([#183](https://github.com/microsoft/windows-drivers-rs/pull/183)) +- configure WDK configuration via parsing Cargo manifest metadata ([#186](https://github.com/microsoft/windows-drivers-rs/pull/186)) + +### Fixed + +- typos in Getting Started section of README.md ([#213](https://github.com/microsoft/windows-drivers-rs/pull/213)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- Improve doc comments to comply with `too_long_first_doc_paragraph` clippy lint ([#202](https://github.com/microsoft/windows-drivers-rs/pull/202)) +- Update README.md ([#180](https://github.com/microsoft/windows-drivers-rs/pull/180)) +- update readme to call out bugged LLVM 18 versions ([#169](https://github.com/microsoft/windows-drivers-rs/pull/169)) +- Build perf: Make calls to bindgen run in parallel ([#159](https://github.com/microsoft/windows-drivers-rs/pull/159)) +- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- Bump anyhow from 1.0.79 to 1.0.82 ([#140](https://github.com/microsoft/windows-drivers-rs/pull/140)) +- Bump thiserror from 1.0.56 to 1.0.59 ([#142](https://github.com/microsoft/windows-drivers-rs/pull/142)) +- change version bounds for `manual_c_str_literals` and `ref_as_ptr` clippy lints ([#127](https://github.com/microsoft/windows-drivers-rs/pull/127)) +- fix `winget` llvm install command option ([#115](https://github.com/microsoft/windows-drivers-rs/pull/115)) +- fix various pipeline breakages (nightly rustfmt bug, new nightly clippy lints, upstream winget dependency issue) ([#117](https://github.com/microsoft/windows-drivers-rs/pull/117)) +- add lint exceptions for clippy::manual_c_str_literals and clippy::ref_as_ptr ([#108](https://github.com/microsoft/windows-drivers-rs/pull/108)) +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [0.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-sys-v0.1.0...wdk-sys-v0.2.0) - 2024-02-08 + +### Added +- generate CStr for c string constants instead of &[u8] ([#72](https://github/microsoft/windows-drivers-rs/pull/72)) + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) + +### Other +- update dependencies +- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) +- allow exception for clippy::pub_underscore_fields in generated code ([#77](https://github/microsoft/windows-drivers-rs/pull/77)) +- Bump thiserror from 1.0.48 to 1.0.55 ([#59](https://github/microsoft/windows-drivers-rs/pull/59)) +- reduce noise from bindgen warnings +- fix clippy errors missed due to buggy ci stage +- restrict to one unsafe operation per block ([#24](https://github/microsoft/windows-drivers-rs/pull/24)) +- [**breaking**] enable rustdoc lints and resolve errors +- remove extra keywords in cargo manifests +- initial open-source check in diff --git a/crates/wdk-sys/Cargo.toml b/crates/wdk-sys/Cargo.toml index 1a935d7d3..4a9a268c4 100644 --- a/crates/wdk-sys/Cargo.toml +++ b/crates/wdk-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" # Since the WDK links against many different dlls (that vary based off configuration), this crate sets the system library name to be "wdk". This name is only used by downstream build.rs scripts to consume metadata links = "wdk" description = "Direct bindings to APIs available in the Windows Development Kit (WDK)" diff --git a/crates/wdk/CHANGELOG.md b/crates/wdk/CHANGELOG.md index 251df38cc..737ff91a2 100644 --- a/crates/wdk/CHANGELOG.md +++ b/crates/wdk/CHANGELOG.md @@ -5,6 +5,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.1...wdk-v0.4.0) - 2025-11-05 + +### Added + +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) + +### Other + +- [**breaking**] bump to Rust 2024 Edition ([#430](https://github.com/microsoft/windows-drivers-rs/pull/430)) +- enforce typo checking ([#452](https://github.com/microsoft/windows-drivers-rs/pull/452)) +- update crate references for consistency in documentation ([#440](https://github.com/microsoft/windows-drivers-rs/pull/440)) + ## [0.3.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.0...wdk-v0.3.1) - 2025-04-18 ### Other diff --git a/crates/wdk/Cargo.toml b/crates/wdk/Cargo.toml index be491a7c8..f2c2a8eb8 100644 --- a/crates/wdk/Cargo.toml +++ b/crates/wdk/Cargo.toml @@ -1,7 +1,7 @@ [package] edition.workspace = true name = "wdk" -version = "0.3.1" +version = "0.4.0" # This crate doesn't actually directly link to any native libraries, but its set to wdk-sys in order to pass metadata to consumers of this crates links = "wdk-sys" description = "Safe idiomatic bindings to APIs available in the Windows Development Kit (WDK)" diff --git a/examples/sample-kmdf-driver/Cargo.lock b/examples/sample-kmdf-driver/Cargo.lock index 1ca15cd6e..bbf7aeaca 100644 --- a/examples/sample-kmdf-driver/Cargo.lock +++ b/examples/sample-kmdf-driver/Cargo.lock @@ -669,7 +669,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.3.1" +version = "0.4.0" dependencies = [ "cfg-if", "tracing", @@ -680,7 +680,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.3.1" +version = "0.4.0" dependencies = [ "tracing", "tracing-subscriber", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -727,11 +727,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.3.1" +version = "0.4.0" [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-kmdf-driver/Cargo.toml b/examples/sample-kmdf-driver/Cargo.toml index 88f120e43..b26ec0e01 100644 --- a/examples/sample-kmdf-driver/Cargo.toml +++ b/examples/sample-kmdf-driver/Cargo.toml @@ -19,13 +19,13 @@ target-kmdf-version-minor = 33 crate-type = ["cdylib"] [build-dependencies] -wdk-build = { path = "../../crates/wdk-build", version = "0.4.0" } +wdk-build.path = "../../crates/wdk-build" [dependencies] -wdk = { path = "../../crates/wdk", version = "0.3.1" } -wdk-alloc = { path = "../../crates/wdk-alloc", version = "0.3.1" } -wdk-panic = { path = "../../crates/wdk-panic", version = "0.3.1" } -wdk-sys = { path = "../../crates/wdk-sys", version = "0.4.0" } +wdk.path = "../../crates/wdk" +wdk-alloc.path = "../../crates/wdk-alloc" +wdk-panic.path = "../../crates/wdk-panic" +wdk-sys.path = "../../crates/wdk-sys" [features] default = [] diff --git a/examples/sample-umdf-driver/Cargo.lock b/examples/sample-umdf-driver/Cargo.lock index 70c111dca..082ba687e 100644 --- a/examples/sample-umdf-driver/Cargo.lock +++ b/examples/sample-umdf-driver/Cargo.lock @@ -672,7 +672,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.3.1" +version = "0.4.0" dependencies = [ "cfg-if", "tracing", @@ -683,7 +683,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -705,7 +705,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -720,7 +720,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-umdf-driver/Cargo.toml b/examples/sample-umdf-driver/Cargo.toml index defe0441e..5d0f69fdb 100644 --- a/examples/sample-umdf-driver/Cargo.toml +++ b/examples/sample-umdf-driver/Cargo.toml @@ -19,11 +19,11 @@ target-umdf-version-minor = 31 crate-type = ["cdylib"] [build-dependencies] -wdk-build = { path = "../../crates/wdk-build", version = "0.4.0" } +wdk-build.path = "../../crates/wdk-build" [dependencies] -wdk = { path = "../../crates/wdk", version = "0.3.1" } -wdk-sys = { path = "../../crates/wdk-sys", version = "0.4.0" } +wdk.path = "../../crates/wdk" +wdk-sys.path = "../../crates/wdk-sys" [features] default = [] diff --git a/examples/sample-wdm-driver/Cargo.lock b/examples/sample-wdm-driver/Cargo.lock index 500edbb2c..0e0eeef10 100644 --- a/examples/sample-wdm-driver/Cargo.lock +++ b/examples/sample-wdm-driver/Cargo.lock @@ -674,7 +674,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.3.1" +version = "0.4.0" dependencies = [ "cfg-if", "tracing", @@ -685,7 +685,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.3.1" +version = "0.4.0" dependencies = [ "tracing", "tracing-subscriber", @@ -695,7 +695,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -717,7 +717,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -732,11 +732,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.3.1" +version = "0.4.0" [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-wdm-driver/Cargo.toml b/examples/sample-wdm-driver/Cargo.toml index a06419f46..b10e81d98 100644 --- a/examples/sample-wdm-driver/Cargo.toml +++ b/examples/sample-wdm-driver/Cargo.toml @@ -17,13 +17,13 @@ driver-type = "WDM" crate-type = ["cdylib"] [build-dependencies] -wdk-build = { path = "../../crates/wdk-build", version = "0.4.0" } +wdk-build.path = "../../crates/wdk-build" [dependencies] -wdk-alloc = { path = "../../crates/wdk-alloc", version = "0.3.1" } -wdk = { path = "../../crates/wdk", version = "0.3.1" } -wdk-panic = { path = "../../crates/wdk-panic", version = "0.3.1" } -wdk-sys = { path = "../../crates/wdk-sys", version = "0.4.0" } +wdk-alloc.path = "../../crates/wdk-alloc" +wdk.path = "../../crates/wdk" +wdk-panic.path = "../../crates/wdk-panic" +wdk-sys.path = "../../crates/wdk-sys" [features] default = [] diff --git a/release-plz.toml b/release-plz.toml index d8585f37d..333f8f13a 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -2,6 +2,7 @@ git_release_draft = true pr_draft = true pr_labels = ["release"] +release_always = false [changelog] header = """# Changelog diff --git a/tests/config-kmdf/Cargo.lock b/tests/config-kmdf/Cargo.lock index 8403ad231..07ce5d5f9 100644 --- a/tests/config-kmdf/Cargo.lock +++ b/tests/config-kmdf/Cargo.lock @@ -873,7 +873,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -895,7 +895,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -923,7 +923,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/tests/config-umdf/Cargo.lock b/tests/config-umdf/Cargo.lock index 9be508fcf..53c09b398 100644 --- a/tests/config-umdf/Cargo.lock +++ b/tests/config-umdf/Cargo.lock @@ -873,7 +873,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -895,7 +895,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -923,7 +923,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/tests/mixed-package-kmdf-workspace/Cargo.lock b/tests/mixed-package-kmdf-workspace/Cargo.lock index acc906627..c0d8a7f1d 100644 --- a/tests/mixed-package-kmdf-workspace/Cargo.lock +++ b/tests/mixed-package-kmdf-workspace/Cargo.lock @@ -679,7 +679,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.3.1" +version = "0.4.0" dependencies = [ "cfg-if", "tracing", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.3.1" +version = "0.4.0" dependencies = [ "tracing", "tracing-subscriber", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -737,11 +737,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.3.1" +version = "0.4.0" [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/tests/umdf-driver-workspace/Cargo.lock b/tests/umdf-driver-workspace/Cargo.lock index 5e3048876..301d68a70 100644 --- a/tests/umdf-driver-workspace/Cargo.lock +++ b/tests/umdf-driver-workspace/Cargo.lock @@ -682,7 +682,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.3.1" +version = "0.4.0" dependencies = [ "cfg-if", "tracing", @@ -693,7 +693,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", diff --git a/tests/wdk-sys-tests/Cargo.lock b/tests/wdk-sys-tests/Cargo.lock index 7aa12d69b..5d395b606 100644 --- a/tests/wdk-sys-tests/Cargo.lock +++ b/tests/wdk-sys-tests/Cargo.lock @@ -664,7 +664,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen", @@ -686,7 +686,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cfg-if", "fs4", @@ -701,7 +701,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bindgen",