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 whenever assets_manager is added without default-features = false somewhere in the dependency tree.

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

Enables bzip2 of zip ^0.6

zip-deflate = zip

Enables deflate of zip ^0.6

zip-zstd = zip

Enables zstd of zip ^0.6

tar

Enables sync_file and 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

Enables bmp of image

jpeg gltf?

Enables jpeg of image

png gltf?

Enables png of image

webp

Enables webp of image

gltf = jpeg, png

Enables base64 and gltf

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