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