Cargo Features
[dependencies]
tmx = { version = "0.3.1", default-features = false, features = ["xml", "base64-data", "zlib-data", "zstd-data"] }
- default = base64-data, gzip-data, xml, zlib-data, zstd-data
-
These default features are set whenever
tmx
is added without
somewhere in the dependency tree.default-features = false - xml default = quick-xml
- base64-data default gzip-data zlib-data zstd-data = base64
- gzip-data zlib-data default = base64-data, libflate
- zstd-data default = base64-data, zstd
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.
- base64 base64-data
-
Enables base64 ^0.12.0
- libflate gzip-data zlib-data
-
Enables libflate ^0.1.27
- quick-xml xml
-
Enables quick-xml ^0.18.1
- zstd zstd-data
-
Enables zstd ^0.5.1