summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-15 06:45:20 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-15 06:45:20 +0100
commit232d4873ba0fb9b87d08c8d70b117e81aa7489b5 (patch)
treebfaac8e4887bbb0ea4ffa6a687151e13f4ae093e /Cargo.toml
parentaa298499768bb50129cc3bd0dca6f3f858e5802e (diff)
downloadiced-232d4873ba0fb9b87d08c8d70b117e81aa7489b5.tar.gz
iced-232d4873ba0fb9b87d08c8d70b117e81aa7489b5.tar.bz2
iced-232d4873ba0fb9b87d08c8d70b117e81aa7489b5.zip
Put `svg` rendering behind a feature gate
This reduces binary size when SVG supoprt is not needed.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 2 insertions, 0 deletions
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" }