Skip to content

Update gpio-cdev to 0.4.0 and add async-tokio feature #55

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
Feb 10, 2021

Conversation

dfrankland
Copy link
Contributor

It'd be lovely to allow streaming of chip line events asynchronously now that gpio-cdev supports it.

@dfrankland dfrankland requested a review from a team as a code owner January 4, 2021 01:55
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nastevens (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added S-waiting-on-review Status: Review is incomplete T-embedded-linux labels Jan 4, 2021
@ryankurte
Copy link
Contributor

lgtm, thanks!

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 5, 2021

👎 Rejected by too few approved reviews

@ryankurte ryankurte self-assigned this Jan 5, 2021
ryankurte
ryankurte previously approved these changes Jan 5, 2021
Copy link
Contributor

@ryankurte ryankurte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, wrong panel...

bors r+

bors bot added a commit that referenced this pull request Jan 5, 2021
55: Update gpio-cdev to 0.4.0 and add async-tokio feature r=ryankurte a=dfrankland

It'd be lovely to allow streaming of chip line events asynchronously now that `gpio-cdev` supports it.

Co-authored-by: Dylan Frankland <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jan 5, 2021

Timed out.

@ryankurte
Copy link
Contributor

...

bors retry

bors bot added a commit that referenced this pull request Jan 5, 2021
55: Update gpio-cdev to 0.4.0 and add async-tokio feature r=ryankurte a=dfrankland

It'd be lovely to allow streaming of chip line events asynchronously now that `gpio-cdev` supports it.

Co-authored-by: Dylan Frankland <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jan 6, 2021

Timed out.

@eldruin
Copy link
Member

eldruin commented Feb 2, 2021

Thanks @dfrankland. Could you rebase this to master now that we switched to GitHub Actions instead of Travis?

Allows streaming of chip line events asynchronously
@dfrankland
Copy link
Contributor Author

My apologies, I just got back from a holiday. This PR is rebased now.

@dfrankland
Copy link
Contributor Author

dfrankland commented Feb 10, 2021

😬 It looks like we might need to up the minimum supported Rust version to 1.36.0 according to
https://doc.rust-lang.org/edition-guide/rust-next/maybe-uninit.html

This is due to gpio_cdev's usage of maybe_uninit:

https://github.com/rust-embedded/linux-embedded-hal/pull/55/checks?check_run_id=1874086666

The README.md was previously updated due to the dependency on `nix` with PR rust-embedded#42
Copy link
Contributor

@ryankurte ryankurte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thanks for the rebase!

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 10, 2021

@bors bors bot merged commit 7df5623 into rust-embedded:master Feb 10, 2021
bors bot added a commit that referenced this pull request Feb 11, 2021
59: Note the change to the MSRV in the changelog r=ryankurte a=eldruin

After merging #55

Co-authored-by: Diego Barrios Romero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Review is incomplete T-embedded-linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants