Cargo Features
[dependencies]
bevy_mod_reqwest = { version = "0.18.0", default-features = false, features = ["default-tls", "json", "rustls-tls", "msgpack"] }
- default = json, rustls-tls
-
These default features are set whenever
bevy_mod_reqwest
is added without
somewhere in the dependency tree.default-features = false - default-tls
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- json default = serde_json
-
Affects
bevy_mod_reqwest::json
… - rustls-tls default
-
Enables rustls-tls of reqwest
- msgpack = rmp-serde
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.