Cargo Features

[dependencies]
speedy2d = { version = "2.1.0", default-features = false, features = ["windowing", "image-loading"] }
default = image-loading, windowing

These default features are set whenever speedy2d is added without default-features = false somewhere in the dependency tree.

windowing default = glutin

Affects speedy2d::window, speedy2d::Window, speedy2d::WebCanvas, web::WebPending, web::WebEventTarget

image-loading default = image

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.

image image-loading

Enables image ^0.23

For image_loading feature

glutin not wasm32 windowing

Enables glutin ^0.28