Cargo Features
[dependencies]
assets_manager = { version = "0.11.5", default-features = false, features = ["hot-reloading", "macros", "embedded", "utils", "zip", "zip-bzip2", "zip-deflate", "tar", "bincode", "json", "msgpack", "ron", "yaml", "toml", "flac", "mp3", "vorbis", "wav", "bmp", "jpeg", "png", "webp", "gltf", "ahash", "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 - hot-reloading
-
Enables crossbeam-channel and notify
Affects
private::IdBuilder
… - macros embedded?
-
Enables assets_manager_macros
- embedded = macros
- utils
-
Enables once_cell
Affects
utils::cell
… - zip zip-bzip2? zip-deflate?
-
Enables sync_file and zip ^0.6
Affects
private::IdBuilder
… - zip-bzip2 = zip
- zip-deflate = zip
- tar
-
Affects
private::IdBuilder
… - 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
- flac
- mp3
- vorbis
- wav
- bmp
-
Enables bmp of image ^0.24
- jpeg gltf?
-
Enables jpeg of image ^0.24
- png gltf?
-
Enables png of image ^0.24
- webp
-
Enables webp of image ^0.24
- gltf = jpeg, png
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.
- ahash default
- parking_lot implicit feature
-
Enables parking_lot
parking_lot:
More compact and efficient implementations of the standard synchronization primitives
- serde bincode? json? msgpack? ron? toml? yaml?
- rodio flac? mp3? vorbis? wav?
- image bmp? jpeg? png? webp?
-
Enables image ^0.24
- ab_glyph implicit feature
-
Enables ab_glyph
ab_glyph:
API for loading, scaling, positioning and rasterizing OpenType font glyphs