Cargo Features
[dependencies]
grafix-toolbox = { version = "0.8.33", 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, gui
-
These default features are set whenever
grafix-toolboxis added withoutsomewhere in the dependency tree.default-features = false - gl45 default
-
Affects
universion::GL_VERSION… - profiling
- adv_fs = faster-hex, serde, serde_json, zstd
-
Enables serde of grafix-toolbox-macros and half
Affects
serde::ser… - rng = fastrand
-
Affects
func::rand… - fsnotify = notify
- adv_cg = hdr, obj, sdf
- hdr adv_cg?
- obj adv_cg? = tobj
- sdf adv_cg? = rusttype
- adv_img = avif, gif, jpg, png, webp
- avif adv_img?
- gif adv_img?
- jpg adv_img?
- png adv_img?
- webp adv_img?
- gui default
-
Affects
grafix-toolbox::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.