Cargo Features
[dependencies]
assets_manager = { version = "0.12.4", default-features = false, features = ["ahash", "image", "hot-reloading", "macros", "embedded", "utils", "zip", "zip-bzip2", "zip-deflate", "zip-zstd", "tar", "serde", "bincode", "json", "msgpack", "ron", "yaml", "toml", "bmp", "jpeg", "png", "webp", "gltf", "parking_lot", "ab_glyph"] }
- default = ahash
-
The
ahash
feature is set by default wheneverassets_manager
is added without
somewhere in the dependency tree.default-features = false - ahash default
-
Enables ahash
- image bmp? jpeg? png? webp?
-
Enables image
- hot-reloading
-
Enables crossbeam-channel and notify ^6.0
Affects
private::IdBuilder
… - macros embedded?
-
Enables assets_manager_macros
- embedded = macros
- utils
-
Enables once_cell
Affects
utils::cell
… - zip zip-bzip2? zip-deflate? zip-zstd?
-
Enables sync_file and zip ^0.6
Affects
private::IdBuilder
… - zip-bzip2 = zip
- zip-deflate = zip
- zip-zstd = zip
- tar
-
Affects
private::IdBuilder
… - serde bincode? json? msgpack? ron? toml? yaml?
-
Enables serde
- bincode = serde
-
Enables bincode
- json = serde
-
Enables serde_json
- msgpack = serde
-
Enables rmp-serde
- ron = serde
-
Enables ron
- yaml = serde
-
Enables serde_yaml
- toml = serde
-
Enables basic-toml
- bmp
- jpeg gltf?
- png gltf?
- webp
- gltf = jpeg, png
Features from optional dependencies
- parking_lot implicit feature
-
Enables parking_lot
parking_lot:
More compact and efficient implementations of the standard synchronization primitives
- ab_glyph implicit feature
-
Enables ab_glyph
ab_glyph:
API for loading, scaling, positioning and rasterizing OpenType font glyphs