Put svg rendering behind a feature gate
This reduces binary size when SVG supoprt is not needed.
This commit is contained in:
parent
aa29849976
commit
232d4873ba
5 changed files with 49 additions and 16 deletions
|
|
@ -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" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue