Cargo Features
[dependencies]
ksoft = { version = "1.1.4", default-features = false, features = ["blocking", "serenity", "async-trait", "tokio", "tracing-futures"] }
- default = async-trait, tokio, tracing-futures
-
These default features are set whenever
ksoft
is added without
somewhere in the dependency tree.default-features = false Affects
ksoft::images
,ksoft::bans
,ksoft::kumo
,ksoft::music
,ksoft::Client
,ksoft::EventHandler
… - blocking
-
Enables blocking of reqwest ^0.11.0
Affects
ksoft::blocking
… - serenity = typemap_rev
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.
- async-trait default
- tokio default
- tracing-futures default
- typemap_rev serenity?
-
Enables typemap_rev ^0.1.4