Cargo Features

[dependencies]
grafix-toolbox = { version = "0.8.21", default-features = false, features = ["gl45", "profiling", "adv_fs", "rng", "fsnotify", "adv_cg", "hdr", "obj", "sdf", "adv_img", "avif", "gif", "jpg", "png", "webp", "gui"] }
default = gl45

The gl45 feature is set by default whenever grafix-toolbox is added without default-features = false somewhere in the dependency tree.

gl45 default

Affects universion::GL_VERSION

profiling
adv_fs = bincode, serde, serde_json, zstd

Enables serde of half

Affects kit::ser

rng = fastrand, simdnoise
fsnotify = notify
adv_cg = hdr, obj, sdf
hdr adv_cg?

Enables hdr of image

obj adv_cg? = tobj
sdf adv_cg? = rusttype
adv_img = avif, gif, jpg, png, webp
avif adv_img?

Enables avif of image

gif adv_img?

Enables gif of image

jpg adv_img?

Enables jpeg of image

png adv_img?

Enables png of image

webp adv_img?

Enables webp of image

gui

Affects crate::gui

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.

bincode adv_fs?
fastrand rng?
notify fsnotify?
rusttype sdf?
serde adv_fs?
serde_json adv_fs?
simdnoise rng?
tobj obj?
zstd adv_fs?