Introducing a powerful Rust wrapper for the Telegram Database Library, designed for ease of use and flexibility. With cross-platform support and simplified installation options, you can effortlessly harness Telegram's features without the hassle of traditional setup. Boost your projects with robust, safe, and efficient messaging integration.
tdlib-rs is a powerful and efficient Rust wrapper around the Telegram Database Library (TDLib) 🦀, designed to simplify the integration of Telegram functionalities into your applications. This library automates the generation of types and functions directly from TDLib's Type Language (TL), providing developers with a seamless experience.
This wrapper currently supports TDLib version 1.8.29, ensuring that you're working with the latest features and fixes.
Enhance your development process with the following features:
Here are a few snippets to help you get started:
[dependencies]
tdlib = { version = "...", features = [ "download-tdlib" ] }
[build-dependencies]
tdlib = { version = "...", features = [ "download-tdlib" ] }
// build.rs
fn main() {
tdlib_rs::build::build(None);
}
# Set the local TDLib path
export LOCAL_TDLIB_PATH=$HOME/lib/tdlib
[dependencies]
tdlib = { version = "...", features = [ "local-tdlib" ] }
[build-dependencies]
tdlib = { version = "...", features = [ "local-tdlib" ] }
// build.rs
fn main() {
tdlib_rs::build::build(None);
}
# pkg-config configuration
export PKG_CONFIG_PATH=$HOME/lib/tdlib/lib/pkgconfig/:$PKG_CONFIG_PATH
# dynamic linker configuration
export LD_LIBRARY_PATH=$HOME/lib/tdlib/lib/:$LD_LIBRARY_PATH
[dependencies]
tdlib = { version = "...", features = [ "pkg-config" ] }
[build-dependencies]
tdlib = { version = "...", features = [ "pkg-config" ] }
// build.rs
fn main() {
tdlib_rs::build::build(None);
}
For questions, suggestions, or feedback, feel free to reach out to the maintainers or participate in discussions via contact page.
Special thanks to the community projects and contributors that inspired the development of this library including grammers and rust-tdlib. Join the growing ecosystem and enhance your Rust applications with the ease of tdlib-rs!
No comments yet.
Sign in to be the first to comment.