Cargo Features
[dependencies]
rust-tdlib = { version = "0.4.3", default-features = false, features = ["client", "tdjson"] }
- default = client
-
The
client
feature is set by default wheneverrust-tdlib
is added without
somewhere in the dependency tree.default-features = false - client default = async-trait, dyn-clone, lazy_static, log, tdjson, tokio
-
Affects
rust-tdlib::client
… - tdjson client
-
Affects
rust-tdlib::tdjson
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.