telnet-codec

Crates.iotelnet-codec
lib.rstelnet-codec
version0.1.0
sourcesrc
created_at2021-07-03 01:23:30.448381
updated_at2021-07-03 01:23:30.448381
descriptionA humble codec for converting a byte stream into TelnetEvents which other programs can use.
homepage
repositoryhttps://github.com/mudcano/telnet-codec
max_upload_size
id418072
size15,477
The Mudcano Project (mudcano)

documentation

README

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.

Commit count: 6

cargo fmt