#mtproto #telegram #tl

grammers-mtproto

An implementation of the Mobile Transport Protocol

4 releases (breaking)

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

#1334 in Network programming

Download history 55/week @ 2023-01-26 70/week @ 2023-02-02 33/week @ 2023-02-09 92/week @ 2023-02-16 68/week @ 2023-02-23 27/week @ 2023-03-02 30/week @ 2023-03-09 21/week @ 2023-03-16 36/week @ 2023-03-23 62/week @ 2023-03-30 90/week @ 2023-04-06 53/week @ 2023-04-13 71/week @ 2023-04-20 64/week @ 2023-04-27 67/week @ 2023-05-04 25/week @ 2023-05-11

234 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

250KB
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

~2.5MB
~50K SLoC