forked from linebender/druid-widget-nursery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (31 loc) · 1013 Bytes
/
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
[package]
name = "druid-widget-nursery"
version = "0.1.0"
authors = ["Richard Dodd <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
[features]
async = ["tokio", "futures", "flume"]
hot-reload = ["libloading", "notify5", "rand"]
[dependencies.druid]
git = "https://github.com/linebender/druid"
rev = "3661030" # update this when upgrading to newer druid
# and update examples/hot_reload/Cargo.toml as well
[dependencies]
log = "0.4.11"
# theme loader
# TODO: update this to 5.0
notify = { version = "4.0.12", optional = true }
# async
tokio = { version = "1.0", features = ["rt"], optional = true }
futures = { version = "0.3", optional = true }
flume = { version = "0.10", optional = true }
# hot reload
notify5 = { version = "5.0.0-pre.4", optional = true, package = "notify" }
libloading = { version = "0.6.6", optional = true }
rand = { version = "0.8.1", optional = true }
[[example]]
name = "async"
required-features = ["async", "tokio/time"]
[[example]]
name = "animator"