summaryrefslogtreecommitdiffstats
path: root/renderer/Cargo.toml
blob: 429b55c2612b136c7212bbdc48d5ccf0749b9640 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "iced_renderer"
version = "0.1.0"
edition = "2021"

[features]
image = ["iced_wgpu/image", "iced_tiny_skia/image"]
svg = ["iced_wgpu/svg", "iced_tiny_skia/svg"]
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"
path = "../native"

[dependencies.iced_graphics]
version = "0.7"
path = "../graphics"

[dependencies.iced_tiny_skia]
version = "0.1"
path = "../tiny_skia"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
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