summaryrefslogtreecommitdiffstats
path: root/graphics/Cargo.toml
blob: 12f38cceea9a110bc8c6908752a54bf4678e6921 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "iced_graphics"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2018"
description = "A bunch of backend-agnostic types that can be leveraged to build a renderer for Iced"
license = "MIT"
repository = "https://github.com/hecrj/iced"
documentation = "https://docs.rs/iced_graphics"
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]

[features]
canvas = ["lyon"]
qr_code = ["qrcode", "canvas"]
font-source = ["font-kit"]
font-fallback = []
font-icons = []
opengl = []

[dependencies]
glam = "0.10"
raw-window-handle = "0.4"
thiserror = "1.0"

[dependencies.bytemuck]
version = "1.4"
features = ["derive"]

[dependencies.iced_native]
version = "0.4"
path = "../native"

[dependencies.iced_style]
version = "0.3"
path = "../style"

[dependencies.lyon]
version = "0.17"
optional = true

[dependencies.qrcode]
version = "0.12"
optional = true
default-features = false

[dependencies.font-kit]
version = "0.10"
optional = true

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true