Cargo Features
tdlib-rust has no features set by default.
[dependencies]
tdlib-rust = { version = "1.0.0", features = ["bots-only-api", "docs", "local-tdlib", "pkg-config", "download-tdlib"] }
- default
-
The default feature build the library using the local tdlib library
- bots-only-api
-
This feature is used to enable the functions only available to the Telegram bots
- docs
-
This feature is used to build the documentation preventing linking to the tdjson library
Affects
build::build_pkg_config
,build::build_download_tdlib
,build::build_local_tdlib
… - local-tdlib
-
This feature is used to build the library using the tdlib library installed in the system
Affects
build::build_local_tdlib
… - pkg-config
-
This feature is used to build the library using pkg-config
Enables system-deps
Affects
build::build_pkg_config
… - download-tdlib
-
This feature is used to build the library using the tdlib library downloaded from github
Affects
build::build_download_tdlib
…