#telegram #tl #mt-proto

grammers-mtproto

An implementation of the Mobile Transport Protocol

6 releases (breaking)

new 0.6.0 May 3, 2024
0.5.0 Nov 18, 2023
0.4.0 Oct 14, 2022
0.3.0 May 5, 2021
0.1.0 Jan 31, 2020

#349 in Network programming

Download history 13/week @ 2024-01-17 12/week @ 2024-01-24 1/week @ 2024-01-31 5/week @ 2024-02-07 26/week @ 2024-02-14 62/week @ 2024-02-21 49/week @ 2024-02-28 33/week @ 2024-03-06 68/week @ 2024-03-13 43/week @ 2024-03-20 43/week @ 2024-03-27 128/week @ 2024-04-03 256/week @ 2024-04-10 148/week @ 2024-04-17 39/week @ 2024-04-24 242/week @ 2024-05-01

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

MIT/Apache

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