Cargo Features
[dependencies]
poise = { version = "0.6.1", default-features = false, features = ["chrono", "cache", "collector", "handle_panics"] }
- default = cache, chrono, handle_panics
-
These default features are set whenever
poise
is added without
somewhere in the dependency tree.default-features = false Enables rustls_backend of serenity
serenity:
Backends to pick from:
- Rustls Backends - chrono default
-
serenity:
Uses chrono for Timestamp, instead of time
- cache default
-
serenity:
Enables the cache, which stores the data received from Discord gateway to provide access to complete guild data, channels, users and more without needing HTTP requests.
Affects
builtins::servers
… - collector
-
No-op feature because serenity/collector is now enabled by default
- handle_panics default
-
Enables support for handling panics inside commands via FrameworkError::CommandPanic.
This feature has no overhead and can always be enabled.
This feature exists because some users want to disable the mere possibility of catching panics at build time for peace of mind.