-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
41 lines (35 loc) · 1.04 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
[package]
name = "thin_main_loop"
version = "0.2.0"
authors = ["David Henningsson <diwic@ubuntu.com>"]
edition = "2018"
readme = "README.md"
description = "Thin, cross-platform, main event loop. A building block for native GUI applications, among other use cases."
repository = "https://github.com/diwic/thin_main_loop"
documentation = "http://docs.rs/thin_main_loop"
keywords = ["event", "loop", "message", "dispatcher", "main"]
license = "Apache-2.0/MIT"
categories = ["api-bindings", "asynchronous", "os::unix-apis", "os::windows-apis"]
[dependencies]
wasm-bindgen = { version = "0.2.29", optional = true }
js-sys = { version = "0.3.6", optional = true }
lazy_static = "1.1"
futures = "0.3.1"
[dependencies.glib-sys]
version = "0.7"
optional = true
features = ["v2_36"]
[dependencies.winapi]
version = "0.3"
optional = true
features = ["winuser", "libloaderapi", "std", "winsock2"]
[dependencies.web-sys]
version = "0.3.4"
optional = true
features = [
'Window',
]
[features]
glib = ["glib-sys"]
win32 = ["winapi"]
web = ["wasm-bindgen", "js-sys", "web-sys"]