Skip to content

v2.0.1

Latest
Compare
Choose a tag to compare
@cpu cpu released this 11 Nov 19:42
· 4 commits to main since this release
v2.0.1
a1ce369

libmudtelnet v2.0.1

Initial release of libmudtelnet - a fork of libtelnet-rs.

For this release we've focused on semver compatible improvements and bugfixes. A future breaking change release will rework the library more substantially.

Bug Fixes

  • A SE byte that isn't preceded by IAC is now properly handled as a normal byte during Telnet subnegotiation processing.
  • Fixed a panic when Telnet option code 0xFF is negotiated, and a truncated subnegotiation (e.g. IAC SB IAC SE) is received.
  • Multiple escaped IAC bytes (e.g. IAC IAC IAC IAC) are now properly unescaped (e.g. IAC IAC) instead of truncated (e.g. IAC).

Features

  • Many API types now derive helpful traits (Debug, Eq, etc.).
  • An optional arbitrary crate feature is now available to enable generating arbitrary event::TelnetIAC, event::TelnetNegotiation and event::TelnetSubnegotiation instances for testing.

Misc

  • CI improvements.
  • Fuzz testing.
  • Simple benchmarking.
  • Small performance and safety improvements (avoiding direct indexing, etc.).

Full diff: https://github.com/cpu/libmudtelnet/compare/338d21e..d711847