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

Yet another Tokio v1 PR #78

Merged
merged 3 commits into from Jul 28, 2021
Merged

Yet another Tokio v1 PR #78

merged 3 commits into from Jul 28, 2021

Conversation

bootrecords
Copy link
Contributor

@bootrecords bootrecords commented Jul 22, 2021

Based on the PR from @Tarnadas but with tokio_serial added back in as a dependency instead of serial-io due to its incoming Windows pipes support (from berkowski/tokio-serial#42 and earlier work).
Also homogenized and expanded a bit of documentation for a little bit.

Works on my machine™ (actually semi-field-tested against a serial device from a Linux host and communications appear to work).
Reviews and eventual merge are welcome.

Closes #71 and #76

Tarnadas and others added 2 commits June 10, 2021 15:26
- update tokio to v1
- update bytes to v1
- update tokio-util to v0.6
- replace tokio-serial with serial-io
- add sync rtu client example
- replace example cfg flags with cargo toml required features
updated env_logger dependency
added some documentation on Response parameters
fixed a few spelling issues
@flosse
Copy link
Member

flosse commented Jul 22, 2021

@Tarnadas & @ivomurrell would you mind to have a look at this?

@bootrecords
Copy link
Contributor Author

@ColinFinck or @david-mcgillicuddy-moixa may also be interested, based on their recent comments on #72

Copy link
Contributor

@Tarnadas Tarnadas left a comment

Choose a reason for hiding this comment

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

Thanks for picking up my prior work.
Unfortunately it was hard for me to find the time to do it myself.

The code changes look good.

@LouisDISPA
Copy link
Contributor

I tested it in my program and everything works.
(x86_64-unknown-linux-gnu)

Thank you !

@flosse flosse merged commit faad93e into slowtec:master Jul 28, 2021
This was referenced Jul 28, 2021
@bootrecords bootrecords mentioned this pull request Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to tokio 0.3
4 participants