#devices #toolkit #driver

app device-driver-cli

The command line tool for the device-driver toolkit

1 release (0 unstable)

new 1.0.0-rc.0 Nov 10, 2024

#365 in Hardware support

Download history 92/week @ 2024-11-09

92 downloads per month

MIT/Apache

410KB
10K SLoC

Device driver cli crates.io Documentation

A toolkit to write better device drivers, faster.

Read the book to learn about how to use the project to build your own device drivers.

[!TIP] While actively developing the it's better to use the proc macro. With the CLI you'll have to run it every time you update any definition.

With this command line interface you can generate the code for your device driver ahead of time and include! it in your project. This can save extra dependencies for proc macro and thus save on compile time.

Install with:

> cargo install device-driver-cli

Then check out the options with:

device-driver-cli --help

Dependencies

~4MB
~77K SLoC