Skip to content

Bump tokio-serial to 5.5.0 in the next release cycle #432

Description

@jadamcrain

Per the dependency policy in RELEASE.md, non-security dependency bumps should land at the first RC of the next minor cycle, not mid-1.7.0-RC cycle.

tokio-serial is exact-pinned (=5.4.5) because upstream historically shipped no changelog, git tags, or GitHub releases, so bumps are reviewed by hand.

5.5.0 (released 2026-06-15) is a good candidate:

  • SerialFramed refactored to use tokio_util::io::poll_read_buf instead of a custom unsafe read impl
  • futures replaced with futures-core/futures-sink (public API unchanged)
  • New opt-in serde feature (no effect unless enabled)
  • MSRV raised to 1.71.0 (fine; dnp3 requires 1.75)
  • No breaking API changes; no mio-serial/serialport version change
  • Upstream now publishes a CHANGELOG.md

Action: bump the pin to =5.5.0 in dnp3/Cargo.toml in its own commit with a note, refresh Cargo.lock, and confirm cargo audit stays green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions