Cargo Features

[dependencies]
azul-webrender = { version = "0.62.2", default-features = false, features = ["freetype-lib", "profiler", "capture", "replay", "display_list_stats", "serialize_program", "gecko", "png"] }
default = freetype-lib

The freetype-lib feature is set by default whenever azul-webrender is added without default-features = false somewhere in the dependency tree.

freetype-lib default

Enables freetype-sys of freetype

profiler

Enables enable_profiler of tracy-rs

capture = ron, serde

Enables serialize of azul-webrender-api, serialization of etagere, serde of smallvec

Affects render_task_graph::dump_render_tasks_as_svg, resource_cache::PlainCacheRef, resource_cache::PlainResources

replay = ron, serde

Enables deserialize of azul-webrender-api, serialization of etagere, serde of smallvec

Affects resource_cache::PlainCacheOwn, scene_builder_thread::LoadScene, resource_cache::PlainResources

display_list_stats

Enables display_list_stats of azul-webrender-api

serialize_program = serde

Enables serialize_program of azul-webrender-build

no_static_freetype leak_checks gecko

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.

png implicit feature

Enables png ^0.16

png:

PNG decoding and encoding library in pure Rust

ron capture? replay?

Enables ron ^0.6.2

serde capture? replay? serialize_program?