Cargo Features
[dependencies]
rt-gate = { version = "0.1.5", default-features = false, features = ["smol-rt", "tokio-rt", "compio-rt"] }
- default = tokio-rt
-
The
tokio-rtfeature is set by default wheneverrt-gateis added withoutsomewhere in the dependency tree.default-features = false - smol-rt
-
Enables smol
- tokio-rt default
-
Enables rt-multi-thread of tokio
- compio-rt
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.