Cargo Features
[dependencies]
robespierre = { version = "0.3.1", default-features = false, features = ["interpreter", "cache", "framework", "events", "framework-macros"] }
- default = cache, events, framework, framework-macros
-
These default features are set whenever
robespierre
is added without
somewhere in the dependency tree.default-features = false - interpreter
- cache default = robespierre-cache
-
Affects
robespierre::Context.cache
,robespierre::CacheHttp
,robespierre::CacheWrap
,robespierre::CacheServersMaintainer
… - framework default framework-macros
-
Affects
robespierre::framework
,robespierre::FrameworkWrap
… - events default = robespierre-events
-
Affects
robespierre::EventHandler
,robespierre::EventHandlerWrap
,model::ChannelIdExt.start_typing
,robespierre::CacheWrap
,robespierre::FrameworkWrap
,robespierre::CacheServersMaintainer
… - framework-macros default = framework, robespierre-fw-macros
-
Affects
standard::macros
…
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.