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

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

Enables bzip2 of zip ^0.6

zip-deflate = zip

Enables deflate of zip ^0.6

tar

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

Enables flac of rodio

mp3

Enables minimp3 of rodio

vorbis

Enables vorbis of rodio

wav

Enables wav of rodio

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

Enables base64 and gltf

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