Cargo Features

[dependencies]
duku = { version = "0.2.1", default-features = false, features = ["png", "jpeg", "gltf", "glsl", "otf", "window", "log"] }
default = window

The window feature is set by default whenever duku is added without default-features = false somewhere in the dependency tree.

png gltf? = png_dep
jpeg gltf? = jpeg_dep
gltf = gltf_dep, jpeg, png
glsl = glsl_dep

Required by the dc binary

otf = otf_dep
window default = window_dep
log

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.

glsl_dep glsl?

Enables shaderc ^0.7.0

gltf_dep gltf?

Enables gltf ^0.15.2

jpeg_dep jpeg?

Enables jpeg-decoder ^0.1.20

otf_dep otf?

Enables ab_glyph

png_dep png?

Enables png ^0.16.7

window_dep window

Enables winit ^0.23.0