Cargo Features

femtovg = { version = "0.9.1", default-features = false, features = ["image-loading", "debug_inspector", "serde", "glutin"] }
default = image-loading

The image-loading feature is set by default whenever femtovg is added without default-features = false somewhere in the dependency tree.

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.24.0

serde implicit feature

Enables serde


A generic serialization/deserialization framework

glutin not wasm32 implicit feature

Enables glutin ^0.30.3


Cross-platform OpenGL context provider