tokio-serial
A serial port implementation for tokio
5.5.0
6.5M downloads/mo
#3974 most downloaded on crates.io
berkowski/tokio-serial
What this package is like to depend on
Last release 2 months ago
15 Jun 2026
Release timing varies
gaps range from 2 weeks to 2.2 years
Most releases are documented
notes for 13 of 18 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
24 releases · first in 2017
1 release in the last 12 months
see the full history below
Release timeline
24 releases · Feb 2017 to Jun 2026Releases
latest 24-
5.5.015 Jun 2026Release notes
Open source →Added
serdefeature, exposing theSerialize/Deserializeimplementations frommio-serial/serialportfor the re-exported port configuration types (SerialPortBuilder,DataBits,Parity, etc.). #80 by @barafael.
Changed
SerialFramednow reads viatokio_util::io::poll_read_bufinstead of a hand-rolledunsaferead loop. #78 by @paolobarbolini.- Replaced the
futuresdependency with the lighterfutures-coreandfutures-sink. No public API change: the implementedStream/Sinktraits are the same re-exported traits. #81 by @paolobarbolini, closes #73. - Bumped the Minimum Supported Rust Version to
1.71.0, matching thetokiodependency (the previously documented1.46.0was no longer attainable). - Fixed compiler warnings on Windows.
-
5.4.531 Dec 2024Nothing published for this version
-
5.4.402 Nov 2022Nothing published for this version
-
5.4.323 Mar 2022Nothing published for this version
-
5.4.204 Mar 2022 -
5.4.108 Aug 2021Release notes
Open source →Minor update to README.md
Changed
- version of tokio-serial indicated in README.md example.
-
5.4.008 Aug 2021Release notes
Open source →Final release of version 5.4. No code changes besides bumping
mio-serialto 5.0 since the previous 5.4.0-beta4.Added
- ColinFinck added as maintainer for
tokio-serial - estokes added as maintainer for
tokio-serial
Changed
- Bumped mio-serial to 5.0.0
- ColinFinck added as maintainer for
-
5.4.0-beta423 Jul 2021 pre-release -
5.4.0-beta323 Jul 2021 pre-releaseRelease notes
Open source →Added
- Check in CI tests for building against the MSRV (currently
1.43.0)
Changed
- Bumped mio-serial to 4.0.0-beta4
- #45 @ColinFinck fixed the example.
- Check in CI tests for building against the MSRV (currently
-
5.4.0-beta222 Jul 2021 pre-releaseRelease notes
Open source →Changed
- Renamed
SerialPortBuilderExt::open_asynctoSerialPortBuilderExt::open_native_asyncto reflect the original intention - @drbrain fixed formatting issues with this changelog in #43
- Bumped mio-serial to 4.0.0-beta3
- Renamed
-
5.4.0-beta116 Jul 2021 pre-releaseRelease notes
Open source →Major release drawing in updates to
tokioandmio-serial(and the upstreamserialport-rs)BREAKING CHANGES
- Following
mio-serial, addedtokio_serial::SerialStreamwith platform specific requirements at compile time with#[cfg()] - Removed
SerialPortSettings,serialport-rsnow uses the builder pattern
Added
SerialPortBuilderExtextension trait forserialport::SerialPortBuilderto open a serial port in async mode- Re-exports of both
mio_serial::newandmio_serial::available_ports
Changed
- Bumped tokio to 1.0
- Bumped mio-serial to 4.0.0-beta2
Contributions
- #35 by georgmu found an early bug in the AsyncRead trait impl
- #39 and #41 by ColinFinck took it upon himself to push windows support for Tokio 1.X and did the vast majority of the initial work and paved the way
- Following
-
4.3.326 Nov 2019Release notes
Open source →Changed
- @Darksonn bumped tokio dependencies to version 0.2.0 and cleaned up some dependencies in PR #24
-
4.3.3-tokio-0.2.0-alpha.615 Nov 2019 pre-release -
4.3.3-tokio-0.2.0-alpha.226 Aug 2019 pre-release -
3.3.023 Aug 2019 -
3.2.1401 Jun 2019Release notes
Open source →Changed
- Bumped mio-serial to 3.2.14 (tracking mio version 0.14)
changed
- Merged #17 @nanpuyue updated the printline example.
-
3.2.012 Jan 2019Nothing published for this version
-
3.1.112 Jan 2019 -
3.1.011 Nov 2018 -
3.0.006 Oct 2018 -
0.8.027 Apr 2018Release notes
Open source → -
0.6.028 Nov 2017Release notes
Open source →added
- Re-exporting
mio_serial::Error(itself a re-export ofserialport::Error)
changed
- Bumped
mio-serialdependency to 0.6
- Re-exporting
-
0.5.018 May 2017Release notes
Open source →added
changed
- Bumped
mio-serialdependency to 0.5 Future releases will trackmio-serialversions.
- Bumped
-
0.1.002 Feb 2017Nothing published for this version