Cargo Features
[dependencies]
async-global-executor = { version = "2.4.1", default-features = false, features = ["tokio", "tokio02", "tokio03", "async-io"] }
- default = async-io
-
The
async-io
feature is set by default wheneverasync-global-executor
is added without
somewhere in the dependency tree.default-features = false - tokio = tokio-crate
- tokio02 = tokio02-crate
- tokio03 = tokio03-crate
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-io default
- tokio-crate tokio?
-
Enables tokio
- tokio02-crate tokio02?
-
Enables tokio ^0.2
- tokio03-crate tokio03?
-
Enables tokio ^0.3.4