Cargo Features

[dependencies]
tgt = { version = "1.0.0", default-features = false, features = ["local-tdlib", "download-tdlib", "pkg-config"] }
default = download-tdlib

By deafult you need to set the LOCAL_TDLIB_PATH environment variable to the path of the TDLib library. See CONTRIBUTING.md for more information.

local-tdlib

Enables local-tdlib of tdlib-rs

tdlib-rs:

This feature is used to build the library using the tdlib library installed in the system

download-tdlib default

Enables download-tdlib of tdlib-rs

tdlib-rs:

This feature is used to build the library using the tdlib library downloaded from github

pkg-config

Enables pkg-config of tdlib-rs

tdlib-rs:

This feature is used to build the library using pkg-config