//! Rust types for [TDLib](https://github.com/tdlib/td).
//!
//! The default build contains TDLib types only. Enable the `sys` feature to
//! re-export `rtdlib_sys::Tdlib` and call the `tdjson` shared library.
//!
//! Compiling the generated types takes about 6 GB of RAM in one `rustc`
//! process. A 1 GB limit kills that process with signal 9. `libtdjson` is
//! linked only when a binary enables `sys`. See the Building section of the
//! README.
// Generated getters return `&Box<T>`, and several generated enums are large.
// Changing either would break the public API used by telegram-client.
extern crate serde_derive;
pub use Tdlib;