From ae9521e500d97c9495003a727b6fd931671dda8b Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 30 May 2020 19:23:16 +1200 Subject: Feature gate `font-kit` behind `"default_system_font"` feature. --- wgpu/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wgpu/Cargo.toml') diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 3bbc57a0..db3104c4 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -10,6 +10,7 @@ repository = "https://github.com/hecrj/iced" [features] svg = ["resvg"] canvas = ["iced_graphics/canvas"] +default_system_font = ["iced_graphics/font-source"] [dependencies] wgpu = "0.5" @@ -32,7 +33,7 @@ path = "../native" [dependencies.iced_graphics] version = "0.1" path = "../graphics" -features = ["font-source", "font-fallback", "font-icons"] +features = ["font-fallback", "font-icons"] [dependencies.image] version = "0.23" -- cgit