Cargo Features
[dependencies]
azul-dll = { version = "0.0.5", default-features = false, features = ["minimal", "std", "logging", "use_fern_logger", "use_pyo3_logger", "css_parser", "all_img_formats", "desktop", "gif", "jpeg", "png", "tiff", "bmp", "ico", "tga", "hdr", "webp", "pnm", "svg", "xml", "text_layout", "cdylib", "rlib", "staticlib", "link-static", "link-dynamic", "desktop-cdylib", "desktop-staticlib", "rust-static", "python-extension", "fern"] }
- default = all_img_formats, css_parser, desktop, font_loading, link-static, logging, std, svg, text_layout, xml
-
These default features are set whenever
azul-dll
is added without
somewhere in the dependency tree.default-features = false - minimal = css_parser, font_loading, std, text_layout
-
these are the features that currently HAVE to be present removing any of these features will lead to compile error this will be fixed in the future
- std default desktop minimal?
-
Enables std of azul-core and azul-layout
azul-core:
Enables hashing for timing and threading
- logging default use_fern_logger? use_pyo3_logger? = log
- use_fern_logger desktop-cdylib? desktop-staticlib? rust-static? = logging
- use_pyo3_logger python-extension? = logging, pyo3-log
- css_parser default minimal?
-
Affects
css::css_parser
,desktop::css
… - all_img_formats default = bmp, gif, hdr, ico, jpeg, png, pnm, tga, tiff, webp
- desktop default desktop-cdylib? desktop-staticlib? python-extension? rust-static? = azul-css, azul-layout, backtrace, bitflags, block2, clipboard2, dispatch2, font_loading, gl-context-loader, libm, once_cell, raw-window-handle, rust-fontconfig, std, strfmt, text_layout, tfd, webrender
- gif all_img_formats = azul-layout
-
Enables gif of azul-layout
- jpeg all_img_formats = azul-layout
-
Enables jpeg of azul-layout
- png all_img_formats = azul-layout
-
Enables png of azul-layout
- tiff all_img_formats = azul-layout
-
Enables tiff of azul-layout
- bmp all_img_formats = azul-layout
-
Enables bmp of azul-layout
- ico all_img_formats = azul-layout
-
Enables ico of azul-layout
- tga all_img_formats = azul-layout
-
Enables tga of azul-layout
- hdr all_img_formats = azul-layout
-
Enables hdr of azul-layout
- webp all_img_formats = azul-layout
-
Enables webp of azul-layout
- pnm all_img_formats = azul-layout
-
Enables pnm of azul-layout
- svg default = azul-layout
-
Enables azul-layout
- xml default = azul-layout
-
Enables azul-layout
Affects
extra::styled_dom_from_file
,extra::styled_dom_from_str
… - font_loading text_layout default desktop minimal? = azul-layout
-
Enables azul-layout
- cdylib desktop-cdylib? link-dynamic? python-extension?
- rlib link-static rust-static?
- staticlib desktop-staticlib? link-dynamic?
- link-static default = rlib
- link-dynamic = cdylib, staticlib
-
Affects
azul-dll::python
… - desktop-cdylib = cdylib, desktop, use_fern_logger
-
Predefined target configurations
- desktop-staticlib = desktop, staticlib, use_fern_logger
- rust-static = desktop, rlib, use_fern_logger
- python-extension = cdylib, desktop, pyo3, use_pyo3_logger
-
Affects
azul-dll::python
…
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.
- azul-css desktop
- azul-layout bmp? desktop font_loading gif? hdr? ico? jpeg? png? pnm? std svg text_layout tga? tiff? webp? xml
- pyo3 python-extension?
-
Enables pyo3 ^0.16.5
- log logging
- pyo3-log use_pyo3_logger?
-
Enables pyo3-log ^0.6.0
- tfd desktop
- clipboard2 desktop
- raw-window-handle desktop
-
Enables raw-window-handle ^0.5.0
- fern implicit feature
-
Enables fern ^0.6.1
fern:
Simple, efficient logging
- backtrace desktop
- rust-fontconfig desktop
- strfmt desktop
-
Enables strfmt ^0.1.6
- libm desktop
- gl-context-loader desktop
- webrender desktop
-
Enables azul-webrender
- once_cell desktop
- dispatch2 desktop
- bitflags desktop
- block2 desktop