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 byIAC
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
andevent::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