#telegram #tl #mt-proto

grammers-mtproto

An implementation of the Mobile Transport Protocol

5 releases (breaking)

0.5.0 Nov 18, 2023
0.4.0 Oct 14, 2022
0.3.0 May 5, 2021
0.2.0 Jul 20, 2020
0.1.0 Jan 31, 2020

#376 in Network programming

Download history 12/week @ 2023-12-04 10/week @ 2023-12-11 25/week @ 2023-12-18 105/week @ 2023-12-25 16/week @ 2024-01-08 6/week @ 2024-01-15 21/week @ 2024-01-22 2/week @ 2024-02-05 16/week @ 2024-02-12 50/week @ 2024-02-19 65/week @ 2024-02-26 30/week @ 2024-03-04 70/week @ 2024-03-11 37/week @ 2024-03-18

207 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

265KB
3.5K SLoC

grammers-mtproto

This library implements the Mobile Transport Protocol, and is capable of creating, encrypting, decrypting and parsing messages without performing any I/O.


lib.rs:

This library is an implementation of the Mobile Transport Protocol.

It is capable of efficiently packing enqueued requests into message containers to later be encrypted and transmitted, and processing the server responses to maintain a correct state.

Dependencies

~3MB
~54K SLoC