Crates.io | telnet-codec |
lib.rs | telnet-codec |
version | 0.1.0 |
source | src |
created_at | 2021-07-03 01:23:30.448381 |
updated_at | 2021-07-03 01:23:30.448381 |
description | A humble codec for converting a byte stream into TelnetEvents which other programs can use. |
homepage | |
repository | https://github.com/mudcano/telnet-codec |
max_upload_size | |
id | 418072 |
size | 15,477 |
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.