Skip to content

Commit

Permalink
Merge pull request #85 from tweedegolf/improve-readme
Browse files Browse the repository at this point in the history
Improve README.md
  • Loading branch information
bramtweedegolf authored Nov 1, 2024
2 parents 3958a29 + 6a8365c commit 20b5d45
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# drive-rs

A WIP alternative search for crates on awesome embedded Rust.
A search and discovery tool for Rust drivers for embedded components.

Please don't judge my web skills... I usually write embedded code.
# Adding a driver to the list

1. Add a new file in [`driver-db`](driver-db), named `<crate-name>.toml`
2. Either copy over one of the [other drivers](driver-db/ina219.toml) contents, or use
a [taplo](https://taplo.tamasfe.dev/) based editor extension
like [even better toml](https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml) to
fill in fields
3. (optional) run `taplo fmt` and `taplo lint` to check the file is valid
4. (if applicable) remove the matching line from the legacy list in [`aer.csv`](aer.csv)
5. [Open a PR](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
to this repo with the added driver

Once we have figured out which data is useful to list, we plan to read this data from published crates. But for now
keeping all the data in one place makes it easier to change fields.

# Contributing to the project

This project is still a work in progress and any help is appreciated. If you have an idea for how to improve it feel
free to open issues and PRs.

Some tasks that need help right now:

1. Add more information to listed drivers (see previous point), a list of missing drivers can be found in [
`aer.csv`](aer.csv)
2. Improving the layout and design of the listing
3. Make it more intuitive to find good chips to use for newcomers

# Running the project

Expand Down

0 comments on commit 20b5d45

Please sign in to comment.