Cargo Features

[dependencies]
femtovg = { version = "0.11.2", default-features = false, features = ["image-loading", "debug_inspector", "wgpu", "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
debug_inspector
wgpu

Enables wgpu

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
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

glutin not wasm32 implicit feature

Enables glutin ^0.31

glutin:

Cross-platform OpenGL context provider