From 1f0805c301ca4d4c73774bf4f945de49acbda6e9 Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 13:59:58 -0800 Subject: [PATCH 1/8] chore: release --- Cargo.lock | 2700 ++++++++++++++++---------------- Cargo.toml | 246 +-- crates/cargo-wdk/CHANGELOG.md | 101 +- crates/cargo-wdk/Cargo.toml | 126 +- crates/wdk-alloc/CHANGELOG.md | 6 + crates/wdk-alloc/Cargo.toml | 48 +- crates/wdk-build/CHANGELOG.md | 11 + crates/wdk-build/Cargo.toml | 172 +- crates/wdk-macros/CHANGELOG.md | 6 + crates/wdk-macros/Cargo.toml | 140 +- crates/wdk-panic/CHANGELOG.md | 6 + crates/wdk-panic/Cargo.toml | 26 +- crates/wdk-sys/CHANGELOG.md | 6 + crates/wdk-sys/Cargo.toml | 162 +- crates/wdk/CHANGELOG.md | 6 + crates/wdk/Cargo.toml | 74 +- 16 files changed, 1942 insertions(+), 1894 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c88a92723..b6283e41c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,1350 +1,1350 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "anstream" -version = "0.6.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" - -[[package]] -name = "anstyle-parse" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys", -] - -[[package]] -name = "anyhow" -version = "1.0.97" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" - -[[package]] -name = "assert_cmd" -version = "2.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1835b7f27878de8525dc71410b5a31cdcc5f230aed5ba5df968e09c201b23d" -dependencies = [ - "anstyle", - "bstr", - "doc-comment", - "libc", - "predicates", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - -[[package]] -name = "assert_fs" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652f6cb1f516886fcfee5e7a5c078b9ade62cfcb889524efe5a64d682dd27a9" -dependencies = [ - "anstyle", - "doc-comment", - "globwalk", - "predicates", - "predicates-core", - "predicates-tree", - "tempfile", -] - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "bindgen" -version = "0.71.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" -dependencies = [ - "bitflags", - "cexpr", - "clang-sys", - "itertools", - "log", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex", - "syn", -] - -[[package]] -name = "bitflags" -version = "2.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bstr" -version = "1.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" -dependencies = [ - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "camino" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-platform" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-wdk" -version = "0.1.0" -dependencies = [ - "anyhow", - "assert_cmd", - "assert_fs", - "cargo_metadata", - "clap", - "clap-cargo", - "clap-verbosity-flag", - "fs4", - "include_dir", - "mockall", - "mockall_double", - "predicates", - "regex", - "serde_json", - "sha2", - "thiserror", - "tracing", - "tracing-subscriber", - "wdk-build", -] - -[[package]] -name = "cargo_metadata" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "cc" -version = "1.2.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb" -dependencies = [ - "find-msvc-tools", - "shlex", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-if" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" - -[[package]] -name = "clang-sys" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "4.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap-cargo" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d546f0e84ff2bfa4da1ce9b54be42285767ba39c688572ca32412a09a73851e5" -dependencies = [ - "anstyle", - "clap", -] - -[[package]] -name = "clap-verbosity-flag" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2678fade3b77aa3a8ff3aae87e9c008d3fb00473a41c71fbf74e91c8c7b37e84" -dependencies = [ - "clap", - "log", -] - -[[package]] -name = "clap_builder" -version = "4.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" - -[[package]] -name = "colorchoice" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "downcast" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" - -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - -[[package]] -name = "errno" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - -[[package]] -name = "find-msvc-tools" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3" - -[[package]] -name = "float-cmp" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fragile" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" - -[[package]] -name = "fs4" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" -dependencies = [ - "rustix", - "windows-sys", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" -dependencies = [ - "cfg-if", - "libc", - "wasi", - "windows-targets", -] - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "globset" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "globwalk" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "ignore" -version = "0.4.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b" -dependencies = [ - "crossbeam-deque", - "globset", - "log", - "memchr", - "regex-automata", - "same-file", - "walkdir", - "winapi-util", -] - -[[package]] -name = "include_dir" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" -dependencies = [ - "include_dir_macros", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "libc" -version = "0.2.172" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" - -[[package]] -name = "libloading" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" -dependencies = [ - "cfg-if", - "windows-targets", -] - -[[package]] -name = "linux-raw-sys" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" - -[[package]] -name = "log" -version = "0.4.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" - -[[package]] -name = "matchers" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" -dependencies = [ - "regex-automata", -] - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "mockall" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "mockall_derive", - "predicates", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "mockall_double" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1ca96e5ac35256ae3e13536edd39b172b88f41615e1d7b653c8ad24524113e8" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "nu-ansi-term" -version = "0.50.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "once_cell" -version = "1.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" - -[[package]] -name = "once_cell_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "predicates" -version = "3.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" -dependencies = [ - "anstyle", - "difflib", - "float-cmp", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" - -[[package]] -name = "predicates-tree" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "pretty_assertions" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" -dependencies = [ - "diff", - "yansi", -] - -[[package]] -name = "prettyplease" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" -dependencies = [ - "proc-macro2", - "syn", -] - -[[package]] -name = "proc-macro2" -version = "1.0.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "regex" -version = "1.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" - -[[package]] -name = "rustc-hash" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" - -[[package]] -name = "rustix" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" -dependencies = [ - "bitflags", - "errno", - "libc", - "linux-raw-sys", - "windows-sys", -] - -[[package]] -name = "rustversion" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scratch" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" - -[[package]] -name = "semver" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" -dependencies = [ - "serde", -] - -[[package]] -name = "serde" -version = "1.0.219" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.219" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.140" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "syn" -version = "2.0.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "tempfile" -version = "3.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" -dependencies = [ - "fastrand", - "getrandom", - "once_cell", - "rustix", - "windows-sys", -] - -[[package]] -name = "termtree" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" - -[[package]] -name = "thiserror" -version = "2.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "tracing" -version = "0.1.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex-automata", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "typenum" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "wait-timeout" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasi" -version = "0.13.3+wasi-0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" -dependencies = [ - "wit-bindgen-rt", -] - -[[package]] -name = "wdk" -version = "0.4.0" -dependencies = [ - "cfg-if", - "tracing", - "tracing-subscriber", - "wdk-build", - "wdk-sys", -] - -[[package]] -name = "wdk-alloc" -version = "0.4.0" -dependencies = [ - "tracing", - "tracing-subscriber", - "wdk-build", - "wdk-sys", -] - -[[package]] -name = "wdk-build" -version = "0.5.0" -dependencies = [ - "anyhow", - "assert_fs", - "bindgen", - "camino", - "cargo_metadata", - "cfg-if", - "clap", - "clap-cargo", - "paste", - "regex", - "rustversion", - "semver", - "serde", - "serde_json", - "thiserror", - "tracing", - "windows", -] - -[[package]] -name = "wdk-macros" -version = "0.5.0" -dependencies = [ - "cfg-if", - "fs4", - "itertools", - "pretty_assertions", - "proc-macro2", - "quote", - "scratch", - "serde", - "serde_json", - "syn", -] - -[[package]] -name = "wdk-panic" -version = "0.4.0" - -[[package]] -name = "wdk-sys" -version = "0.5.0" -dependencies = [ - "anyhow", - "bindgen", - "cargo_metadata", - "cc", - "cfg-if", - "rustversion", - "serde_json", - "thiserror", - "tracing", - "tracing-subscriber", - "wdk-build", - "wdk-macros", -] - -[[package]] -name = "winapi-util" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "windows" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" -dependencies = [ - "windows-core", - "windows-targets", -] - -[[package]] -name = "windows-core" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" -dependencies = [ - "windows-implement", - "windows-interface", - "windows-result", - "windows-strings", - "windows-targets", -] - -[[package]] -name = "windows-implement" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-result" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-strings" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" -dependencies = [ - "windows-result", - "windows-targets", -] - -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "wit-bindgen-rt" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" -dependencies = [ - "bitflags", -] - -[[package]] -name = "yansi" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "anstream" +version = "0.6.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" + +[[package]] +name = "anstyle-parse" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys", +] + +[[package]] +name = "anyhow" +version = "1.0.97" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" + +[[package]] +name = "assert_cmd" +version = "2.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc1835b7f27878de8525dc71410b5a31cdcc5f230aed5ba5df968e09c201b23d" +dependencies = [ + "anstyle", + "bstr", + "doc-comment", + "libc", + "predicates", + "predicates-core", + "predicates-tree", + "wait-timeout", +] + +[[package]] +name = "assert_fs" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a652f6cb1f516886fcfee5e7a5c078b9ade62cfcb889524efe5a64d682dd27a9" +dependencies = [ + "anstyle", + "doc-comment", + "globwalk", + "predicates", + "predicates-core", + "predicates-tree", + "tempfile", +] + +[[package]] +name = "autocfg" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" + +[[package]] +name = "bindgen" +version = "0.71.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", + "syn", +] + +[[package]] +name = "bitflags" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bstr" +version = "1.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" +dependencies = [ + "memchr", + "regex-automata", + "serde", +] + +[[package]] +name = "camino" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-wdk" +version = "0.1.1" +dependencies = [ + "anyhow", + "assert_cmd", + "assert_fs", + "cargo_metadata", + "clap", + "clap-cargo", + "clap-verbosity-flag", + "fs4", + "include_dir", + "mockall", + "mockall_double", + "predicates", + "regex", + "serde_json", + "sha2", + "thiserror", + "tracing", + "tracing-subscriber", + "wdk-build", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "cc" +version = "1.2.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" + +[[package]] +name = "clang-sys" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "clap" +version = "4.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap-cargo" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d546f0e84ff2bfa4da1ce9b54be42285767ba39c688572ca32412a09a73851e5" +dependencies = [ + "anstyle", + "clap", +] + +[[package]] +name = "clap-verbosity-flag" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2678fade3b77aa3a8ff3aae87e9c008d3fb00473a41c71fbf74e91c8c7b37e84" +dependencies = [ + "clap", + "log", +] + +[[package]] +name = "clap_builder" +version = "4.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "clap_lex" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" + +[[package]] +name = "colorchoice" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "difflib" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "doc-comment" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" + +[[package]] +name = "downcast" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" + +[[package]] +name = "either" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" + +[[package]] +name = "errno" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "find-msvc-tools" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3" + +[[package]] +name = "float-cmp" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8" +dependencies = [ + "num-traits", +] + +[[package]] +name = "fragile" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" + +[[package]] +name = "fs4" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" +dependencies = [ + "rustix", + "windows-sys", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi", + "windows-targets", +] + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "globset" +version = "0.4.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5" +dependencies = [ + "aho-corasick", + "bstr", + "log", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "globwalk" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" +dependencies = [ + "bitflags", + "ignore", + "walkdir", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "ignore" +version = "0.4.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b" +dependencies = [ + "crossbeam-deque", + "globset", + "log", + "memchr", + "regex-automata", + "same-file", + "walkdir", + "winapi-util", +] + +[[package]] +name = "include_dir" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + +[[package]] +name = "libc" +version = "0.2.172" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" + +[[package]] +name = "libloading" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" +dependencies = [ + "cfg-if", + "windows-targets", +] + +[[package]] +name = "linux-raw-sys" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" + +[[package]] +name = "log" +version = "0.4.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mockall" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "mockall_derive", + "predicates", + "predicates-tree", +] + +[[package]] +name = "mockall_derive" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "mockall_double" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1ca96e5ac35256ae3e13536edd39b172b88f41615e1d7b653c8ad24524113e8" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pin-project-lite" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + +[[package]] +name = "predicates" +version = "3.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" +dependencies = [ + "anstyle", + "difflib", + "float-cmp", + "normalize-line-endings", + "predicates-core", + "regex", +] + +[[package]] +name = "predicates-core" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" + +[[package]] +name = "predicates-tree" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" +dependencies = [ + "predicates-core", + "termtree", +] + +[[package]] +name = "pretty_assertions" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" +dependencies = [ + "diff", + "yansi", +] + +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn", +] + +[[package]] +name = "proc-macro2" +version = "1.0.101" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "regex" +version = "1.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" + +[[package]] +name = "rustc-hash" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" + +[[package]] +name = "rustix" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] + +[[package]] +name = "rustversion" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" + +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scratch" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" + +[[package]] +name = "semver" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" +dependencies = [ + "serde", +] + +[[package]] +name = "serde" +version = "1.0.219" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.219" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.140" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +dependencies = [ + "itoa", + "memchr", + "ryu", + "serde", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "syn" +version = "2.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tempfile" +version = "3.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +dependencies = [ + "fastrand", + "getrandom", + "once_cell", + "rustix", + "windows-sys", +] + +[[package]] +name = "termtree" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" + +[[package]] +name = "thiserror" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thread_local" +version = "1.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +dependencies = [ + "cfg-if", + "once_cell", +] + +[[package]] +name = "tracing" +version = "0.1.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "typenum" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + +[[package]] +name = "wdk" +version = "0.4.1" +dependencies = [ + "cfg-if", + "tracing", + "tracing-subscriber", + "wdk-build", + "wdk-sys", +] + +[[package]] +name = "wdk-alloc" +version = "0.4.1" +dependencies = [ + "tracing", + "tracing-subscriber", + "wdk-build", + "wdk-sys", +] + +[[package]] +name = "wdk-build" +version = "0.5.1" +dependencies = [ + "anyhow", + "assert_fs", + "bindgen", + "camino", + "cargo_metadata", + "cfg-if", + "clap", + "clap-cargo", + "paste", + "regex", + "rustversion", + "semver", + "serde", + "serde_json", + "thiserror", + "tracing", + "windows", +] + +[[package]] +name = "wdk-macros" +version = "0.5.1" +dependencies = [ + "cfg-if", + "fs4", + "itertools", + "pretty_assertions", + "proc-macro2", + "quote", + "scratch", + "serde", + "serde_json", + "syn", +] + +[[package]] +name = "wdk-panic" +version = "0.4.1" + +[[package]] +name = "wdk-sys" +version = "0.5.1" +dependencies = [ + "anyhow", + "bindgen", + "cargo_metadata", + "cc", + "cfg-if", + "rustversion", + "serde_json", + "thiserror", + "tracing", + "tracing-subscriber", + "wdk-build", + "wdk-macros", +] + +[[package]] +name = "winapi-util" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "windows" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +dependencies = [ + "windows-core", + "windows-targets", +] + +[[package]] +name = "windows-core" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-result", + "windows-strings", + "windows-targets", +] + +[[package]] +name = "windows-implement" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "windows-interface" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags", +] + +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" diff --git a/Cargo.toml b/Cargo.toml index 150c2acc2..ade0704c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,123 +1,123 @@ -[workspace] -members = ["crates/*"] -# Examples and tests must be excluded from the workspace since only one WDK configuration per build graph is supported. -exclude = [ - # Each example and test must be explicitly listed since glob is not currently supported for workspace.exclude: https://github.com/rust-lang/cargo/issues/6009 - "examples/sample-kmdf-driver", - "examples/sample-umdf-driver", - "examples/sample-wdm-driver", - "tests/config-kmdf", - "tests/config-umdf", - "tests/config-wdm", - "tests/wdk-macros-tests", - "tests/wdk-sys-tests", -] -resolver = "3" - -[workspace.package] -edition = "2024" -rust-version = "1.85.0" -repository = "https://github.com/microsoft/windows-drivers-rs" -readme = "README.md" -license = "MIT OR Apache-2.0" - -[workspace.dependencies] -# Workspace Crates -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" } -# Exact version (=) kept in lockstep with wdk-sys. These crates must be versioned together because: -# (1) wdk-macros is a proc-macro crate consumed only through wdk-sys re-exports, and -# (2) the two crates form a tightly coupled API surface. -# Enforced by .github/workflows/version-checks.yaml (check-version-consistency job, lockstep step). -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" -assert_cmd = "2.0.14" -assert_fs = "1.1.3" -bindgen = "0.71.0" -camino = "1.1.9" -cargo_metadata = "0.19.2" -cc = "1.2.39" -cfg-if = "1.0.3" -clap = "4.5.40" -clap-cargo = "0.15.2" -clap-verbosity-flag = "3.0.2" -fs4 = "0.13.1" -include_dir = "0.7.4" -itertools = "0.13.0" -mockall = "0.13.1" -mockall_double = "0.3.1" -paste = "1.0.15" -predicates = "3.1.0" -pretty_assertions = "1.4.1" -proc-macro2 = "1.0.101" -quote = "1.0.40" -regex = "1.11.1" -rustversion = "1.0.20" -scratch = "1.0" -semver = "1.0.26" -serde = "1.0" -serde_json = "1.0" -sha2 = "0.10.8" -syn = "2.0.106" -thiserror = "2.0.12" -tracing = "0.1.40" -tracing-subscriber = "0.3.20" -windows = "0.58.0" - -# The following workspace.metadata.wdk sections can be uncommented to configure the workspace for a specific WDK configuration (ex. for rust-analyzer to resolve things for a specific configuration) - -# Uncomment the section below for KMDF -# [workspace.metadata.wdk.driver-model] -# driver-type = "KMDF" -# kmdf-version-major = 1 -# target-kmdf-version-minor = 33 - -# Uncomment the section below for UMDF -# [workspace.metadata.wdk.driver-model] -# driver-type = "UMDF" -# umdf-version-major = 2 -# target-umdf-version-minor = 33 - -# Uncomment the section below for WDM -# [workspace.metadata.wdk.driver-model] -# driver-type = "WDM" - -# Until https://github.com/rust-lang/cargo/issues/12208 is resolved, each package in the workspace needs to explictly -# add the following block to its Cargo manifest in order to enable these global lint configurations: -# -# [lints] -# workspace = true - -[workspace.lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[workspace.lints.clippy] -# Lint Groups -all = { level = "deny", priority = -1 } -pedantic = { level = "warn", priority = -1 } -nursery = { level = "warn", priority = -1 } -cargo = { level = "warn", priority = -1 } -# Individual Lints -multiple_unsafe_ops_per_block = "forbid" -undocumented_unsafe_blocks = "forbid" -unnecessary_safety_doc = "forbid" - -[workspace.lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" - -[profile.release] -lto = true +[workspace] +members = ["crates/*"] +# Examples and tests must be excluded from the workspace since only one WDK configuration per build graph is supported. +exclude = [ + # Each example and test must be explicitly listed since glob is not currently supported for workspace.exclude: https://github.com/rust-lang/cargo/issues/6009 + "examples/sample-kmdf-driver", + "examples/sample-umdf-driver", + "examples/sample-wdm-driver", + "tests/config-kmdf", + "tests/config-umdf", + "tests/config-wdm", + "tests/wdk-macros-tests", + "tests/wdk-sys-tests", +] +resolver = "3" + +[workspace.package] +edition = "2024" +rust-version = "1.85.0" +repository = "https://github.com/microsoft/windows-drivers-rs" +readme = "README.md" +license = "MIT OR Apache-2.0" + +[workspace.dependencies] +# Workspace Crates +wdk = { path = "crates/wdk", version = "0.4.1" } +wdk-alloc = { path = "crates/wdk-alloc", version = "0.4.1" } +wdk-build = { path = "crates/wdk-build", version = "0.5.1" } +# Exact version (=) kept in lockstep with wdk-sys. These crates must be versioned together because: +# (1) wdk-macros is a proc-macro crate consumed only through wdk-sys re-exports, and +# (2) the two crates form a tightly coupled API surface. +# Enforced by .github/workflows/version-checks.yaml (check-version-consistency job, lockstep step). +wdk-macros = { path = "crates/wdk-macros", version = "=0.5.1" } +wdk-panic = { path = "crates/wdk-panic", version = "0.4.1" } +wdk-sys = { path = "crates/wdk-sys", version = "0.5.1" } + +# External Crates +anyhow = "1.0.97" +assert_cmd = "2.0.14" +assert_fs = "1.1.3" +bindgen = "0.71.0" +camino = "1.1.9" +cargo_metadata = "0.19.2" +cc = "1.2.39" +cfg-if = "1.0.3" +clap = "4.5.40" +clap-cargo = "0.15.2" +clap-verbosity-flag = "3.0.2" +fs4 = "0.13.1" +include_dir = "0.7.4" +itertools = "0.13.0" +mockall = "0.13.1" +mockall_double = "0.3.1" +paste = "1.0.15" +predicates = "3.1.0" +pretty_assertions = "1.4.1" +proc-macro2 = "1.0.101" +quote = "1.0.40" +regex = "1.11.1" +rustversion = "1.0.20" +scratch = "1.0" +semver = "1.0.26" +serde = "1.0" +serde_json = "1.0" +sha2 = "0.10.8" +syn = "2.0.106" +thiserror = "2.0.12" +tracing = "0.1.40" +tracing-subscriber = "0.3.20" +windows = "0.58.0" + +# The following workspace.metadata.wdk sections can be uncommented to configure the workspace for a specific WDK configuration (ex. for rust-analyzer to resolve things for a specific configuration) + +# Uncomment the section below for KMDF +# [workspace.metadata.wdk.driver-model] +# driver-type = "KMDF" +# kmdf-version-major = 1 +# target-kmdf-version-minor = 33 + +# Uncomment the section below for UMDF +# [workspace.metadata.wdk.driver-model] +# driver-type = "UMDF" +# umdf-version-major = 2 +# target-umdf-version-minor = 33 + +# Uncomment the section below for WDM +# [workspace.metadata.wdk.driver-model] +# driver-type = "WDM" + +# Until https://github.com/rust-lang/cargo/issues/12208 is resolved, each package in the workspace needs to explictly +# add the following block to its Cargo manifest in order to enable these global lint configurations: +# +# [lints] +# workspace = true + +[workspace.lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[workspace.lints.clippy] +# Lint Groups +all = { level = "deny", priority = -1 } +pedantic = { level = "warn", priority = -1 } +nursery = { level = "warn", priority = -1 } +cargo = { level = "warn", priority = -1 } +# Individual Lints +multiple_unsafe_ops_per_block = "forbid" +undocumented_unsafe_blocks = "forbid" +unnecessary_safety_doc = "forbid" + +[workspace.lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" + +[profile.release] +lto = true diff --git a/crates/cargo-wdk/CHANGELOG.md b/crates/cargo-wdk/CHANGELOG.md index 5cbb24160..46004e814 100644 --- a/crates/cargo-wdk/CHANGELOG.md +++ b/crates/cargo-wdk/CHANGELOG.md @@ -1,47 +1,54 @@ -# 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.1.0](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.0.0...cargo-wdk-v0.1.0) - 2025-11-06 - -### Added - -- support stampinf version override ([#520](https://github.com/microsoft/windows-drivers-rs/pull/520)) -- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) -- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) -- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) - -### Fixed - -- remove `--cwd` arg from `cargo-wdk` ([#437](https://github.com/microsoft/windows-drivers-rs/pull/437)) -- remove from `NewArgs::driver_type()` the unnecessary check based on `usize` casts ([#421](https://github.com/microsoft/windows-drivers-rs/pull/421)) -- remove cdylib test exclusion from Cargo.toml files ([#379](https://github.com/microsoft/windows-drivers-rs/pull/379)) - -### 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)) -- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/kmdf-driver ([#530](https://github.com/microsoft/windows-drivers-rs/pull/530)) -- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/wdm-driver ([#532](https://github.com/microsoft/windows-drivers-rs/pull/532)) -- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/umdf-driver ([#531](https://github.com/microsoft/windows-drivers-rs/pull/531)) -- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/kmdf-driver ([#472](https://github.com/microsoft/windows-drivers-rs/pull/472)) -- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/wdm-driver ([#474](https://github.com/microsoft/windows-drivers-rs/pull/474)) -- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/umdf-driver ([#469](https://github.com/microsoft/windows-drivers-rs/pull/469)) -- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/umdf-driver ([#475](https://github.com/microsoft/windows-drivers-rs/pull/475)) -- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/wdm-driver ([#470](https://github.com/microsoft/windows-drivers-rs/pull/470)) -- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/kmdf-driver ([#465](https://github.com/microsoft/windows-drivers-rs/pull/465)) -- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/umdf-driver ([#523](https://github.com/microsoft/windows-drivers-rs/pull/523)) -- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/kmdf-driver ([#522](https://github.com/microsoft/windows-drivers-rs/pull/522)) -- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/wdm-driver ([#524](https://github.com/microsoft/windows-drivers-rs/pull/524)) -- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) -- 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)) -- change categories in cargo-wdk to known slugs ([#441](https://github.com/microsoft/windows-drivers-rs/pull/441)) -- 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)) -- update dependencies to avoid double windows-sys dependency ([#393](https://github.com/microsoft/windows-drivers-rs/pull/393)) -- fix invalid argument in cargo-wdk command in README.md ([#377](https://github.com/microsoft/windows-drivers-rs/pull/377)) +# 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.1.1](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.1.0...cargo-wdk-v0.1.1) - 2025-11-13 + +### Other + +- update cargo-wdk templates to use latest crate versions ([#573](https://github.com/microsoft/windows-drivers-rs/pull/573)) +- update cargo-wdk `Cargo.toml` description to align better with `README.md` ([#569](https://github.com/microsoft/windows-drivers-rs/pull/569)) + +## [0.1.0](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.0.0...cargo-wdk-v0.1.0) - 2025-11-06 + +### Added + +- support stampinf version override ([#520](https://github.com/microsoft/windows-drivers-rs/pull/520)) +- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) +- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) + +### Fixed + +- remove `--cwd` arg from `cargo-wdk` ([#437](https://github.com/microsoft/windows-drivers-rs/pull/437)) +- remove from `NewArgs::driver_type()` the unnecessary check based on `usize` casts ([#421](https://github.com/microsoft/windows-drivers-rs/pull/421)) +- remove cdylib test exclusion from Cargo.toml files ([#379](https://github.com/microsoft/windows-drivers-rs/pull/379)) + +### 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)) +- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/kmdf-driver ([#530](https://github.com/microsoft/windows-drivers-rs/pull/530)) +- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/wdm-driver ([#532](https://github.com/microsoft/windows-drivers-rs/pull/532)) +- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/umdf-driver ([#531](https://github.com/microsoft/windows-drivers-rs/pull/531)) +- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/kmdf-driver ([#472](https://github.com/microsoft/windows-drivers-rs/pull/472)) +- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/wdm-driver ([#474](https://github.com/microsoft/windows-drivers-rs/pull/474)) +- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/umdf-driver ([#469](https://github.com/microsoft/windows-drivers-rs/pull/469)) +- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/umdf-driver ([#475](https://github.com/microsoft/windows-drivers-rs/pull/475)) +- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/wdm-driver ([#470](https://github.com/microsoft/windows-drivers-rs/pull/470)) +- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/kmdf-driver ([#465](https://github.com/microsoft/windows-drivers-rs/pull/465)) +- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/umdf-driver ([#523](https://github.com/microsoft/windows-drivers-rs/pull/523)) +- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/kmdf-driver ([#522](https://github.com/microsoft/windows-drivers-rs/pull/522)) +- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/wdm-driver ([#524](https://github.com/microsoft/windows-drivers-rs/pull/524)) +- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) +- 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)) +- change categories in cargo-wdk to known slugs ([#441](https://github.com/microsoft/windows-drivers-rs/pull/441)) +- 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)) +- update dependencies to avoid double windows-sys dependency ([#393](https://github.com/microsoft/windows-drivers-rs/pull/393)) +- fix invalid argument in cargo-wdk command in README.md ([#377](https://github.com/microsoft/windows-drivers-rs/pull/377)) diff --git a/crates/cargo-wdk/Cargo.toml b/crates/cargo-wdk/Cargo.toml index 059bbe34c..ad9bf92c1 100644 --- a/crates/cargo-wdk/Cargo.toml +++ b/crates/cargo-wdk/Cargo.toml @@ -1,63 +1,63 @@ -[package] -edition.workspace = true -name = "cargo-wdk" -version = "0.1.0" -authors = ["Microsoft"] -description = "A Cargo extension for developing Windows drivers in Rust" -repository.workspace = true -license.workspace = true -keywords = ["wdk", "windows", "cargo"] -categories = ["command-line-utilities", "development-tools::cargo-plugins"] -exclude = ["tests"] - -[dependencies] -anyhow.workspace = true -cargo_metadata.workspace = true -clap = { workspace = true, features = ["derive"] } -clap-cargo.workspace = true -clap-verbosity-flag.workspace = true -fs4.workspace = true -include_dir.workspace = true -mockall.workspace = true -mockall_double.workspace = true -serde_json.workspace = true -thiserror.workspace = true -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -[dev-dependencies] -assert_cmd.workspace = true -assert_fs.workspace = true -predicates.workspace = true -regex.workspace = true -sha2.workspace = true - -[lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -# multiple_unsafe_ops_per_block = "forbid" -multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# undocumented_unsafe_blocks = "forbid" -undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# unnecessary_safety_doc = "forbid" -unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition.workspace = true +name = "cargo-wdk" +version = "0.1.1" +authors = ["Microsoft"] +description = "A Cargo extension for developing Windows drivers in Rust" +repository.workspace = true +license.workspace = true +keywords = ["wdk", "windows", "cargo"] +categories = ["command-line-utilities", "development-tools::cargo-plugins"] +exclude = ["tests"] + +[dependencies] +anyhow.workspace = true +cargo_metadata.workspace = true +clap = { workspace = true, features = ["derive"] } +clap-cargo.workspace = true +clap-verbosity-flag.workspace = true +fs4.workspace = true +include_dir.workspace = true +mockall.workspace = true +mockall_double.workspace = true +serde_json.workspace = true +thiserror.workspace = true +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +[dev-dependencies] +assert_cmd.workspace = true +assert_fs.workspace = true +predicates.workspace = true +regex.workspace = true +sha2.workspace = true + +[lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +# multiple_unsafe_ops_per_block = "forbid" +multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# undocumented_unsafe_blocks = "forbid" +undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# unnecessary_safety_doc = "forbid" +unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk-alloc/CHANGELOG.md b/crates/wdk-alloc/CHANGELOG.md index 598bd7090..eed13d651 100644 --- a/crates/wdk-alloc/CHANGELOG.md +++ b/crates/wdk-alloc/CHANGELOG.md @@ -5,6 +5,12 @@ 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.4.0...wdk-alloc-v0.4.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.1...wdk-alloc-v0.4.0) - 2025-11-06 ### Other diff --git a/crates/wdk-alloc/Cargo.toml b/crates/wdk-alloc/Cargo.toml index d97e131f8..a80bdb47e 100644 --- a/crates/wdk-alloc/Cargo.toml +++ b/crates/wdk-alloc/Cargo.toml @@ -1,24 +1,24 @@ -[package] -edition.workspace = true -name = "wdk-alloc" -version = "0.4.0" -description = "alloc support for binaries compiled with the Windows Development Kit (WDK)" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["allocator", "wdk", "windows"] -categories = ["memory-management", "no-std", "hardware-support"] - -[dependencies] -wdk-sys.workspace = true - -[build-dependencies] -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -[dev-dependencies] -wdk-sys = { workspace = true, features = ["test-stubs"] } - -[lints] -workspace = true +[package] +edition.workspace = true +name = "wdk-alloc" +version = "0.4.1" +description = "alloc support for binaries compiled with the Windows Development Kit (WDK)" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["allocator", "wdk", "windows"] +categories = ["memory-management", "no-std", "hardware-support"] + +[dependencies] +wdk-sys.workspace = true + +[build-dependencies] +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +[dev-dependencies] +wdk-sys = { workspace = true, features = ["test-stubs"] } + +[lints] +workspace = true diff --git a/crates/wdk-build/CHANGELOG.md b/crates/wdk-build/CHANGELOG.md index 174a9e30a..d76753bbe 100644 --- a/crates/wdk-build/CHANGELOG.md +++ b/crates/wdk-build/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.5.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.5.0...wdk-build-v0.5.1) - 2025-11-13 + +### Fixed + +- fallback to detection logic when WDK env vars have invalid unicode ([#579](https://github.com/microsoft/windows-drivers-rs/pull/579)) +- path construction in `wdk-build` `get_wdk_tools_root` and `get_wdk_bin_root` ([#574](https://github.com/microsoft/windows-drivers-rs/pull/574)) + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.4.0...wdk-build-v0.5.0) - 2025-11-06 ### Added diff --git a/crates/wdk-build/Cargo.toml b/crates/wdk-build/Cargo.toml index c9f2e60e7..25be58423 100644 --- a/crates/wdk-build/Cargo.toml +++ b/crates/wdk-build/Cargo.toml @@ -1,86 +1,86 @@ -[package] -edition.workspace = true -rust-version.workspace = true -name = "wdk-build" -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 -license.workspace = true -keywords = ["wdk", "windows", "build-dependencies"] -categories = ["development-tools::build-utils", "development-tools::ffi"] - -[package.metadata.cargo-machete] -ignored = [ - "regex", # Used for enabling "unicode-case" feature which lets us use case-insensitive regex patterns in bindgen -] - -[features] -nightly = [] - -[dependencies] -anyhow.workspace = true -bindgen.workspace = true -camino.workspace = true -cargo_metadata.workspace = true -cfg-if.workspace = true -clap = { workspace = true, features = ["derive"] } -clap-cargo.workspace = true -paste.workspace = true -regex = { workspace = true, features = ["unicode-case"] } -rustversion.workspace = true -semver.workspace = true -serde = { workspace = true, features = ["derive"] } -serde_json.workspace = true -thiserror.workspace = true -tracing.workspace = true -windows = { workspace = true, features = [ - "Win32_Foundation", - "Win32_System_Registry", -] } - -[build-dependencies] -rustversion.workspace = true - -[dev-dependencies] -assert_fs.workspace = true -windows = { workspace = true, features = ["Win32_UI_Shell"] } - -# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 -# [lints] -# workspace = true -# -# Differences from the workspace lints have comments explaining why they are different - -[lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[lints.rust.unexpected_cfgs] -level = "warn" -check-cfg = ["cfg(wdk_build_unstable)", "cfg(skip_umdf_static_crt_check)"] - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -# multiple_unsafe_ops_per_block = "forbid" -multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# undocumented_unsafe_blocks = "forbid" -undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# unnecessary_safety_doc = "forbid" -unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition.workspace = true +rust-version.workspace = true +name = "wdk-build" +version = "0.5.1" +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 +license.workspace = true +keywords = ["wdk", "windows", "build-dependencies"] +categories = ["development-tools::build-utils", "development-tools::ffi"] + +[package.metadata.cargo-machete] +ignored = [ + "regex", # Used for enabling "unicode-case" feature which lets us use case-insensitive regex patterns in bindgen +] + +[features] +nightly = [] + +[dependencies] +anyhow.workspace = true +bindgen.workspace = true +camino.workspace = true +cargo_metadata.workspace = true +cfg-if.workspace = true +clap = { workspace = true, features = ["derive"] } +clap-cargo.workspace = true +paste.workspace = true +regex = { workspace = true, features = ["unicode-case"] } +rustversion.workspace = true +semver.workspace = true +serde = { workspace = true, features = ["derive"] } +serde_json.workspace = true +thiserror.workspace = true +tracing.workspace = true +windows = { workspace = true, features = [ + "Win32_Foundation", + "Win32_System_Registry", +] } + +[build-dependencies] +rustversion.workspace = true + +[dev-dependencies] +assert_fs.workspace = true +windows = { workspace = true, features = ["Win32_UI_Shell"] } + +# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 +# [lints] +# workspace = true +# +# Differences from the workspace lints have comments explaining why they are different + +[lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[lints.rust.unexpected_cfgs] +level = "warn" +check-cfg = ["cfg(wdk_build_unstable)", "cfg(skip_umdf_static_crt_check)"] + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +# multiple_unsafe_ops_per_block = "forbid" +multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# undocumented_unsafe_blocks = "forbid" +undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# unnecessary_safety_doc = "forbid" +unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk-macros/CHANGELOG.md b/crates/wdk-macros/CHANGELOG.md index 12c5a200f..e3227d722 100644 --- a/crates/wdk-macros/CHANGELOG.md +++ b/crates/wdk-macros/CHANGELOG.md @@ -5,6 +5,12 @@ 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.5.0...wdk-macros-v0.5.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.4.0...wdk-macros-v0.5.0) - 2025-11-06 ### Other diff --git a/crates/wdk-macros/Cargo.toml b/crates/wdk-macros/Cargo.toml index 32193d828..33040175b 100644 --- a/crates/wdk-macros/Cargo.toml +++ b/crates/wdk-macros/Cargo.toml @@ -1,70 +1,70 @@ -[package] -edition = "2021" -name = "wdk-macros" -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 -license.workspace = true -keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] -categories = [ - "external-ffi-bindings", - "development-tools::ffi", - "os::windows-apis", - "os", -] - -[lib] -proc-macro = true - -[features] -default = [] -nightly = [] - -[dependencies] -cfg-if.workspace = true -fs4.workspace = true -itertools.workspace = true -proc-macro2.workspace = true -quote.workspace = true -scratch.workspace = true -serde = { workspace = true, features = ["derive"] } -serde_json.workspace = true -syn = { workspace = true, features = ["full", "extra-traits"] } - -[dev-dependencies] -pretty_assertions.workspace = true -syn.workspace = true - -# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 -# [lints] -# workspace = true -# -# Differences from the workspace lints have comments explaining why they are different - -[lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -multiple_unsafe_ops_per_block = "forbid" -undocumented_unsafe_blocks = "forbid" -# unnecessary_safety_doc = "forbid" -unnecessary_safety_doc = "deny" # This is lowered to deny to allow overriding it for proc_macros: https://github.com/rust-lang/rust-clippy/issues/12583 - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition = "2021" +name = "wdk-macros" +version = "0.5.1" +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 +license.workspace = true +keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] +categories = [ + "external-ffi-bindings", + "development-tools::ffi", + "os::windows-apis", + "os", +] + +[lib] +proc-macro = true + +[features] +default = [] +nightly = [] + +[dependencies] +cfg-if.workspace = true +fs4.workspace = true +itertools.workspace = true +proc-macro2.workspace = true +quote.workspace = true +scratch.workspace = true +serde = { workspace = true, features = ["derive"] } +serde_json.workspace = true +syn = { workspace = true, features = ["full", "extra-traits"] } + +[dev-dependencies] +pretty_assertions.workspace = true +syn.workspace = true + +# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 +# [lints] +# workspace = true +# +# Differences from the workspace lints have comments explaining why they are different + +[lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +multiple_unsafe_ops_per_block = "forbid" +undocumented_unsafe_blocks = "forbid" +# unnecessary_safety_doc = "forbid" +unnecessary_safety_doc = "deny" # This is lowered to deny to allow overriding it for proc_macros: https://github.com/rust-lang/rust-clippy/issues/12583 + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk-panic/CHANGELOG.md b/crates/wdk-panic/CHANGELOG.md index 5ca0d7b74..ef236ffa3 100644 --- a/crates/wdk-panic/CHANGELOG.md +++ b/crates/wdk-panic/CHANGELOG.md @@ -5,6 +5,12 @@ 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-panic-v0.4.0...wdk-panic-v0.4.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-panic-v0.3.1...wdk-panic-v0.4.0) - 2025-11-06 ### Other diff --git a/crates/wdk-panic/Cargo.toml b/crates/wdk-panic/Cargo.toml index f4a5107a5..9d13c208d 100644 --- a/crates/wdk-panic/Cargo.toml +++ b/crates/wdk-panic/Cargo.toml @@ -1,13 +1,13 @@ -[package] -edition.workspace = true -name = "wdk-panic" -version = "0.4.0" -description = "Default panic handler implementations for programs built with WDK" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["panic-handler", "panic", "panic-impl", "wdk", "windows"] -categories = ["no-std", "hardware-support"] - -[lints] -workspace = true +[package] +edition.workspace = true +name = "wdk-panic" +version = "0.4.1" +description = "Default panic handler implementations for programs built with WDK" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["panic-handler", "panic", "panic-impl", "wdk", "windows"] +categories = ["no-std", "hardware-support"] + +[lints] +workspace = true diff --git a/crates/wdk-sys/CHANGELOG.md b/crates/wdk-sys/CHANGELOG.md index ead1fb45e..33ff7eebe 100644 --- a/crates/wdk-sys/CHANGELOG.md +++ b/crates/wdk-sys/CHANGELOG.md @@ -5,6 +5,12 @@ 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.5.0...wdk-sys-v0.5.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.4.0...wdk-sys-v0.5.0) - 2025-11-06 ### Added diff --git a/crates/wdk-sys/Cargo.toml b/crates/wdk-sys/Cargo.toml index 4a9a268c4..ab6111a4d 100644 --- a/crates/wdk-sys/Cargo.toml +++ b/crates/wdk-sys/Cargo.toml @@ -1,81 +1,81 @@ -[package] -edition.workspace = true -name = "wdk-sys" -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)" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] -categories = [ - "external-ffi-bindings", - "development-tools::ffi", - "os::windows-apis", - "os", -] - -[features] -default = [] - -gpio = [] -hid = [] -parallel-ports = ["gpio"] -spb = [] -storage = [] -usb = [] - -nightly = ["wdk-macros/nightly", "wdk-build/nightly"] -test-stubs = [] - -[dependencies] -rustversion.workspace = true -wdk-macros.workspace = true - -[build-dependencies] -anyhow.workspace = true -bindgen.workspace = true -cargo_metadata.workspace = true -cc.workspace = true -cfg-if.workspace = true -serde_json.workspace = true -thiserror.workspace = true -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 -# [lints] -# workspace = true -# -# Differences from the workspace lints have comments explaining why they are different - -[lints.rust] -missing_docs = "warn" -# unsafe_op_in_unsafe_fn = "forbid" -unsafe_op_in_unsafe_fn = "deny" # This is lowered to deny so that we can opt out of it for generated code - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -# multiple_unsafe_ops_per_block = "forbid" -multiple_unsafe_ops_per_block = "deny" # This is lowered to deny so that we can opt out of it for generated code -# undocumented_unsafe_blocks = "forbid" -undocumented_unsafe_blocks = "deny" # This is lowered to deny so that we can opt out of it for generated code -unnecessary_safety_doc = "forbid" - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition.workspace = true +name = "wdk-sys" +version = "0.5.1" +# 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)" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] +categories = [ + "external-ffi-bindings", + "development-tools::ffi", + "os::windows-apis", + "os", +] + +[features] +default = [] + +gpio = [] +hid = [] +parallel-ports = ["gpio"] +spb = [] +storage = [] +usb = [] + +nightly = ["wdk-macros/nightly", "wdk-build/nightly"] +test-stubs = [] + +[dependencies] +rustversion.workspace = true +wdk-macros.workspace = true + +[build-dependencies] +anyhow.workspace = true +bindgen.workspace = true +cargo_metadata.workspace = true +cc.workspace = true +cfg-if.workspace = true +serde_json.workspace = true +thiserror.workspace = true +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 +# [lints] +# workspace = true +# +# Differences from the workspace lints have comments explaining why they are different + +[lints.rust] +missing_docs = "warn" +# unsafe_op_in_unsafe_fn = "forbid" +unsafe_op_in_unsafe_fn = "deny" # This is lowered to deny so that we can opt out of it for generated code + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +# multiple_unsafe_ops_per_block = "forbid" +multiple_unsafe_ops_per_block = "deny" # This is lowered to deny so that we can opt out of it for generated code +# undocumented_unsafe_blocks = "forbid" +undocumented_unsafe_blocks = "deny" # This is lowered to deny so that we can opt out of it for generated code +unnecessary_safety_doc = "forbid" + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk/CHANGELOG.md b/crates/wdk/CHANGELOG.md index 236e60b4c..303c22126 100644 --- a/crates/wdk/CHANGELOG.md +++ b/crates/wdk/CHANGELOG.md @@ -5,6 +5,12 @@ 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.4.0...wdk-v0.4.1) - 2025-11-13 + +### Other + +- fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) + ## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.1...wdk-v0.4.0) - 2025-11-06 ### Other diff --git a/crates/wdk/Cargo.toml b/crates/wdk/Cargo.toml index f2c2a8eb8..5a2496ce4 100644 --- a/crates/wdk/Cargo.toml +++ b/crates/wdk/Cargo.toml @@ -1,37 +1,37 @@ -[package] -edition.workspace = true -name = "wdk" -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)" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] -categories = [ - "api-bindings", - "development-tools::build-utils", - "development-tools::ffi", - "os", -] - -[features] -default = ["alloc"] -alloc = [] -nightly = ["wdk-sys/nightly"] - -[dependencies] -cfg-if.workspace = true -wdk-sys.workspace = true - -[build-dependencies] -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -[dev-dependencies] -wdk-sys = { workspace = true, features = ["test-stubs"] } - -[lints] -workspace = true +[package] +edition.workspace = true +name = "wdk" +version = "0.4.1" +# 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)" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] +categories = [ + "api-bindings", + "development-tools::build-utils", + "development-tools::ffi", + "os", +] + +[features] +default = ["alloc"] +alloc = [] +nightly = ["wdk-sys/nightly"] + +[dependencies] +cfg-if.workspace = true +wdk-sys.workspace = true + +[build-dependencies] +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +[dev-dependencies] +wdk-sys = { workspace = true, features = ["test-stubs"] } + +[lints] +workspace = true From 897ee45fa4819690185ba30d897f0fde90d3afb5 Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 15:15:58 -0800 Subject: [PATCH 2/8] update lockfiles and manual version updates for wdk-build 0.5.1 --- README.md | 2 +- .../cargo-wdk/templates/kmdf/Cargo.toml.tmp | 2 +- .../cargo-wdk/templates/umdf/Cargo.toml.tmp | 2 +- crates/cargo-wdk/templates/wdm/Cargo.toml.tmp | 2 +- .../umdf-driver-workspace/Cargo.lock | 8 +- crates/cargo-wdk/tests/kmdf-driver/Cargo.lock | 10 +- .../mixed-package-kmdf-workspace/Cargo.lock | 12 +- crates/cargo-wdk/tests/umdf-driver/Cargo.lock | 8 +- crates/cargo-wdk/tests/wdm-driver/Cargo.lock | 10 +- crates/wdk-alloc/Cargo.toml | 48 ++--- crates/wdk-build/Cargo.toml | 172 +++++++++--------- crates/wdk-build/rust-driver-makefile.toml | 24 +-- .../rust-driver-sample-makefile.toml | 4 +- crates/wdk-macros/Cargo.toml | 140 +++++++------- crates/wdk-panic/Cargo.toml | 26 +-- crates/wdk-sys/Cargo.toml | 162 ++++++++--------- crates/wdk/Cargo.toml | 74 ++++---- examples/sample-kmdf-driver/Cargo.lock | 12 +- examples/sample-umdf-driver/Cargo.lock | 8 +- examples/sample-wdm-driver/Cargo.lock | 12 +- tests/config-kmdf/Cargo.lock | 6 +- tests/config-umdf/Cargo.lock | 6 +- tests/mixed-package-kmdf-workspace/Cargo.lock | 12 +- tests/umdf-driver-workspace/Cargo.lock | 8 +- tests/wdk-sys-tests/Cargo.lock | 6 +- 25 files changed, 388 insertions(+), 388 deletions(-) diff --git a/README.md b/README.md index 1acdc78ab..0f336691e 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ The crates in this repository are available from [`crates.io`](https://crates.io #!@rust //! ```cargo //! [dependencies] - //! wdk-build = "0.5.0" + //! wdk-build = "0.5.1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp index 4afb3e9a1..35a7d9600 100644 --- a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -7,7 +7,7 @@ target-kmdf-version-minor = 33 crate-type = ["cdylib"] [build-dependencies] -wdk-build = "0.5.0" +wdk-build = "0.5.1" [dependencies] wdk = "0.4.0" diff --git a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp index 24b92c453..4842bc38f 100644 --- a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -7,7 +7,7 @@ target-umdf-version-minor = 33 crate-type = ["cdylib"] [build-dependencies] -wdk-build = "0.5.0" +wdk-build = "0.5.1" [dependencies] wdk = "0.4.0" diff --git a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp index 0380e56b1..ce87d9ab5 100644 --- a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -5,7 +5,7 @@ driver-type = "WDM" crate-type = ["cdylib"] [build-dependencies] -wdk-build = "0.5.0" +wdk-build = "0.5.1" [dependencies] wdk = "0.4.0" diff --git a/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock b/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock index 560b484ac..775fec918 100644 --- a/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock +++ b/crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock @@ -682,7 +682,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -693,7 +693,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock b/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock index ff6ba913b..68e657454 100644 --- a/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock +++ b/crates/cargo-wdk/tests/kmdf-driver/Cargo.lock @@ -668,7 +668,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -678,7 +678,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -715,11 +715,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock b/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock index d7ac37a88..801b89dea 100644 --- a/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock +++ b/crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock @@ -679,7 +679,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -737,11 +737,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/umdf-driver/Cargo.lock b/crates/cargo-wdk/tests/umdf-driver/Cargo.lock index 2a879a640..869ced7aa 100644 --- a/crates/cargo-wdk/tests/umdf-driver/Cargo.lock +++ b/crates/cargo-wdk/tests/umdf-driver/Cargo.lock @@ -667,7 +667,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -678,7 +678,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/cargo-wdk/tests/wdm-driver/Cargo.lock b/crates/cargo-wdk/tests/wdm-driver/Cargo.lock index 1a76c5dc4..10c1323e3 100644 --- a/crates/cargo-wdk/tests/wdm-driver/Cargo.lock +++ b/crates/cargo-wdk/tests/wdm-driver/Cargo.lock @@ -658,7 +658,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -668,7 +668,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -705,11 +705,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/crates/wdk-alloc/Cargo.toml b/crates/wdk-alloc/Cargo.toml index a80bdb47e..24d590541 100644 --- a/crates/wdk-alloc/Cargo.toml +++ b/crates/wdk-alloc/Cargo.toml @@ -1,24 +1,24 @@ -[package] -edition.workspace = true -name = "wdk-alloc" -version = "0.4.1" -description = "alloc support for binaries compiled with the Windows Development Kit (WDK)" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["allocator", "wdk", "windows"] -categories = ["memory-management", "no-std", "hardware-support"] - -[dependencies] -wdk-sys.workspace = true - -[build-dependencies] -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -[dev-dependencies] -wdk-sys = { workspace = true, features = ["test-stubs"] } - -[lints] -workspace = true +[package] +edition.workspace = true +name = "wdk-alloc" +version = "0.4.1" +description = "alloc support for binaries compiled with the Windows Development Kit (WDK)" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["allocator", "wdk", "windows"] +categories = ["memory-management", "no-std", "hardware-support"] + +[dependencies] +wdk-sys.workspace = true + +[build-dependencies] +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +[dev-dependencies] +wdk-sys = { workspace = true, features = ["test-stubs"] } + +[lints] +workspace = true diff --git a/crates/wdk-build/Cargo.toml b/crates/wdk-build/Cargo.toml index 25be58423..be60ee37e 100644 --- a/crates/wdk-build/Cargo.toml +++ b/crates/wdk-build/Cargo.toml @@ -1,86 +1,86 @@ -[package] -edition.workspace = true -rust-version.workspace = true -name = "wdk-build" -version = "0.5.1" -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 -license.workspace = true -keywords = ["wdk", "windows", "build-dependencies"] -categories = ["development-tools::build-utils", "development-tools::ffi"] - -[package.metadata.cargo-machete] -ignored = [ - "regex", # Used for enabling "unicode-case" feature which lets us use case-insensitive regex patterns in bindgen -] - -[features] -nightly = [] - -[dependencies] -anyhow.workspace = true -bindgen.workspace = true -camino.workspace = true -cargo_metadata.workspace = true -cfg-if.workspace = true -clap = { workspace = true, features = ["derive"] } -clap-cargo.workspace = true -paste.workspace = true -regex = { workspace = true, features = ["unicode-case"] } -rustversion.workspace = true -semver.workspace = true -serde = { workspace = true, features = ["derive"] } -serde_json.workspace = true -thiserror.workspace = true -tracing.workspace = true -windows = { workspace = true, features = [ - "Win32_Foundation", - "Win32_System_Registry", -] } - -[build-dependencies] -rustversion.workspace = true - -[dev-dependencies] -assert_fs.workspace = true -windows = { workspace = true, features = ["Win32_UI_Shell"] } - -# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 -# [lints] -# workspace = true -# -# Differences from the workspace lints have comments explaining why they are different - -[lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[lints.rust.unexpected_cfgs] -level = "warn" -check-cfg = ["cfg(wdk_build_unstable)", "cfg(skip_umdf_static_crt_check)"] - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -# multiple_unsafe_ops_per_block = "forbid" -multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# undocumented_unsafe_blocks = "forbid" -undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# unnecessary_safety_doc = "forbid" -unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition.workspace = true +rust-version.workspace = true +name = "wdk-build" +version = "0.5.1" +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 +license.workspace = true +keywords = ["wdk", "windows", "build-dependencies"] +categories = ["development-tools::build-utils", "development-tools::ffi"] + +[package.metadata.cargo-machete] +ignored = [ + "regex", # Used for enabling "unicode-case" feature which lets us use case-insensitive regex patterns in bindgen +] + +[features] +nightly = [] + +[dependencies] +anyhow.workspace = true +bindgen.workspace = true +camino.workspace = true +cargo_metadata.workspace = true +cfg-if.workspace = true +clap = { workspace = true, features = ["derive"] } +clap-cargo.workspace = true +paste.workspace = true +regex = { workspace = true, features = ["unicode-case"] } +rustversion.workspace = true +semver.workspace = true +serde = { workspace = true, features = ["derive"] } +serde_json.workspace = true +thiserror.workspace = true +tracing.workspace = true +windows = { workspace = true, features = [ + "Win32_Foundation", + "Win32_System_Registry", +] } + +[build-dependencies] +rustversion.workspace = true + +[dev-dependencies] +assert_fs.workspace = true +windows = { workspace = true, features = ["Win32_UI_Shell"] } + +# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 +# [lints] +# workspace = true +# +# Differences from the workspace lints have comments explaining why they are different + +[lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[lints.rust.unexpected_cfgs] +level = "warn" +check-cfg = ["cfg(wdk_build_unstable)", "cfg(skip_umdf_static_crt_check)"] + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +# multiple_unsafe_ops_per_block = "forbid" +multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# undocumented_unsafe_blocks = "forbid" +undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# unnecessary_safety_doc = "forbid" +unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk-build/rust-driver-makefile.toml b/crates/wdk-build/rust-driver-makefile.toml index 46b345d5c..625515435 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.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -148,7 +148,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -188,7 +188,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -234,7 +234,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -257,7 +257,7 @@ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -321,7 +321,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -345,7 +345,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -368,7 +368,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -391,7 +391,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -425,7 +425,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] @@ -460,7 +460,7 @@ script_runner_args = [ script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -546,7 +546,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! 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 0a9f2fb90..b30ed6f0b 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.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! ``` #![allow(unused_doc_comments)] @@ -37,7 +37,7 @@ condition_script = ''' //! ```cargo //! [dependencies] -//! wdk-build = { path = ".", version = "0.5.0" } +//! wdk-build = { path = ".", version = "0.5.1" } //! anyhow = "1" //! ``` #![allow(unused_doc_comments)] diff --git a/crates/wdk-macros/Cargo.toml b/crates/wdk-macros/Cargo.toml index 33040175b..c8d7b4fb0 100644 --- a/crates/wdk-macros/Cargo.toml +++ b/crates/wdk-macros/Cargo.toml @@ -1,70 +1,70 @@ -[package] -edition = "2021" -name = "wdk-macros" -version = "0.5.1" -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 -license.workspace = true -keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] -categories = [ - "external-ffi-bindings", - "development-tools::ffi", - "os::windows-apis", - "os", -] - -[lib] -proc-macro = true - -[features] -default = [] -nightly = [] - -[dependencies] -cfg-if.workspace = true -fs4.workspace = true -itertools.workspace = true -proc-macro2.workspace = true -quote.workspace = true -scratch.workspace = true -serde = { workspace = true, features = ["derive"] } -serde_json.workspace = true -syn = { workspace = true, features = ["full", "extra-traits"] } - -[dev-dependencies] -pretty_assertions.workspace = true -syn.workspace = true - -# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 -# [lints] -# workspace = true -# -# Differences from the workspace lints have comments explaining why they are different - -[lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -multiple_unsafe_ops_per_block = "forbid" -undocumented_unsafe_blocks = "forbid" -# unnecessary_safety_doc = "forbid" -unnecessary_safety_doc = "deny" # This is lowered to deny to allow overriding it for proc_macros: https://github.com/rust-lang/rust-clippy/issues/12583 - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition = "2021" +name = "wdk-macros" +version = "0.5.1" +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 +license.workspace = true +keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] +categories = [ + "external-ffi-bindings", + "development-tools::ffi", + "os::windows-apis", + "os", +] + +[lib] +proc-macro = true + +[features] +default = [] +nightly = [] + +[dependencies] +cfg-if.workspace = true +fs4.workspace = true +itertools.workspace = true +proc-macro2.workspace = true +quote.workspace = true +scratch.workspace = true +serde = { workspace = true, features = ["derive"] } +serde_json.workspace = true +syn = { workspace = true, features = ["full", "extra-traits"] } + +[dev-dependencies] +pretty_assertions.workspace = true +syn.workspace = true + +# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 +# [lints] +# workspace = true +# +# Differences from the workspace lints have comments explaining why they are different + +[lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +multiple_unsafe_ops_per_block = "forbid" +undocumented_unsafe_blocks = "forbid" +# unnecessary_safety_doc = "forbid" +unnecessary_safety_doc = "deny" # This is lowered to deny to allow overriding it for proc_macros: https://github.com/rust-lang/rust-clippy/issues/12583 + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk-panic/Cargo.toml b/crates/wdk-panic/Cargo.toml index 9d13c208d..3ac6aa77d 100644 --- a/crates/wdk-panic/Cargo.toml +++ b/crates/wdk-panic/Cargo.toml @@ -1,13 +1,13 @@ -[package] -edition.workspace = true -name = "wdk-panic" -version = "0.4.1" -description = "Default panic handler implementations for programs built with WDK" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["panic-handler", "panic", "panic-impl", "wdk", "windows"] -categories = ["no-std", "hardware-support"] - -[lints] -workspace = true +[package] +edition.workspace = true +name = "wdk-panic" +version = "0.4.1" +description = "Default panic handler implementations for programs built with WDK" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["panic-handler", "panic", "panic-impl", "wdk", "windows"] +categories = ["no-std", "hardware-support"] + +[lints] +workspace = true diff --git a/crates/wdk-sys/Cargo.toml b/crates/wdk-sys/Cargo.toml index ab6111a4d..a1428cc09 100644 --- a/crates/wdk-sys/Cargo.toml +++ b/crates/wdk-sys/Cargo.toml @@ -1,81 +1,81 @@ -[package] -edition.workspace = true -name = "wdk-sys" -version = "0.5.1" -# 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)" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] -categories = [ - "external-ffi-bindings", - "development-tools::ffi", - "os::windows-apis", - "os", -] - -[features] -default = [] - -gpio = [] -hid = [] -parallel-ports = ["gpio"] -spb = [] -storage = [] -usb = [] - -nightly = ["wdk-macros/nightly", "wdk-build/nightly"] -test-stubs = [] - -[dependencies] -rustversion.workspace = true -wdk-macros.workspace = true - -[build-dependencies] -anyhow.workspace = true -bindgen.workspace = true -cargo_metadata.workspace = true -cc.workspace = true -cfg-if.workspace = true -serde_json.workspace = true -thiserror.workspace = true -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 -# [lints] -# workspace = true -# -# Differences from the workspace lints have comments explaining why they are different - -[lints.rust] -missing_docs = "warn" -# unsafe_op_in_unsafe_fn = "forbid" -unsafe_op_in_unsafe_fn = "deny" # This is lowered to deny so that we can opt out of it for generated code - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -# multiple_unsafe_ops_per_block = "forbid" -multiple_unsafe_ops_per_block = "deny" # This is lowered to deny so that we can opt out of it for generated code -# undocumented_unsafe_blocks = "forbid" -undocumented_unsafe_blocks = "deny" # This is lowered to deny so that we can opt out of it for generated code -unnecessary_safety_doc = "forbid" - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition.workspace = true +name = "wdk-sys" +version = "0.5.1" +# 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)" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] +categories = [ + "external-ffi-bindings", + "development-tools::ffi", + "os::windows-apis", + "os", +] + +[features] +default = [] + +gpio = [] +hid = [] +parallel-ports = ["gpio"] +spb = [] +storage = [] +usb = [] + +nightly = ["wdk-macros/nightly", "wdk-build/nightly"] +test-stubs = [] + +[dependencies] +rustversion.workspace = true +wdk-macros.workspace = true + +[build-dependencies] +anyhow.workspace = true +bindgen.workspace = true +cargo_metadata.workspace = true +cc.workspace = true +cfg-if.workspace = true +serde_json.workspace = true +thiserror.workspace = true +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +# Cannot inherit workspace lints since overriding them is not supported yet: https://github.com/rust-lang/cargo/issues/13157 +# [lints] +# workspace = true +# +# Differences from the workspace lints have comments explaining why they are different + +[lints.rust] +missing_docs = "warn" +# unsafe_op_in_unsafe_fn = "forbid" +unsafe_op_in_unsafe_fn = "deny" # This is lowered to deny so that we can opt out of it for generated code + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +# multiple_unsafe_ops_per_block = "forbid" +multiple_unsafe_ops_per_block = "deny" # This is lowered to deny so that we can opt out of it for generated code +# undocumented_unsafe_blocks = "forbid" +undocumented_unsafe_blocks = "deny" # This is lowered to deny so that we can opt out of it for generated code +unnecessary_safety_doc = "forbid" + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk/Cargo.toml b/crates/wdk/Cargo.toml index 5a2496ce4..b6987f4c5 100644 --- a/crates/wdk/Cargo.toml +++ b/crates/wdk/Cargo.toml @@ -1,37 +1,37 @@ -[package] -edition.workspace = true -name = "wdk" -version = "0.4.1" -# 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)" -repository.workspace = true -readme.workspace = true -license.workspace = true -keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] -categories = [ - "api-bindings", - "development-tools::build-utils", - "development-tools::ffi", - "os", -] - -[features] -default = ["alloc"] -alloc = [] -nightly = ["wdk-sys/nightly"] - -[dependencies] -cfg-if.workspace = true -wdk-sys.workspace = true - -[build-dependencies] -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -[dev-dependencies] -wdk-sys = { workspace = true, features = ["test-stubs"] } - -[lints] -workspace = true +[package] +edition.workspace = true +name = "wdk" +version = "0.4.1" +# 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)" +repository.workspace = true +readme.workspace = true +license.workspace = true +keywords = ["wdk", "windows", "wdf", "wdm", "ffi"] +categories = [ + "api-bindings", + "development-tools::build-utils", + "development-tools::ffi", + "os", +] + +[features] +default = ["alloc"] +alloc = [] +nightly = ["wdk-sys/nightly"] + +[dependencies] +cfg-if.workspace = true +wdk-sys.workspace = true + +[build-dependencies] +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +[dev-dependencies] +wdk-sys = { workspace = true, features = ["test-stubs"] } + +[lints] +workspace = true diff --git a/examples/sample-kmdf-driver/Cargo.lock b/examples/sample-kmdf-driver/Cargo.lock index 087f9955b..7e627d51d 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.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -680,7 +680,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -727,11 +727,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-umdf-driver/Cargo.lock b/examples/sample-umdf-driver/Cargo.lock index b791ca517..2c4d2a459 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.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -683,7 +683,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -705,7 +705,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -720,7 +720,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/examples/sample-wdm-driver/Cargo.lock b/examples/sample-wdm-driver/Cargo.lock index 56344b319..5a2bad420 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.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -685,7 +685,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -695,7 +695,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -717,7 +717,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -732,11 +732,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/config-kmdf/Cargo.lock b/tests/config-kmdf/Cargo.lock index a30c1a769..fe0294679 100644 --- a/tests/config-kmdf/Cargo.lock +++ b/tests/config-kmdf/Cargo.lock @@ -823,7 +823,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -873,7 +873,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/config-umdf/Cargo.lock b/tests/config-umdf/Cargo.lock index 36c760aee..f7cbd416d 100644 --- a/tests/config-umdf/Cargo.lock +++ b/tests/config-umdf/Cargo.lock @@ -823,7 +823,7 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -873,7 +873,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/mixed-package-kmdf-workspace/Cargo.lock b/tests/mixed-package-kmdf-workspace/Cargo.lock index ca03497bb..0cbed4932 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.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "wdk-alloc" -version = "0.4.0" +version = "0.4.1" dependencies = [ "tracing", "tracing-subscriber", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -737,11 +737,11 @@ dependencies = [ [[package]] name = "wdk-panic" -version = "0.4.0" +version = "0.4.1" [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/umdf-driver-workspace/Cargo.lock b/tests/umdf-driver-workspace/Cargo.lock index f1cc863e4..3b6ab1fd8 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.4.0" +version = "0.4.1" dependencies = [ "cfg-if", "tracing", @@ -693,7 +693,7 @@ dependencies = [ [[package]] name = "wdk-build" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", diff --git a/tests/wdk-sys-tests/Cargo.lock b/tests/wdk-sys-tests/Cargo.lock index 15264979d..92c8098d7 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.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", @@ -686,7 +686,7 @@ dependencies = [ [[package]] name = "wdk-macros" -version = "0.5.0" +version = "0.5.1" dependencies = [ "cfg-if", "fs4", @@ -701,7 +701,7 @@ dependencies = [ [[package]] name = "wdk-sys" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bindgen", From 554d86fd361c63a74b3996a39bef124dd463335e Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 15:24:56 -0800 Subject: [PATCH 3/8] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Melvin Wang --- crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp | 2 +- crates/cargo-wdk/templates/umdf/Cargo.toml.tmp | 2 +- crates/cargo-wdk/templates/wdm/Cargo.toml.tmp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp index 35a7d9600..18e6eee3a 100644 --- a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -10,7 +10,7 @@ crate-type = ["cdylib"] wdk-build = "0.5.1" [dependencies] -wdk = "0.4.0" +wdk = "0.4.1" wdk-alloc = "0.4.0" wdk-panic = "0.4.0" wdk-sys = "0.5.0" diff --git a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp index 4842bc38f..1eacb407d 100644 --- a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -10,7 +10,7 @@ crate-type = ["cdylib"] wdk-build = "0.5.1" [dependencies] -wdk = "0.4.0" +wdk = "0.4.1" wdk-sys = "0.5.0" [features] diff --git a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp index ce87d9ab5..6caaa3091 100644 --- a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -8,7 +8,7 @@ crate-type = ["cdylib"] wdk-build = "0.5.1" [dependencies] -wdk = "0.4.0" +wdk = "0.4.1" wdk-alloc = "0.4.0" wdk-panic = "0.4.0" wdk-sys = "0.5.0" From 4f1bd0df17469315c1431956da32660a33e5a49b Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 15:28:27 -0800 Subject: [PATCH 4/8] Normalize line endings --- Cargo.lock | 2700 ++++++++++++++++---------------- Cargo.toml | 246 +-- crates/cargo-wdk/CHANGELOG.md | 108 +- crates/cargo-wdk/Cargo.toml | 126 +- crates/wdk-alloc/CHANGELOG.md | 110 +- crates/wdk-build/CHANGELOG.md | 250 +-- crates/wdk-macros/CHANGELOG.md | 162 +- crates/wdk-panic/CHANGELOG.md | 32 +- crates/wdk-sys/CHANGELOG.md | 200 +-- crates/wdk/CHANGELOG.md | 118 +- 10 files changed, 2026 insertions(+), 2026 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6283e41c..31f8e8afb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,1350 +1,1350 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "anstream" -version = "0.6.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" - -[[package]] -name = "anstyle-parse" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys", -] - -[[package]] -name = "anyhow" -version = "1.0.97" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" - -[[package]] -name = "assert_cmd" -version = "2.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1835b7f27878de8525dc71410b5a31cdcc5f230aed5ba5df968e09c201b23d" -dependencies = [ - "anstyle", - "bstr", - "doc-comment", - "libc", - "predicates", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - -[[package]] -name = "assert_fs" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652f6cb1f516886fcfee5e7a5c078b9ade62cfcb889524efe5a64d682dd27a9" -dependencies = [ - "anstyle", - "doc-comment", - "globwalk", - "predicates", - "predicates-core", - "predicates-tree", - "tempfile", -] - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "bindgen" -version = "0.71.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" -dependencies = [ - "bitflags", - "cexpr", - "clang-sys", - "itertools", - "log", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex", - "syn", -] - -[[package]] -name = "bitflags" -version = "2.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bstr" -version = "1.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" -dependencies = [ - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "camino" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-platform" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-wdk" -version = "0.1.1" -dependencies = [ - "anyhow", - "assert_cmd", - "assert_fs", - "cargo_metadata", - "clap", - "clap-cargo", - "clap-verbosity-flag", - "fs4", - "include_dir", - "mockall", - "mockall_double", - "predicates", - "regex", - "serde_json", - "sha2", - "thiserror", - "tracing", - "tracing-subscriber", - "wdk-build", -] - -[[package]] -name = "cargo_metadata" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "cc" -version = "1.2.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb" -dependencies = [ - "find-msvc-tools", - "shlex", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-if" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" - -[[package]] -name = "clang-sys" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "4.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap-cargo" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d546f0e84ff2bfa4da1ce9b54be42285767ba39c688572ca32412a09a73851e5" -dependencies = [ - "anstyle", - "clap", -] - -[[package]] -name = "clap-verbosity-flag" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2678fade3b77aa3a8ff3aae87e9c008d3fb00473a41c71fbf74e91c8c7b37e84" -dependencies = [ - "clap", - "log", -] - -[[package]] -name = "clap_builder" -version = "4.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" - -[[package]] -name = "colorchoice" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "downcast" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" - -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - -[[package]] -name = "errno" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - -[[package]] -name = "find-msvc-tools" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3" - -[[package]] -name = "float-cmp" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fragile" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" - -[[package]] -name = "fs4" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" -dependencies = [ - "rustix", - "windows-sys", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" -dependencies = [ - "cfg-if", - "libc", - "wasi", - "windows-targets", -] - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "globset" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "globwalk" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "ignore" -version = "0.4.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b" -dependencies = [ - "crossbeam-deque", - "globset", - "log", - "memchr", - "regex-automata", - "same-file", - "walkdir", - "winapi-util", -] - -[[package]] -name = "include_dir" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" -dependencies = [ - "include_dir_macros", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "libc" -version = "0.2.172" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" - -[[package]] -name = "libloading" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" -dependencies = [ - "cfg-if", - "windows-targets", -] - -[[package]] -name = "linux-raw-sys" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" - -[[package]] -name = "log" -version = "0.4.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" - -[[package]] -name = "matchers" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" -dependencies = [ - "regex-automata", -] - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "mockall" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "mockall_derive", - "predicates", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "mockall_double" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1ca96e5ac35256ae3e13536edd39b172b88f41615e1d7b653c8ad24524113e8" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "nu-ansi-term" -version = "0.50.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "once_cell" -version = "1.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" - -[[package]] -name = "once_cell_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "predicates" -version = "3.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" -dependencies = [ - "anstyle", - "difflib", - "float-cmp", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" - -[[package]] -name = "predicates-tree" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "pretty_assertions" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" -dependencies = [ - "diff", - "yansi", -] - -[[package]] -name = "prettyplease" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" -dependencies = [ - "proc-macro2", - "syn", -] - -[[package]] -name = "proc-macro2" -version = "1.0.101" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "regex" -version = "1.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" - -[[package]] -name = "rustc-hash" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" - -[[package]] -name = "rustix" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" -dependencies = [ - "bitflags", - "errno", - "libc", - "linux-raw-sys", - "windows-sys", -] - -[[package]] -name = "rustversion" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scratch" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" - -[[package]] -name = "semver" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" -dependencies = [ - "serde", -] - -[[package]] -name = "serde" -version = "1.0.219" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.219" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.140" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "syn" -version = "2.0.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "tempfile" -version = "3.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" -dependencies = [ - "fastrand", - "getrandom", - "once_cell", - "rustix", - "windows-sys", -] - -[[package]] -name = "termtree" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" - -[[package]] -name = "thiserror" -version = "2.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "tracing" -version = "0.1.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex-automata", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "typenum" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "wait-timeout" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasi" -version = "0.13.3+wasi-0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" -dependencies = [ - "wit-bindgen-rt", -] - -[[package]] -name = "wdk" -version = "0.4.1" -dependencies = [ - "cfg-if", - "tracing", - "tracing-subscriber", - "wdk-build", - "wdk-sys", -] - -[[package]] -name = "wdk-alloc" -version = "0.4.1" -dependencies = [ - "tracing", - "tracing-subscriber", - "wdk-build", - "wdk-sys", -] - -[[package]] -name = "wdk-build" -version = "0.5.1" -dependencies = [ - "anyhow", - "assert_fs", - "bindgen", - "camino", - "cargo_metadata", - "cfg-if", - "clap", - "clap-cargo", - "paste", - "regex", - "rustversion", - "semver", - "serde", - "serde_json", - "thiserror", - "tracing", - "windows", -] - -[[package]] -name = "wdk-macros" -version = "0.5.1" -dependencies = [ - "cfg-if", - "fs4", - "itertools", - "pretty_assertions", - "proc-macro2", - "quote", - "scratch", - "serde", - "serde_json", - "syn", -] - -[[package]] -name = "wdk-panic" -version = "0.4.1" - -[[package]] -name = "wdk-sys" -version = "0.5.1" -dependencies = [ - "anyhow", - "bindgen", - "cargo_metadata", - "cc", - "cfg-if", - "rustversion", - "serde_json", - "thiserror", - "tracing", - "tracing-subscriber", - "wdk-build", - "wdk-macros", -] - -[[package]] -name = "winapi-util" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "windows" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" -dependencies = [ - "windows-core", - "windows-targets", -] - -[[package]] -name = "windows-core" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" -dependencies = [ - "windows-implement", - "windows-interface", - "windows-result", - "windows-strings", - "windows-targets", -] - -[[package]] -name = "windows-implement" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-result" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-strings" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" -dependencies = [ - "windows-result", - "windows-targets", -] - -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "wit-bindgen-rt" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" -dependencies = [ - "bitflags", -] - -[[package]] -name = "yansi" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "anstream" +version = "0.6.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" + +[[package]] +name = "anstyle-parse" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys", +] + +[[package]] +name = "anyhow" +version = "1.0.97" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" + +[[package]] +name = "assert_cmd" +version = "2.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc1835b7f27878de8525dc71410b5a31cdcc5f230aed5ba5df968e09c201b23d" +dependencies = [ + "anstyle", + "bstr", + "doc-comment", + "libc", + "predicates", + "predicates-core", + "predicates-tree", + "wait-timeout", +] + +[[package]] +name = "assert_fs" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a652f6cb1f516886fcfee5e7a5c078b9ade62cfcb889524efe5a64d682dd27a9" +dependencies = [ + "anstyle", + "doc-comment", + "globwalk", + "predicates", + "predicates-core", + "predicates-tree", + "tempfile", +] + +[[package]] +name = "autocfg" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" + +[[package]] +name = "bindgen" +version = "0.71.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", + "syn", +] + +[[package]] +name = "bitflags" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "bstr" +version = "1.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" +dependencies = [ + "memchr", + "regex-automata", + "serde", +] + +[[package]] +name = "camino" +version = "1.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-wdk" +version = "0.1.1" +dependencies = [ + "anyhow", + "assert_cmd", + "assert_fs", + "cargo_metadata", + "clap", + "clap-cargo", + "clap-verbosity-flag", + "fs4", + "include_dir", + "mockall", + "mockall_double", + "predicates", + "regex", + "serde_json", + "sha2", + "thiserror", + "tracing", + "tracing-subscriber", + "wdk-build", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "cc" +version = "1.2.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" + +[[package]] +name = "clang-sys" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "clap" +version = "4.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap-cargo" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d546f0e84ff2bfa4da1ce9b54be42285767ba39c688572ca32412a09a73851e5" +dependencies = [ + "anstyle", + "clap", +] + +[[package]] +name = "clap-verbosity-flag" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2678fade3b77aa3a8ff3aae87e9c008d3fb00473a41c71fbf74e91c8c7b37e84" +dependencies = [ + "clap", + "log", +] + +[[package]] +name = "clap_builder" +version = "4.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "clap_lex" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" + +[[package]] +name = "colorchoice" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] +name = "difflib" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "doc-comment" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" + +[[package]] +name = "downcast" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" + +[[package]] +name = "either" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" + +[[package]] +name = "errno" +version = "0.3.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + +[[package]] +name = "find-msvc-tools" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3" + +[[package]] +name = "float-cmp" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8" +dependencies = [ + "num-traits", +] + +[[package]] +name = "fragile" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" + +[[package]] +name = "fs4" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" +dependencies = [ + "rustix", + "windows-sys", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi", + "windows-targets", +] + +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "globset" +version = "0.4.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5" +dependencies = [ + "aho-corasick", + "bstr", + "log", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "globwalk" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" +dependencies = [ + "bitflags", + "ignore", + "walkdir", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "ignore" +version = "0.4.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b" +dependencies = [ + "crossbeam-deque", + "globset", + "log", + "memchr", + "regex-automata", + "same-file", + "walkdir", + "winapi-util", +] + +[[package]] +name = "include_dir" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + +[[package]] +name = "lazy_static" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" + +[[package]] +name = "libc" +version = "0.2.172" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" + +[[package]] +name = "libloading" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" +dependencies = [ + "cfg-if", + "windows-targets", +] + +[[package]] +name = "linux-raw-sys" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" + +[[package]] +name = "log" +version = "0.4.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mockall" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "mockall_derive", + "predicates", + "predicates-tree", +] + +[[package]] +name = "mockall_derive" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "mockall_double" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1ca96e5ac35256ae3e13536edd39b172b88f41615e1d7b653c8ad24524113e8" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pin-project-lite" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + +[[package]] +name = "predicates" +version = "3.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" +dependencies = [ + "anstyle", + "difflib", + "float-cmp", + "normalize-line-endings", + "predicates-core", + "regex", +] + +[[package]] +name = "predicates-core" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" + +[[package]] +name = "predicates-tree" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" +dependencies = [ + "predicates-core", + "termtree", +] + +[[package]] +name = "pretty_assertions" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" +dependencies = [ + "diff", + "yansi", +] + +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn", +] + +[[package]] +name = "proc-macro2" +version = "1.0.101" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "regex" +version = "1.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" + +[[package]] +name = "rustc-hash" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" + +[[package]] +name = "rustix" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] + +[[package]] +name = "rustversion" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" + +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "scratch" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" + +[[package]] +name = "semver" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" +dependencies = [ + "serde", +] + +[[package]] +name = "serde" +version = "1.0.219" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.219" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.140" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +dependencies = [ + "itoa", + "memchr", + "ryu", + "serde", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "syn" +version = "2.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tempfile" +version = "3.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +dependencies = [ + "fastrand", + "getrandom", + "once_cell", + "rustix", + "windows-sys", +] + +[[package]] +name = "termtree" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" + +[[package]] +name = "thiserror" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "thread_local" +version = "1.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +dependencies = [ + "cfg-if", + "once_cell", +] + +[[package]] +name = "tracing" +version = "0.1.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "tracing-core" +version = "0.1.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "typenum" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + +[[package]] +name = "wdk" +version = "0.4.1" +dependencies = [ + "cfg-if", + "tracing", + "tracing-subscriber", + "wdk-build", + "wdk-sys", +] + +[[package]] +name = "wdk-alloc" +version = "0.4.1" +dependencies = [ + "tracing", + "tracing-subscriber", + "wdk-build", + "wdk-sys", +] + +[[package]] +name = "wdk-build" +version = "0.5.1" +dependencies = [ + "anyhow", + "assert_fs", + "bindgen", + "camino", + "cargo_metadata", + "cfg-if", + "clap", + "clap-cargo", + "paste", + "regex", + "rustversion", + "semver", + "serde", + "serde_json", + "thiserror", + "tracing", + "windows", +] + +[[package]] +name = "wdk-macros" +version = "0.5.1" +dependencies = [ + "cfg-if", + "fs4", + "itertools", + "pretty_assertions", + "proc-macro2", + "quote", + "scratch", + "serde", + "serde_json", + "syn", +] + +[[package]] +name = "wdk-panic" +version = "0.4.1" + +[[package]] +name = "wdk-sys" +version = "0.5.1" +dependencies = [ + "anyhow", + "bindgen", + "cargo_metadata", + "cc", + "cfg-if", + "rustversion", + "serde_json", + "thiserror", + "tracing", + "tracing-subscriber", + "wdk-build", + "wdk-macros", +] + +[[package]] +name = "winapi-util" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "windows" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" +dependencies = [ + "windows-core", + "windows-targets", +] + +[[package]] +name = "windows-core" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-result", + "windows-strings", + "windows-targets", +] + +[[package]] +name = "windows-implement" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "windows-interface" +version = "0.58.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags", +] + +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" diff --git a/Cargo.toml b/Cargo.toml index ade0704c7..ae91cf976 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,123 +1,123 @@ -[workspace] -members = ["crates/*"] -# Examples and tests must be excluded from the workspace since only one WDK configuration per build graph is supported. -exclude = [ - # Each example and test must be explicitly listed since glob is not currently supported for workspace.exclude: https://github.com/rust-lang/cargo/issues/6009 - "examples/sample-kmdf-driver", - "examples/sample-umdf-driver", - "examples/sample-wdm-driver", - "tests/config-kmdf", - "tests/config-umdf", - "tests/config-wdm", - "tests/wdk-macros-tests", - "tests/wdk-sys-tests", -] -resolver = "3" - -[workspace.package] -edition = "2024" -rust-version = "1.85.0" -repository = "https://github.com/microsoft/windows-drivers-rs" -readme = "README.md" -license = "MIT OR Apache-2.0" - -[workspace.dependencies] -# Workspace Crates -wdk = { path = "crates/wdk", version = "0.4.1" } -wdk-alloc = { path = "crates/wdk-alloc", version = "0.4.1" } -wdk-build = { path = "crates/wdk-build", version = "0.5.1" } -# Exact version (=) kept in lockstep with wdk-sys. These crates must be versioned together because: -# (1) wdk-macros is a proc-macro crate consumed only through wdk-sys re-exports, and -# (2) the two crates form a tightly coupled API surface. -# Enforced by .github/workflows/version-checks.yaml (check-version-consistency job, lockstep step). -wdk-macros = { path = "crates/wdk-macros", version = "=0.5.1" } -wdk-panic = { path = "crates/wdk-panic", version = "0.4.1" } -wdk-sys = { path = "crates/wdk-sys", version = "0.5.1" } - -# External Crates -anyhow = "1.0.97" -assert_cmd = "2.0.14" -assert_fs = "1.1.3" -bindgen = "0.71.0" -camino = "1.1.9" -cargo_metadata = "0.19.2" -cc = "1.2.39" -cfg-if = "1.0.3" -clap = "4.5.40" -clap-cargo = "0.15.2" -clap-verbosity-flag = "3.0.2" -fs4 = "0.13.1" -include_dir = "0.7.4" -itertools = "0.13.0" -mockall = "0.13.1" -mockall_double = "0.3.1" -paste = "1.0.15" -predicates = "3.1.0" -pretty_assertions = "1.4.1" -proc-macro2 = "1.0.101" -quote = "1.0.40" -regex = "1.11.1" -rustversion = "1.0.20" -scratch = "1.0" -semver = "1.0.26" -serde = "1.0" -serde_json = "1.0" -sha2 = "0.10.8" -syn = "2.0.106" -thiserror = "2.0.12" -tracing = "0.1.40" -tracing-subscriber = "0.3.20" -windows = "0.58.0" - -# The following workspace.metadata.wdk sections can be uncommented to configure the workspace for a specific WDK configuration (ex. for rust-analyzer to resolve things for a specific configuration) - -# Uncomment the section below for KMDF -# [workspace.metadata.wdk.driver-model] -# driver-type = "KMDF" -# kmdf-version-major = 1 -# target-kmdf-version-minor = 33 - -# Uncomment the section below for UMDF -# [workspace.metadata.wdk.driver-model] -# driver-type = "UMDF" -# umdf-version-major = 2 -# target-umdf-version-minor = 33 - -# Uncomment the section below for WDM -# [workspace.metadata.wdk.driver-model] -# driver-type = "WDM" - -# Until https://github.com/rust-lang/cargo/issues/12208 is resolved, each package in the workspace needs to explictly -# add the following block to its Cargo manifest in order to enable these global lint configurations: -# -# [lints] -# workspace = true - -[workspace.lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[workspace.lints.clippy] -# Lint Groups -all = { level = "deny", priority = -1 } -pedantic = { level = "warn", priority = -1 } -nursery = { level = "warn", priority = -1 } -cargo = { level = "warn", priority = -1 } -# Individual Lints -multiple_unsafe_ops_per_block = "forbid" -undocumented_unsafe_blocks = "forbid" -unnecessary_safety_doc = "forbid" - -[workspace.lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" - -[profile.release] -lto = true +[workspace] +members = ["crates/*"] +# Examples and tests must be excluded from the workspace since only one WDK configuration per build graph is supported. +exclude = [ + # Each example and test must be explicitly listed since glob is not currently supported for workspace.exclude: https://github.com/rust-lang/cargo/issues/6009 + "examples/sample-kmdf-driver", + "examples/sample-umdf-driver", + "examples/sample-wdm-driver", + "tests/config-kmdf", + "tests/config-umdf", + "tests/config-wdm", + "tests/wdk-macros-tests", + "tests/wdk-sys-tests", +] +resolver = "3" + +[workspace.package] +edition = "2024" +rust-version = "1.85.0" +repository = "https://github.com/microsoft/windows-drivers-rs" +readme = "README.md" +license = "MIT OR Apache-2.0" + +[workspace.dependencies] +# Workspace Crates +wdk = { path = "crates/wdk", version = "0.4.1" } +wdk-alloc = { path = "crates/wdk-alloc", version = "0.4.1" } +wdk-build = { path = "crates/wdk-build", version = "0.5.1" } +# Exact version (=) kept in lockstep with wdk-sys. These crates must be versioned together because: +# (1) wdk-macros is a proc-macro crate consumed only through wdk-sys re-exports, and +# (2) the two crates form a tightly coupled API surface. +# Enforced by .github/workflows/version-checks.yaml (check-version-consistency job, lockstep step). +wdk-macros = { path = "crates/wdk-macros", version = "=0.5.1" } +wdk-panic = { path = "crates/wdk-panic", version = "0.4.1" } +wdk-sys = { path = "crates/wdk-sys", version = "0.5.1" } + +# External Crates +anyhow = "1.0.97" +assert_cmd = "2.0.14" +assert_fs = "1.1.3" +bindgen = "0.71.0" +camino = "1.1.9" +cargo_metadata = "0.19.2" +cc = "1.2.39" +cfg-if = "1.0.3" +clap = "4.5.40" +clap-cargo = "0.15.2" +clap-verbosity-flag = "3.0.2" +fs4 = "0.13.1" +include_dir = "0.7.4" +itertools = "0.13.0" +mockall = "0.13.1" +mockall_double = "0.3.1" +paste = "1.0.15" +predicates = "3.1.0" +pretty_assertions = "1.4.1" +proc-macro2 = "1.0.101" +quote = "1.0.40" +regex = "1.11.1" +rustversion = "1.0.20" +scratch = "1.0" +semver = "1.0.26" +serde = "1.0" +serde_json = "1.0" +sha2 = "0.10.8" +syn = "2.0.106" +thiserror = "2.0.12" +tracing = "0.1.40" +tracing-subscriber = "0.3.20" +windows = "0.58.0" + +# The following workspace.metadata.wdk sections can be uncommented to configure the workspace for a specific WDK configuration (ex. for rust-analyzer to resolve things for a specific configuration) + +# Uncomment the section below for KMDF +# [workspace.metadata.wdk.driver-model] +# driver-type = "KMDF" +# kmdf-version-major = 1 +# target-kmdf-version-minor = 33 + +# Uncomment the section below for UMDF +# [workspace.metadata.wdk.driver-model] +# driver-type = "UMDF" +# umdf-version-major = 2 +# target-umdf-version-minor = 33 + +# Uncomment the section below for WDM +# [workspace.metadata.wdk.driver-model] +# driver-type = "WDM" + +# Until https://github.com/rust-lang/cargo/issues/12208 is resolved, each package in the workspace needs to explictly +# add the following block to its Cargo manifest in order to enable these global lint configurations: +# +# [lints] +# workspace = true + +[workspace.lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[workspace.lints.clippy] +# Lint Groups +all = { level = "deny", priority = -1 } +pedantic = { level = "warn", priority = -1 } +nursery = { level = "warn", priority = -1 } +cargo = { level = "warn", priority = -1 } +# Individual Lints +multiple_unsafe_ops_per_block = "forbid" +undocumented_unsafe_blocks = "forbid" +unnecessary_safety_doc = "forbid" + +[workspace.lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" + +[profile.release] +lto = true diff --git a/crates/cargo-wdk/CHANGELOG.md b/crates/cargo-wdk/CHANGELOG.md index 46004e814..7edd77179 100644 --- a/crates/cargo-wdk/CHANGELOG.md +++ b/crates/cargo-wdk/CHANGELOG.md @@ -1,54 +1,54 @@ -# 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.1.1](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.1.0...cargo-wdk-v0.1.1) - 2025-11-13 - -### Other - -- update cargo-wdk templates to use latest crate versions ([#573](https://github.com/microsoft/windows-drivers-rs/pull/573)) -- update cargo-wdk `Cargo.toml` description to align better with `README.md` ([#569](https://github.com/microsoft/windows-drivers-rs/pull/569)) - -## [0.1.0](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.0.0...cargo-wdk-v0.1.0) - 2025-11-06 - -### Added - -- support stampinf version override ([#520](https://github.com/microsoft/windows-drivers-rs/pull/520)) -- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) -- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) -- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) - -### Fixed - -- remove `--cwd` arg from `cargo-wdk` ([#437](https://github.com/microsoft/windows-drivers-rs/pull/437)) -- remove from `NewArgs::driver_type()` the unnecessary check based on `usize` casts ([#421](https://github.com/microsoft/windows-drivers-rs/pull/421)) -- remove cdylib test exclusion from Cargo.toml files ([#379](https://github.com/microsoft/windows-drivers-rs/pull/379)) - -### 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)) -- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/kmdf-driver ([#530](https://github.com/microsoft/windows-drivers-rs/pull/530)) -- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/wdm-driver ([#532](https://github.com/microsoft/windows-drivers-rs/pull/532)) -- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/umdf-driver ([#531](https://github.com/microsoft/windows-drivers-rs/pull/531)) -- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/kmdf-driver ([#472](https://github.com/microsoft/windows-drivers-rs/pull/472)) -- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/wdm-driver ([#474](https://github.com/microsoft/windows-drivers-rs/pull/474)) -- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/umdf-driver ([#469](https://github.com/microsoft/windows-drivers-rs/pull/469)) -- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/umdf-driver ([#475](https://github.com/microsoft/windows-drivers-rs/pull/475)) -- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/wdm-driver ([#470](https://github.com/microsoft/windows-drivers-rs/pull/470)) -- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/kmdf-driver ([#465](https://github.com/microsoft/windows-drivers-rs/pull/465)) -- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/umdf-driver ([#523](https://github.com/microsoft/windows-drivers-rs/pull/523)) -- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/kmdf-driver ([#522](https://github.com/microsoft/windows-drivers-rs/pull/522)) -- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/wdm-driver ([#524](https://github.com/microsoft/windows-drivers-rs/pull/524)) -- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) -- 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)) -- change categories in cargo-wdk to known slugs ([#441](https://github.com/microsoft/windows-drivers-rs/pull/441)) -- 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)) -- update dependencies to avoid double windows-sys dependency ([#393](https://github.com/microsoft/windows-drivers-rs/pull/393)) -- fix invalid argument in cargo-wdk command in README.md ([#377](https://github.com/microsoft/windows-drivers-rs/pull/377)) +# 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.1.1](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.1.0...cargo-wdk-v0.1.1) - 2025-11-13 + +### Other + +- update cargo-wdk templates to use latest crate versions ([#573](https://github.com/microsoft/windows-drivers-rs/pull/573)) +- update cargo-wdk `Cargo.toml` description to align better with `README.md` ([#569](https://github.com/microsoft/windows-drivers-rs/pull/569)) + +## [0.1.0](https://github.com/microsoft/windows-drivers-rs/compare/cargo-wdk-v0.0.0...cargo-wdk-v0.1.0) - 2025-11-06 + +### Added + +- support stampinf version override ([#520](https://github.com/microsoft/windows-drivers-rs/pull/520)) +- add color to cargo wdk and cargo make argument forwarding ([#519](https://github.com/microsoft/windows-drivers-rs/pull/519)) +- enhance cargo metadata parsing to respect config.toml ([#451](https://github.com/microsoft/windows-drivers-rs/pull/451)) +- add `cargo-wdk` cargo extension ([#306](https://github.com/microsoft/windows-drivers-rs/pull/306)) + +### Fixed + +- remove `--cwd` arg from `cargo-wdk` ([#437](https://github.com/microsoft/windows-drivers-rs/pull/437)) +- remove from `NewArgs::driver_type()` the unnecessary check based on `usize` casts ([#421](https://github.com/microsoft/windows-drivers-rs/pull/421)) +- remove cdylib test exclusion from Cargo.toml files ([#379](https://github.com/microsoft/windows-drivers-rs/pull/379)) + +### 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)) +- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/kmdf-driver ([#530](https://github.com/microsoft/windows-drivers-rs/pull/530)) +- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/wdm-driver ([#532](https://github.com/microsoft/windows-drivers-rs/pull/532)) +- Bump proc-macro2 from 1.0.94 to 1.0.101 in /crates/cargo-wdk/tests/umdf-driver ([#531](https://github.com/microsoft/windows-drivers-rs/pull/531)) +- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/kmdf-driver ([#472](https://github.com/microsoft/windows-drivers-rs/pull/472)) +- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/wdm-driver ([#474](https://github.com/microsoft/windows-drivers-rs/pull/474)) +- Bump syn from 2.0.100 to 2.0.106 in /crates/cargo-wdk/tests/umdf-driver ([#469](https://github.com/microsoft/windows-drivers-rs/pull/469)) +- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/umdf-driver ([#475](https://github.com/microsoft/windows-drivers-rs/pull/475)) +- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/wdm-driver ([#470](https://github.com/microsoft/windows-drivers-rs/pull/470)) +- Bump cfg-if from 1.0.0 to 1.0.3 in /crates/cargo-wdk/tests/kmdf-driver ([#465](https://github.com/microsoft/windows-drivers-rs/pull/465)) +- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/umdf-driver ([#523](https://github.com/microsoft/windows-drivers-rs/pull/523)) +- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/kmdf-driver ([#522](https://github.com/microsoft/windows-drivers-rs/pull/522)) +- Bump cc from 1.2.17 to 1.2.39 in /crates/cargo-wdk/tests/wdm-driver ([#524](https://github.com/microsoft/windows-drivers-rs/pull/524)) +- improve logging for build action ([#495](https://github.com/microsoft/windows-drivers-rs/pull/495)) +- 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)) +- change categories in cargo-wdk to known slugs ([#441](https://github.com/microsoft/windows-drivers-rs/pull/441)) +- 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)) +- update dependencies to avoid double windows-sys dependency ([#393](https://github.com/microsoft/windows-drivers-rs/pull/393)) +- fix invalid argument in cargo-wdk command in README.md ([#377](https://github.com/microsoft/windows-drivers-rs/pull/377)) diff --git a/crates/cargo-wdk/Cargo.toml b/crates/cargo-wdk/Cargo.toml index ad9bf92c1..17ae0ffaa 100644 --- a/crates/cargo-wdk/Cargo.toml +++ b/crates/cargo-wdk/Cargo.toml @@ -1,63 +1,63 @@ -[package] -edition.workspace = true -name = "cargo-wdk" -version = "0.1.1" -authors = ["Microsoft"] -description = "A Cargo extension for developing Windows drivers in Rust" -repository.workspace = true -license.workspace = true -keywords = ["wdk", "windows", "cargo"] -categories = ["command-line-utilities", "development-tools::cargo-plugins"] -exclude = ["tests"] - -[dependencies] -anyhow.workspace = true -cargo_metadata.workspace = true -clap = { workspace = true, features = ["derive"] } -clap-cargo.workspace = true -clap-verbosity-flag.workspace = true -fs4.workspace = true -include_dir.workspace = true -mockall.workspace = true -mockall_double.workspace = true -serde_json.workspace = true -thiserror.workspace = true -tracing.workspace = true -tracing-subscriber = { workspace = true, features = ["env-filter"] } -wdk-build.workspace = true - -[dev-dependencies] -assert_cmd.workspace = true -assert_fs.workspace = true -predicates.workspace = true -regex.workspace = true -sha2.workspace = true - -[lints.rust] -missing_docs = "warn" -unsafe_op_in_unsafe_fn = "forbid" - -[lints.clippy] -# Lint Groups -all = "deny" -pedantic = "warn" -nursery = "warn" -cargo = "warn" -# Individual Lints -# multiple_unsafe_ops_per_block = "forbid" -multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# undocumented_unsafe_blocks = "forbid" -undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros -# unnecessary_safety_doc = "forbid" -unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros - -[lints.rustdoc] -bare_urls = "warn" -broken_intra_doc_links = "warn" -invalid_codeblock_attributes = "warn" -invalid_html_tags = "warn" -invalid_rust_codeblocks = "warn" -missing_crate_level_docs = "warn" -private_intra_doc_links = "warn" -redundant_explicit_links = "warn" -unescaped_backticks = "warn" +[package] +edition.workspace = true +name = "cargo-wdk" +version = "0.1.1" +authors = ["Microsoft"] +description = "A Cargo extension for developing Windows drivers in Rust" +repository.workspace = true +license.workspace = true +keywords = ["wdk", "windows", "cargo"] +categories = ["command-line-utilities", "development-tools::cargo-plugins"] +exclude = ["tests"] + +[dependencies] +anyhow.workspace = true +cargo_metadata.workspace = true +clap = { workspace = true, features = ["derive"] } +clap-cargo.workspace = true +clap-verbosity-flag.workspace = true +fs4.workspace = true +include_dir.workspace = true +mockall.workspace = true +mockall_double.workspace = true +serde_json.workspace = true +thiserror.workspace = true +tracing.workspace = true +tracing-subscriber = { workspace = true, features = ["env-filter"] } +wdk-build.workspace = true + +[dev-dependencies] +assert_cmd.workspace = true +assert_fs.workspace = true +predicates.workspace = true +regex.workspace = true +sha2.workspace = true + +[lints.rust] +missing_docs = "warn" +unsafe_op_in_unsafe_fn = "forbid" + +[lints.clippy] +# Lint Groups +all = "deny" +pedantic = "warn" +nursery = "warn" +cargo = "warn" +# Individual Lints +# multiple_unsafe_ops_per_block = "forbid" +multiple_unsafe_ops_per_block = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# undocumented_unsafe_blocks = "forbid" +undocumented_unsafe_blocks = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros +# unnecessary_safety_doc = "forbid" +unnecessary_safety_doc = "deny" # This is lowered to deny since clap generates allow(clippy::restriction) in its Parser and Args derive macros + +[lints.rustdoc] +bare_urls = "warn" +broken_intra_doc_links = "warn" +invalid_codeblock_attributes = "warn" +invalid_html_tags = "warn" +invalid_rust_codeblocks = "warn" +missing_crate_level_docs = "warn" +private_intra_doc_links = "warn" +redundant_explicit_links = "warn" +unescaped_backticks = "warn" diff --git a/crates/wdk-alloc/CHANGELOG.md b/crates/wdk-alloc/CHANGELOG.md index eed13d651..931c6f96f 100644 --- a/crates/wdk-alloc/CHANGELOG.md +++ b/crates/wdk-alloc/CHANGELOG.md @@ -1,61 +1,61 @@ -# 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). - - +# 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.4.0...wdk-alloc-v0.4.1) - 2025-11-13 ### Other - fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.1...wdk-alloc-v0.4.0) - 2025-11-06 - -### 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 - -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.2.0...wdk-alloc-v0.3.0) - 2024-09-27 - -### Added - -- 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 - -- 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)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- 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)) -# 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-alloc-v0.1.0...wdk-alloc-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) -- remove dependency on lazystatic in wdk-alloc rust tag ([#21](https://github/microsoft/windows-drivers-rs/pull/21)) - -### Other -- 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 +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.3.1...wdk-alloc-v0.4.0) - 2025-11-06 + +### 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 + +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-alloc-v0.2.0...wdk-alloc-v0.3.0) - 2024-09-27 + +### Added + +- 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 + +- 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)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- 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)) +# 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-alloc-v0.1.0...wdk-alloc-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) +- remove dependency on lazystatic in wdk-alloc rust tag ([#21](https://github/microsoft/windows-drivers-rs/pull/21)) + +### Other +- 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/CHANGELOG.md b/crates/wdk-build/CHANGELOG.md index d76753bbe..e4f0df0b7 100644 --- a/crates/wdk-build/CHANGELOG.md +++ b/crates/wdk-build/CHANGELOG.md @@ -1,10 +1,10 @@ -# 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). - - +# 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.5.0...wdk-build-v0.5.1) - 2025-11-13 ### Fixed @@ -16,121 +16,121 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) -## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.4.0...wdk-build-v0.5.0) - 2025-11-06 - -### 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)) -- 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 +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-build-v0.4.0...wdk-build-v0.5.0) - 2025-11-06 + +### 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)) +- 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-macros/CHANGELOG.md b/crates/wdk-macros/CHANGELOG.md index e3227d722..f148fac39 100644 --- a/crates/wdk-macros/CHANGELOG.md +++ b/crates/wdk-macros/CHANGELOG.md @@ -1,87 +1,87 @@ -# 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). - - +# 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.5.0...wdk-macros-v0.5.1) - 2025-11-13 ### Other - fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) -## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.4.0...wdk-macros-v0.5.0) - 2025-11-06 - -### 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 - -- Cache parameters & return type during `call_unsafe_wdf_function_binding` macro expansion ([#295](https://github.com/microsoft/windows-drivers-rs/pull/295)) - -### Fixed - -- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) - -### 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)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.2.0...wdk-macros-v0.3.0) - 2024-09-27 - -### Added - -- 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)) -- prevent unused import warning in arguments to `call_unsafe_wdf_function_binding` ([#207](https://github.com/microsoft/windows-drivers-rs/pull/207)) -- prevent `E0530 function parameters cannot shadow tuple structs` error when using `call_unsafe_wdf_function_binding` ([#200](https://github.com/microsoft/windows-drivers-rs/pull/200)) -- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) -- [**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)) -- Bump paste from 1.0.14 to 1.0.15 ([#152](https://github.com/microsoft/windows-drivers-rs/pull/152)) -- Bump proc-macro2 from 1.0.81 to 1.0.82 ([#151](https://github.com/microsoft/windows-drivers-rs/pull/151)) -- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) -- Bump macrotest from 1.0.11 to 1.0.12 ([#146](https://github.com/microsoft/windows-drivers-rs/pull/146)) -- Bump proc-macro2 from 1.0.78 to 1.0.81 ([#147](https://github.com/microsoft/windows-drivers-rs/pull/147)) -- Bump trybuild from 1.0.89 to 1.0.91 ([#148](https://github.com/microsoft/windows-drivers-rs/pull/148)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- Bump syn from 2.0.48 to 2.0.58 ([#135](https://github.com/microsoft/windows-drivers-rs/pull/135)) -- 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)) -# 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-macros-v0.1.0...wdk-macros-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) - -### Other -- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) -- use owo-colors for colored output in tests ([#73](https://github/microsoft/windows-drivers-rs/pull/73)) -- Bump proc-macro2 from 1.0.66 to 1.0.74 ([#60](https://github/microsoft/windows-drivers-rs/pull/60)) -- Bump trybuild from 1.0.84 to 1.0.86 ([#52](https://github/microsoft/windows-drivers-rs/pull/52)) -- 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 keyword for wdk-macros -- initial open-source check in +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.4.0...wdk-macros-v0.5.0) - 2025-11-06 + +### 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 + +- Cache parameters & return type during `call_unsafe_wdf_function_binding` macro expansion ([#295](https://github.com/microsoft/windows-drivers-rs/pull/295)) + +### Fixed + +- passing cache tests when WDK config is enabled ([#332](https://github.com/microsoft/windows-drivers-rs/pull/332)) + +### 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)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-macros-v0.2.0...wdk-macros-v0.3.0) - 2024-09-27 + +### Added + +- 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)) +- prevent unused import warning in arguments to `call_unsafe_wdf_function_binding` ([#207](https://github.com/microsoft/windows-drivers-rs/pull/207)) +- prevent `E0530 function parameters cannot shadow tuple structs` error when using `call_unsafe_wdf_function_binding` ([#200](https://github.com/microsoft/windows-drivers-rs/pull/200)) +- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) +- [**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)) +- Bump paste from 1.0.14 to 1.0.15 ([#152](https://github.com/microsoft/windows-drivers-rs/pull/152)) +- Bump proc-macro2 from 1.0.81 to 1.0.82 ([#151](https://github.com/microsoft/windows-drivers-rs/pull/151)) +- Bump rustversion from 1.0.14 to 1.0.15 ([#145](https://github.com/microsoft/windows-drivers-rs/pull/145)) +- Bump macrotest from 1.0.11 to 1.0.12 ([#146](https://github.com/microsoft/windows-drivers-rs/pull/146)) +- Bump proc-macro2 from 1.0.78 to 1.0.81 ([#147](https://github.com/microsoft/windows-drivers-rs/pull/147)) +- Bump trybuild from 1.0.89 to 1.0.91 ([#148](https://github.com/microsoft/windows-drivers-rs/pull/148)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- Bump syn from 2.0.48 to 2.0.58 ([#135](https://github.com/microsoft/windows-drivers-rs/pull/135)) +- 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)) +# 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-macros-v0.1.0...wdk-macros-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) + +### Other +- allow multiple_crate_versions in wdk-build (build dependency) ([#98](https://github/microsoft/windows-drivers-rs/pull/98)) +- use owo-colors for colored output in tests ([#73](https://github/microsoft/windows-drivers-rs/pull/73)) +- Bump proc-macro2 from 1.0.66 to 1.0.74 ([#60](https://github/microsoft/windows-drivers-rs/pull/60)) +- Bump trybuild from 1.0.84 to 1.0.86 ([#52](https://github/microsoft/windows-drivers-rs/pull/52)) +- 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 keyword for wdk-macros +- initial open-source check in diff --git a/crates/wdk-panic/CHANGELOG.md b/crates/wdk-panic/CHANGELOG.md index ef236ffa3..804455424 100644 --- a/crates/wdk-panic/CHANGELOG.md +++ b/crates/wdk-panic/CHANGELOG.md @@ -42,19 +42,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) - 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)) -# 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-panic-v0.1.0...wdk-panic-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) - -### Other -- 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.2.0](https://github/microsoft/windows-drivers-rs/compare/wdk-panic-v0.1.0...wdk-panic-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) + +### Other +- 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-sys/CHANGELOG.md b/crates/wdk-sys/CHANGELOG.md index 33ff7eebe..526d57158 100644 --- a/crates/wdk-sys/CHANGELOG.md +++ b/crates/wdk-sys/CHANGELOG.md @@ -1,106 +1,106 @@ -# 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). - - +# 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.5.0...wdk-sys-v0.5.1) - 2025-11-13 ### Other - fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) -## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.4.0...wdk-sys-v0.5.0) - 2025-11-06 - -### 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)) - -### 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 +## [0.5.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-sys-v0.4.0...wdk-sys-v0.5.0) - 2025-11-06 + +### 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)) + +### 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/CHANGELOG.md b/crates/wdk/CHANGELOG.md index 303c22126..9cf006242 100644 --- a/crates/wdk/CHANGELOG.md +++ b/crates/wdk/CHANGELOG.md @@ -1,65 +1,65 @@ -# 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). - - +# 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.1](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.4.0...wdk-v0.4.1) - 2025-11-13 ### Other - fix wdk-build version in readme ([#568](https://github.com/microsoft/windows-drivers-rs/pull/568)) -## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.1...wdk-v0.4.0) - 2025-11-06 - -### 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 - -- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) -- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) - -## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.2.0...wdk-v0.3.0) - 2024-09-27 - -### Added - -- 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)) -- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) -- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) - -### Other - -- 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)) -- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) -- 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)) -# 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-v0.1.0...wdk-v0.2.0) - 2024-02-08 - -### Fixed -- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) -- fix wrong instruction used for arm64 breakpoint - -### Other -- 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 +## [0.4.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.3.1...wdk-v0.4.0) - 2025-11-06 + +### 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 + +- Use stack-based formatter for debug-printing. ([#233](https://github.com/microsoft/windows-drivers-rs/pull/233)) +- update README to clarify community engagement and contact methods ([#312](https://github.com/microsoft/windows-drivers-rs/pull/312)) + +## [0.3.0](https://github.com/microsoft/windows-drivers-rs/compare/wdk-v0.2.0...wdk-v0.3.0) - 2024-09-27 + +### Added + +- 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)) +- only emit must_use hint when wdf function has return type ([#122](https://github.com/microsoft/windows-drivers-rs/pull/122)) +- [**breaking**] prevent linking of wdk libraries in tests that depend on `wdk-sys` ([#118](https://github.com/microsoft/windows-drivers-rs/pull/118)) + +### Other + +- 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)) +- use a standardized workspace lint table ([#134](https://github.com/microsoft/windows-drivers-rs/pull/134)) +- 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)) +# 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-v0.1.0...wdk-v0.2.0) - 2024-02-08 + +### Fixed +- resolve warnings in rust-script blocks and only fail warnings in CI ([#87](https://github/microsoft/windows-drivers-rs/pull/87)) +- fix wrong instruction used for arm64 breakpoint + +### Other +- 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 From a630a9acd49460912372eae5aef571e0cffb8c12 Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 15:43:31 -0800 Subject: [PATCH 5/8] fix: ensure all version checks run even if earlier ones fail --- .github/workflows/version-checks.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/version-checks.yaml b/.github/workflows/version-checks.yaml index 995924aff..cbb83c69a 100644 --- a/.github/workflows/version-checks.yaml +++ b/.github/workflows/version-checks.yaml @@ -19,7 +19,10 @@ jobs: - name: Checkout Repository uses: actions/checkout@v5 + # All check steps use 'if: !cancelled()' to ensure all checks run even if earlier ones fail, + # while still respecting manual workflow cancellations. The job will fail if any check fails. - name: Check wdk-build version (README vs crates/wdk-build) + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: README.md @@ -32,6 +35,7 @@ jobs: error-message: "Please update README.md to match the wdk-build crate's version." - name: Check wdk-sys and wdk-macros lockstep versioning + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/wdk-sys/Cargo.toml @@ -43,6 +47,7 @@ jobs: error-message: "These crates must be versioned in lockstep because: (1) wdk-macros is a proc-macro crate that should only be consumed through wdk-sys re-exports, and (2) the two crates form a tightly coupled API surface. When updating either crate, both versions must be bumped together." - name: Check workspace wdk-macros dependency version matches wdk-sys crate version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: Cargo.toml @@ -57,6 +62,7 @@ jobs: # Template version checks - ensure cargo-wdk templates use latest dep # versions by comparing them against those in the workspace's Cargo.toml file - name: Check KMDF template wdk version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -67,6 +73,7 @@ jobs: file2-version-label: "wdk workspace dependency version" - name: Check KMDF template wdk-build version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -77,6 +84,7 @@ jobs: file2-version-label: "wdk-build workspace dependency version" - name: Check KMDF template wdk-alloc version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -87,6 +95,7 @@ jobs: file2-version-label: "wdk-alloc workspace dependency version" - name: Check KMDF template wdk-panic version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -97,6 +106,7 @@ jobs: file2-version-label: "wdk-panic workspace dependency version" - name: Check KMDF template wdk-sys version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -107,6 +117,7 @@ jobs: file2-version-label: "wdk-sys workspace dependency version" - name: Check UMDF template wdk version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -117,6 +128,7 @@ jobs: file2-version-label: "wdk workspace dependency version" - name: Check UMDF template wdk-build version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -127,6 +139,7 @@ jobs: file2-version-label: "wdk-build workspace dependency version" - name: Check UMDF template wdk-sys version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -137,6 +150,7 @@ jobs: file2-version-label: "wdk-sys workspace dependency version" - name: Check WDM template wdk version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -147,6 +161,7 @@ jobs: file2-version-label: "wdk workspace dependency version" - name: Check WDM template wdk-build version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -157,6 +172,7 @@ jobs: file2-version-label: "wdk-build workspace dependency version" - name: Check WDM template wdk-alloc version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -167,6 +183,7 @@ jobs: file2-version-label: "wdk-alloc workspace dependency version" - name: Check WDM template wdk-panic version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -177,6 +194,7 @@ jobs: file2-version-label: "wdk-panic workspace dependency version" - name: Check WDM template wdk-sys version + if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp From 51dcfd88949fd33c636ecc06e0bc874bf9289c40 Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 16:01:23 -0800 Subject: [PATCH 6/8] Revert "fix: ensure all version checks run even if earlier ones fail" This reverts commit a630a9acd49460912372eae5aef571e0cffb8c12. --- .github/workflows/version-checks.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/version-checks.yaml b/.github/workflows/version-checks.yaml index cbb83c69a..995924aff 100644 --- a/.github/workflows/version-checks.yaml +++ b/.github/workflows/version-checks.yaml @@ -19,10 +19,7 @@ jobs: - name: Checkout Repository uses: actions/checkout@v5 - # All check steps use 'if: !cancelled()' to ensure all checks run even if earlier ones fail, - # while still respecting manual workflow cancellations. The job will fail if any check fails. - name: Check wdk-build version (README vs crates/wdk-build) - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: README.md @@ -35,7 +32,6 @@ jobs: error-message: "Please update README.md to match the wdk-build crate's version." - name: Check wdk-sys and wdk-macros lockstep versioning - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/wdk-sys/Cargo.toml @@ -47,7 +43,6 @@ jobs: error-message: "These crates must be versioned in lockstep because: (1) wdk-macros is a proc-macro crate that should only be consumed through wdk-sys re-exports, and (2) the two crates form a tightly coupled API surface. When updating either crate, both versions must be bumped together." - name: Check workspace wdk-macros dependency version matches wdk-sys crate version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: Cargo.toml @@ -62,7 +57,6 @@ jobs: # Template version checks - ensure cargo-wdk templates use latest dep # versions by comparing them against those in the workspace's Cargo.toml file - name: Check KMDF template wdk version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -73,7 +67,6 @@ jobs: file2-version-label: "wdk workspace dependency version" - name: Check KMDF template wdk-build version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -84,7 +77,6 @@ jobs: file2-version-label: "wdk-build workspace dependency version" - name: Check KMDF template wdk-alloc version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -95,7 +87,6 @@ jobs: file2-version-label: "wdk-alloc workspace dependency version" - name: Check KMDF template wdk-panic version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -106,7 +97,6 @@ jobs: file2-version-label: "wdk-panic workspace dependency version" - name: Check KMDF template wdk-sys version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -117,7 +107,6 @@ jobs: file2-version-label: "wdk-sys workspace dependency version" - name: Check UMDF template wdk version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -128,7 +117,6 @@ jobs: file2-version-label: "wdk workspace dependency version" - name: Check UMDF template wdk-build version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -139,7 +127,6 @@ jobs: file2-version-label: "wdk-build workspace dependency version" - name: Check UMDF template wdk-sys version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -150,7 +137,6 @@ jobs: file2-version-label: "wdk-sys workspace dependency version" - name: Check WDM template wdk version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -161,7 +147,6 @@ jobs: file2-version-label: "wdk workspace dependency version" - name: Check WDM template wdk-build version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -172,7 +157,6 @@ jobs: file2-version-label: "wdk-build workspace dependency version" - name: Check WDM template wdk-alloc version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -183,7 +167,6 @@ jobs: file2-version-label: "wdk-alloc workspace dependency version" - name: Check WDM template wdk-panic version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -194,7 +177,6 @@ jobs: file2-version-label: "wdk-panic workspace dependency version" - name: Check WDM template wdk-sys version - if: ${{ !cancelled() }} uses: ./.github/actions/compare-regex-versions with: file1: crates/cargo-wdk/templates/wdm/Cargo.toml.tmp From db80197b0153d7b3555760e99d285abdcf91d93d Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 16:08:58 -0800 Subject: [PATCH 7/8] fix: update dependencies to latest versions in Cargo.toml templates --- crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp | 6 +++--- crates/cargo-wdk/templates/umdf/Cargo.toml.tmp | 2 +- crates/cargo-wdk/templates/wdm/Cargo.toml.tmp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp index 18e6eee3a..e7e90a8dc 100644 --- a/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/kmdf/Cargo.toml.tmp @@ -11,9 +11,9 @@ wdk-build = "0.5.1" [dependencies] wdk = "0.4.1" -wdk-alloc = "0.4.0" -wdk-panic = "0.4.0" -wdk-sys = "0.5.0" +wdk-alloc = "0.4.1" +wdk-panic = "0.4.1" +wdk-sys = "0.5.1" [features] default = [] diff --git a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp index 1eacb407d..7d08e36f8 100644 --- a/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/umdf/Cargo.toml.tmp @@ -11,7 +11,7 @@ wdk-build = "0.5.1" [dependencies] wdk = "0.4.1" -wdk-sys = "0.5.0" +wdk-sys = "0.5.1" [features] default = [] diff --git a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp index 6caaa3091..dd32686fd 100644 --- a/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp +++ b/crates/cargo-wdk/templates/wdm/Cargo.toml.tmp @@ -9,9 +9,9 @@ wdk-build = "0.5.1" [dependencies] wdk = "0.4.1" -wdk-alloc = "0.4.0" -wdk-panic = "0.4.0" -wdk-sys = "0.5.0" +wdk-alloc = "0.4.1" +wdk-panic = "0.4.1" +wdk-sys = "0.5.1" [features] default = [] From 10cc7dbd77b42e2dacda80851bd82f9c908d32cf Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Thu, 13 Nov 2025 19:26:03 -0800 Subject: [PATCH 8/8] fix: add ignore attribute to driver creation tests to prevent reliance on unreleased crate versions --- crates/cargo-wdk/tests/new_command_test.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/cargo-wdk/tests/new_command_test.rs b/crates/cargo-wdk/tests/new_command_test.rs index 2e6773281..61b8ff462 100644 --- a/crates/cargo-wdk/tests/new_command_test.rs +++ b/crates/cargo-wdk/tests/new_command_test.rs @@ -8,16 +8,19 @@ use mockall::PredicateBooleanExt; use test_utils::{set_crt_static_flag, with_file_lock}; #[test] +#[ignore = "disabled by default since this can rely on unreleased crate versions in the template"] fn kmdf_driver_is_created_successfully() { project_is_created("kmdf"); } #[test] +#[ignore = "disabled by default since this can rely on unreleased crate versions in the template"] fn umdf_driver_is_created_successfully() { project_is_created("umdf"); } #[test] +#[ignore = "disabled by default since this can rely on unreleased crate versions in the template"] fn wdm_driver_is_created_successfully() { project_is_created("wdm"); }