1 unstable release
0.1.0 | Jul 3, 2021 |
---|
#12 in #mud
27 downloads per month
Used in mutelnet
8KB
135 lines
telnet-codec
A bone-simple Telnet "codec" for use with Rust's Tokio-utils, written by The Mudcano Project.
Create a TelnetCodec, use it to wrap up your TcpStream or TlsStream, and have fun.
Note: The only way to implement MCCP2/3 using this Codec would be to wrap up the TcpStream/TlsStream in one that will handle the compression, and then stick THAT into this. You'd then be able to toggle compression on the wrapped stream on and off.
Dependencies
~2.6–3.5MB
~56K SLoC