Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove HAL traits (unneeded with updates to ht16k33) #1

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danjl1100
Copy link

Motivation

The fewer driver crates with opinions on which HAL library version to use, the better.

Solution

The trait supplied by this library does not perform IO. When (or if) ht16k33 relaxes the bounds, then this crate doesn't even need a dependency on a specific HAL.

This change is dependent on ht16k33 merging jasonpeacock/ht16k33#22. Since this library is only manipulating the display buffer, the user will only need to agree with the HAL trait used in ht16k33 IO methods. (e.g. one fewer crate to patch)

Notes

  • Cargo.toml will need to be edited when/if ht16k33 removes HAL trait bounds from the non-IO methods (PR linked above) but it currently shows the version that is proposed (branch "data-only-methods" on my fork)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant