Cargo Features
[dependencies]
passgen-telegram = { version = "1.0.0", default-features = false, features = ["full", "webhooks", "cbor-serializer", "bincode-serializer", "macros", "ctrlc_handler", "native-tls", "rustls", "rustls-native-roots", "throttle", "cache-me", "trace-adaptor", "erased", "nightly"] }
- default = ctrlc_handler, native-tls
-
These default features are set whenever
passgen-telegram
is added without
somewhere in the dependency tree.default-features = false Enables teloxide-core
- full = bincode-serializer, cache-me, cbor-serializer, ctrlc_handler, erased, macros, native-tls, rustls, throttle, trace-adaptor, webhooks
-
Enables full of teloxide-core
teloxide-core:
All features except nightly and tls-related
- webhooks full? = rand
- cbor-serializer full? = serde_cbor
- bincode-serializer full? = bincode
- macros full? = teloxide-macros
- ctrlc_handler default full?
- native-tls default full?
-
Enables native-tls of teloxide-core
- rustls full?
-
Enables rustls of teloxide-core
- rustls-native-roots
-
Enables rustls-native-roots of teloxide-core
- throttle full?
-
Enables throttle of teloxide-core
teloxide-core:
Throttling bot adaptor
- cache-me full?
-
Enables cache_me of teloxide-core
teloxide-core:
CacheMe bot adaptor
- trace-adaptor full?
-
Enables trace_adaptor of teloxide-core
teloxide-core:
Trace bot adaptor
- erased full?
-
Enables erased of teloxide-core
teloxide-core:
Erased bot adaptor
- nightly
-
Enables nightly of teloxide-core
teloxide-core:
Features which require nightly compiler.
Currently the only used compiler feature is feature(type_alias_impl_trait) which allow implementing
Future
s without boxing.
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.