Cargo Features
[dependencies]
axoasset = { version = "1.0.1", default-features = false, features = ["toml-serde", "json-serde", "toml-edit", "remote", "tls-native-roots", "compression", "compression-tar", "compression-zip"] }
- default = remote
-
Default enable remote support
- toml-serde = serde, toml
-
Enable SourceFile support for deserializing using the "toml" crate
- json-serde = serde, serde_json
-
Enable SourceFile support for deserializing using the "serde_json" crate
- toml-edit = toml_edit
-
Enable SourceFile support for deserializing using the "toml_edit" crate
- remote default = image, reqwest
-
Enable reqwest-based http file fetching
Affects
axoasset::remote
… - tls-native-roots
-
On the off-chance native tls roots cause a problem, they can be opted out of by only using remote-min
Enables rustls-tls-native-roots of reqwest
- compression = compression-tar, compression-zip
-
Enable support for reading and writing zips and tarballs
- compression-tar compression? = flate2, tar, xz2, zstd
-
Enable support for reading and writing tarballs
- compression-zip compression? = zip
-
Enable support for reading and writing zips
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.