This is a simple tool that simplifies the creation for Windows Driver crates in Rust.
To be honest, the Microsoft's Guide to create a Windows driver crate costs way too much manual labor, especially the part for configuring the files. Why not we just simplify it?
This project will create a crate which has initialized all stuff, including all WDK dependencies, cargo configurations, and any other chores.
If you do things manually, then these chores include:
- Use
cargo
to add WDK-related dependencies. - Modify
Cargo.toml
. - Create
Makefile.toml
. - Create
.cargo/config.toml
. - Create
<crate_name>.inx
.
Can you memorize all steps? It's somewhat unlikely to do these chores accurately.
Just follow regular way to build a Rust program:
cargo build
This tool expects you have installed rust-lang.
Place the tool somewhere you keep all of your projects. Double click it to run the tool. Then follow the prompt to create your crate.
After the crate is created, you should be able to build your driver:
cargo make
Please note that you need to satisfy the Build Requirements on your own.
This repository is licensed under the MIT License.