PackageTrack
Sign in Get early access

mio-serial

A serial port implementation for mio

5.0.7 6.6M downloads/mo #3929 most downloaded on crates.io berkowski/mio-serial

What this package is like to depend on

Last release 2 months ago

15 Jun 2026

Release timing varies

gaps range from 8 days to 1.9 years

Most releases are documented

notes for 17 of 23 stable releases

1 version withdrawn

withdrawn after publishing

10 years old

28 releases · first in 2016

1 release in the last 12 months

see the full history below

Release timeline

28 releases · Dec 2016 to Jun 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 28
  1. 5.0.7 15 Jun 2026
    Release notes

    Changed

    • Replaced the winapi dependency with windows-sys for Windows FFI, scoped to Windows targets only (#59).
    • Upgraded nix to 0.31 (#54).
    • Cleaned up rustfmt/clippy warnings and stopped using String::leak in the test suite (#56, #55).

    Fixed

    • Converting a blocking serial port to an async SerialStream on Windows no longer fails when one of the port's current settings cannot be read; the unreadable setting is now logged and skipped instead of aborting the conversion (#60).
    • Repaired the test suite, which no longer compiled — and had a Windows-only build break in the fixtures — after the String::leak removal.
    Open source →
  2. 5.0.6 31 Dec 2024

    Nothing published for this version

  3. 5.0.5 08 Feb 2023

    Nothing published for this version

  4. 5.0.4 12 Jan 2023

    Nothing published for this version

  5. 5.0.3 02 Nov 2022
    Release notes
    • update dependencies
    Open source →
  6. 5.0.2 04 Mar 2022
    Release notes
    • merged #28
    • update dependencies
    Open source →
  7. 5.0.1 08 Aug 2021
    Release notes

    Minor update to README.md

    Changed

    • Updated README.md example to use current release version of mio-serial
    Open source →
  8. 5.0.0 08 Aug 2021
    Release notes

    Final release of version 5.0. No code changes since the previous 4.0.0-beta4.

    Added

    • ColinFinck added as maintainer for mio-serial
    • estokes added as maintainer for mio-serial
    Open source →
  9. 4.0.0-beta4 23 Jul 2021 pre-release
    Release notes

    Added

    • Check in CI tests for building against the MSRV (currently 1.41.0)

    Changed

    • Error returned from SerialPort::try_clone changed back to std::io::ErrorKind::Other (had switched to std::io::ErrorKind::Unsupported). Unsupported requires MSRV of 1.53 which is too high. (fix #27)
    Open source →
  10. 4.0.0-beta3 22 Jul 2021 pre-release
    Release notes

    Added

    • Some logging hooks for debugging

    Changed

    • Renamed SerialPortBuilderExt::open_async to SerialPortBuilderExt::open_native_async to reflect the original intention
    Open source →
  11. 4.0.0-beta2 16 Jul 2021 pre-release
    Release notes

    Added

    • AsRawHandle, FromRawHandle, and IntoRawHandle impls for SerialStream on Windows

    Fixed

    • Potential double Drop issue on Windows between NamedPipe and COMPort
    Open source →
  12. 4.0.0-beta1 13 Jul 2021 pre-release
    Release notes

    update changelog before 4.0.0-beta1 release

    Open source →
    Release notes

    This is a major update crossing two API-breaking dependency version jumps in mio and serialport-rs.

    BREAKING CHANGES

    This release contains multiple API breaking changes with the move to serialport-rs v4. Additional breaking changes were made to make the API more like mio/tokio where platform-specific implimentation details are provided with #cfg[] guards instead of discrete structures like in serialport-rs

    Specifically:

    • Removed platform-specific mio_serial::windows::Serial and mio_serial::unix::Serial
    • Added mio_serial::SerialStream with platform specific requirements at compile time with #[cfg()]
    • Removed COMPort::from_path, use SerialStream::open
    • Removed TTYPort::from_path, use SerialStream::open
    • Removed TTYPort::from_serial. Replaced with impl of std::convert::TryFrom<serialport::TTYPort>
    • Removed SerialPortSettings, serialport-rs now uses the builder pattern

    Changed

    • Removed "libudev" from the default features. Still available for use when desired.
    • Bumped nix to 0.22
    • Bumped mio to 0.7
    • Bumped serialport-rs to 4.0.0
    • Changed CHANGELOG from asciidoc to markdown

    Added

    • SerialStream structure as the common entry point for serial port IO.
    • SerialPortBuilderExt extension trait to add open_async method to serialport::SerialPortBuilder much like the already existing open method.

    Other

    • Switched CI to appveyor for Windows, OSX, and Linux. It doesn't test as many targets, but some checks are better than none now that travis-ci is no longer an option.
    Open source →
  13. 3.3.1 15 Mar 2020
    Release notes

    Update notice about windows support in crate library root.

    Open source →
    Release notes

    Added

    • @flosse added #derive Debug support for the Serial struct in #20
    • @vleesvlieg added automatic retrying for EINTR returns to file descriptors in #21

    Changed

    • Bumped nix to 0.17
    Open source →
  14. 3.3.0 23 Aug 2019
    Release notes

    Fixed serialport-rs version in CHANGLOG

    Open source →
    Release notes
    Open source →
  15. 3.2.14 01 Jun 2019
    Release notes

    Changed

    • Bumped nix to 0.14 to address #17
    Open source →
  16. 3.2.0 12 Jan 2019

    Nothing published for this version

  17. 3.1.1 12 Jan 2019
    Release notes

    Changed

    • Merged #16 @yuja fixed feature flags
    Open source →
  18. 3.1.0 10 Nov 2018
    Release notes

    Updated changelog before release

    Open source →
  19. 3.0.1 06 Nov 2018
    Release notes

    Changed

    • Restricted serialport-rs to 3.0 serialport-rs 3.1 contains API breaking changes.
    Open source →
  20. 3.0.0 06 Oct 2018
    Release notes

    Changed

    • Bumped serialport-rs to 3.0 serialport-rs 3.0 contains breaking changes.
    • Bumped nix to 0.11
    • mio-serial version number will now track upstream serialport-rs. mio-serial is mostly feature complete at this point (at least for *nix) and this should help reduce confusion.

    Fixed

    • Merged #10 (thanks @yuja!). Addresses some windows timeout settings.
    Open source →
  21. 0.8.0 31 Mar 2018
    Release notes

    Changed

    Added

    • Merged#5 @ndusart added try_clone implementations as requred by the serialport trait as of 2.3
    • Closed#6 @snorp also drew attention to the try_clone addition
    Open source →
  22. 0.7.0 26 Feb 2018
    Release notes

    Changed

    Added

    • Merged#4 @ndusart added windows support!
    • Added appveyor config to support new windows impl.
    Open source →
  23. 0.6.0 28 Nov 2017
    Release notes

    Added

    • Closed #3 Reexport serialport::Error for error handling without importing serialport crate. Thanks @Idanko
    Open source →
  24. 0.5.0 15 Apr 2017
    Release notes

    Added

    Changed

    • Changed license back to MIT now that serialport-rs is MPL-2.0
    • Bumped serialport-rs dependency to 1.0
    Open source →
  25. 0.4.0 13 Feb 2017
    Release notes

    Changed

    • Changed to LGPL-3 for compliance with serialport dependency.
    Open source →
  26. 0.3.0 13 Feb 2017 withdrawn
    Release notes

    Added

    • Bumped serialport dependency to 0.9
    Open source →
  27. 0.2.0 02 Feb 2017

    Nothing published for this version

  28. 0.1.0 11 Dec 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive