7 releases (4 breaking)

0.5.0 Apr 23, 2023
0.4.0 Mar 26, 2023
0.3.2 Mar 25, 2023
0.3.1 Dec 11, 2022
0.1.0 Mar 18, 2022

#1508 in Database interfaces

Download history 10/week @ 2023-12-11 7/week @ 2023-12-18 1/week @ 2023-12-25 27/week @ 2024-01-01 9/week @ 2024-01-08 32/week @ 2024-01-22 69/week @ 2024-01-29 52/week @ 2024-02-12 17/week @ 2024-02-19 25/week @ 2024-02-26 110/week @ 2024-03-04 70/week @ 2024-03-11 32/week @ 2024-03-18 11/week @ 2024-03-25

225 downloads per month
Used in 2 crates (via tdlib)

MIT/Apache

57KB
1.5K SLoC

tdlib-rs

A Rust wrapper around the Telegram Database library. It includes a generator to automatically generate the types and functions from the TDLib's Type Language file.

It's mainly created for using it in the Telegrand client, but it should work also for any other Rust project.

Current supported TDLib version: 1.8.19.

Credits

  • grammers: the tdlib-tl-gen and tdlib-tl-parser projects are forks of the grammers-tl-gen and grammers-tl-parser projects.
  • rust-tdlib: for inspiration about some client code.

lib.rs:

This module gathers all the code generation submodules and coordinates them, feeding them the right data.

Dependencies