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 whenever canvasapi is added without default-features = false somewhere in the dependency tree.

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.

tokio non_blocking