Implement Canvas support for iced_tiny_skia
This commit is contained in:
parent
3f6e28fa9b
commit
5fd5d1cdf8
65 changed files with 1354 additions and 570 deletions
|
|
@ -6,12 +6,13 @@ edition = "2021"
|
|||
[features]
|
||||
image = ["iced_wgpu/image", "iced_tiny_skia/image"]
|
||||
svg = ["iced_wgpu/svg", "iced_tiny_skia/svg"]
|
||||
canvas = ["iced_graphics/canvas"]
|
||||
qr_code = ["iced_graphics/qr_code"]
|
||||
canvas = ["iced_wgpu/canvas", "iced_tiny_skia/canvas"]
|
||||
qr_code = ["canvas", "qrcode"]
|
||||
tracing = ["iced_wgpu/tracing"]
|
||||
|
||||
[dependencies]
|
||||
raw-window-handle = "0.5"
|
||||
thiserror = "1"
|
||||
|
||||
[dependencies.iced_native]
|
||||
version = "0.9"
|
||||
|
|
@ -30,3 +31,8 @@ iced_wgpu = { version = "0.9", path = "../wgpu" }
|
|||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
iced_wgpu = { version = "0.9", path = "../wgpu", features = ["webgl"] }
|
||||
|
||||
[dependencies.qrcode]
|
||||
version = "0.12"
|
||||
optional = true
|
||||
default-features = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue