-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathCargo.toml
72 lines (57 loc) · 1.73 KB
/
Cargo.toml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "druid-widget-nursery"
description = "Extra widgets for `druid` that are not yet ready for inclusion in Druid proper"
version = "0.1.0"
authors = ["Richard Dodd <[email protected]>"]
edition = "2018"
license = "Apache-2.0 OR MIT"
[features]
async = ["tokio/rt", "futures", "flume"]
derive = ["druid-widget-nursery-derive"]
hot-reload = ["libloading", "notify5", "rand"]
material-icons = ["druid-material-icons"]
[dependencies]
# TODO convert to using tracing
log = "0.4.11"
druid = { version = "0.8", features = ["im"] }
# theme loader
# TODO: update this to 5.0
notify = { version = "4.0.12", optional = true }
# async
tokio = { version = "1.0", features = ["rt", "time"], optional = true }
futures = { version = "0.3", optional = true }
flume = { version = "0.10", optional = true }
# derive
druid-widget-nursery-derive = { version = "=0.1.0", path = "druid-widget-nursery-derive", optional = true }
# hot reload
notify5 = { version = "5.0.0-pre.11", optional = true, package = "notify" }
libloading = { version = "0.6.6", optional = true }
rand = { version = "0.8.1", optional = true }
tracing = { version = "0.1.22" }
druid-material-icons = { version = "0.2.0", optional = true }
[[example]]
name = "async"
required-features = [
"async",
"tokio/rt-multi-thread",
"tokio/macros",
"tokio/time",
]
[[example]]
name = "animator"
[[example]]
name = "animation-curves"
[[example]]
name = "prisms"
required-features = ["derive"]
[[example]]
name = "splits"
[[example]]
name = "material_icons"
required-features = ["material-icons"]
[workspace]
members = ["druid-widget-nursery-derive", "examples/hot-reload"]
[dev-dependencies]
clap = { version = "3.2.19", features = ["derive"] }
qu = "0.5.1"
serde_json = "1.0.71"