Cargo Features
[dependencies]
canvasapi = { version = "0.5.0", default-features = false, features = ["blocking", "non_blocking", "devel"] }
- default = non_blocking
-
The
non_blocking
feature is set by default whenevercanvasapi
is added without
somewhere in the dependency tree.default-features = false - blocking
-
Enables blocking of reqwest ^0.11.9
- non_blocking default
-
Enables reqwest ^0.11.9 and full of tokio
tokio:
enable everything
Required by the canvas binary
- devel
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.