Cargo Features
[dependencies]
reqwest-cross = { version = "0.4.2", default-features = false, features = ["native-tokio", "yield_now"] }
- default = native-tokio
-
The
native-tokio
feature is set by default wheneverreqwest-cross
is added without
somewhere in the dependency tree.default-features = false - native-tokio default
-
Enables tokio
Affects
native::spawn
… - yield_now = web-sys
-
Enables js-sys
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.