From 232d4873ba0fb9b87d08c8d70b117e81aa7489b5 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 15 Dec 2019 06:45:20 +0100 Subject: Put `svg` rendering behind a feature gate This reduces binary size when SVG supoprt is not needed. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f6f1158a..f3b16da1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,8 @@ categories = ["gui"] [features] # Enables a debug view in native platforms (press F12) debug = ["iced_winit/debug"] +# Enables support for SVG rendering +svg = ["iced_wgpu/svg"] [badges] maintenance = { status = "actively-developed" } -- cgit