Feature gate font-kit behind "default_system_font" feature.

This commit is contained in:
Azriel Hoh 2020-05-30 19:23:16 +12:00
parent 05750bf186
commit ae9521e500
5 changed files with 31 additions and 15 deletions

View file

@ -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"