Put svg rendering behind a feature gate

This reduces binary size when SVG supoprt is not needed.
This commit is contained in:
Héctor Ramón Jiménez 2019-12-15 06:45:20 +01:00
parent aa29849976
commit 232d4873ba
5 changed files with 49 additions and 16 deletions

View file

@ -6,6 +6,8 @@ mod radio;
mod row;
mod scrollable;
mod slider;
mod svg;
mod text;
mod text_input;
#[cfg(feature = "svg")]
mod svg;