Skip to content

remove asynch module; move SmartLedsWriteAsync to top level #20

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

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

Be-ing
Copy link
Contributor

@Be-ing Be-ing commented Dec 30, 2024

It's awkward to have only one of sync and async traits in a submodule. The sync trait could be moved to a submodule, with a pub use statement for backwards compatibility. However, as per #19, if there aren't going to be Cargo features for sync & async, then I don't think there's much point having submodules.

@Be-ing
Copy link
Contributor Author

Be-ing commented Jan 2, 2025

This is the last PR I plan to make for now. It'd be nice to get this in and make a 0.4 release so drivers can implement the new async trait.

@Be-ing
Copy link
Contributor Author

Be-ing commented Jan 14, 2025

Ping. Two drivers are waiting on releasing the async trait:
smart-leds-rs/apa102-spi-rs#14
esp-rs/esp-hal-community#6

@david-sawatzke david-sawatzke merged commit 48019de into smart-leds-rs:master Jan 21, 2025
@Be-ing Be-ing deleted the no_mod branch January 31, 2025 00:26
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.

2 participants