Cargo Features

[dependencies]
bevy_mod_reqwest = { version = "0.14.0", default-features = false, features = ["default-tls", "json", "rustls-tls", "msgpack"] }
default = default-tls, json, msgpack

These default features are set whenever bevy_mod_reqwest is added without default-features = false somewhere in the dependency tree.

default-tls default

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

Enables json of reqwest

Affects bevy_mod_reqwest::deserialize_json_into_resource

rustls-tls

Enables rustls-tls of reqwest

msgpack default = rmp-serde

Affects bevy_mod_reqwest::deserialize_msgpack_into_resource

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

rmp-serde msgpack
serde_json json