Cargo Features
[dependencies]
azul-layout = { version = "0.0.5", default-features = false, features = ["std", "text_layout", "gif", "jpeg", "png", "tiff", "bmp", "ico", "tga", "hdr", "webp", "pnm", "font_loading", "xml", "svg"] }
- default = font_loading, std, svg, text_layout, xml
-
These default features are set whenever
azul-layout
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
image::decode
,image::encode
,xml::domxml_from_file
… - text_layout default = allsorts-subset-browser, tinyvec, ttf-parser, unicode-normalization
-
Affects
azul-layout::text
,solver::do_the_layout
,solver::do_the_layout_internal
,solver::callback_info_shape_text
,solver::create_shaped_words
… - gif
- jpeg
-
Affects
encode::encode_jpeg
… - png
-
Affects
encode::encode_png
… - tiff
- bmp
- ico
- tga
- hdr
- webp
- pnm
- font_loading default
-
Affects
azul-layout::font
… - xml default svg = roxmltree, xmlparser, xmlwriter
-
Affects
azul-layout::xml
,xml::domxml_from_str
,xml::parse_xml_string
,xml::parse_xml
,xml::translate_roxmltree_expandedname
,xml::domxml_from_file
… - svg default = geo, geo-booleanop, gl-context-loader, lyon, resvg, tiny-skia, usvg, xml
-
Affects
xml::svg
,svg::tessellate_multi_polygon_fill
,svg::tessellate_multi_shape_fill
,svg::path_contains_point
,svg::polygon_contains_point
,svg::tessellate_multi_shape_stroke
,svg::tessellate_multi_polygon_stroke
,svg::tessellate_path_fill
,svg::tessellate_path_stroke
,svg::tessellate_circle_fill
,svg::tessellate_circle_stroke
,svg::tessellate_rect_fill
,svg::tessellate_rect_stroke
,svg::tessellate_styled_node
,svg::tessellate_line_stroke
,svg::tessellate_cubiccurve_stroke
,svg::tessellate_quadraticcurve_stroke
…
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.
- unicode-normalization text_layout
- allsorts-subset-browser text_layout
- tinyvec text_layout
- ttf-parser text_layout
-
Enables ttf-parser ^0.15.2
- lyon svg
-
Enables lyon ^0.17.10
- usvg svg
-
Enables usvg ^0.22.0
- resvg svg
-
Enables resvg ^0.22.0
- tiny-skia svg
-
Enables tiny-skia ^0.6.5
- geo-booleanop svg
-
Enables geo-booleanop ^0.2.1
- geo svg
-
Enables geo ^0.26.0
- roxmltree xml
-
Enables roxmltree ^0.14.0
- xmlwriter xml
- xmlparser xml
- gl-context-loader svg