-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (49 loc) · 1.46 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
[package]
name = "gxi"
version = "0.6.1"
authors = ["aniketfuryrocks <[email protected]>"]
edition = "2018"
description = "Zero-Cost Cross-Platform Native Widget based Component System in Rust"
license = "MIT"
repository = "https://github.com/gxi-rs/gxi.git"
homepage = "https://gxi-rs.com/"
categories = ["gui", "wasm", "web-programming"]
keywords = ["gxi-rs", "wasm", "gtk", "gui", "framework"]
[features]
web = [
"gxi-derive/web",
"gxi-transpiler/web",
"gxi-macros/web",
"web-sys",
"wasm-bindgen",
]
async-web = [ "wasm-bindgen-futures" ]
desktop = ["gxi-derive/desktop", "gxi-transpiler/desktop", "gxi-macros/desktop"]
default = ["gxi-derive/default", "gxi-transpiler/default", "gxi-macros/default"]
[workspace]
members = ["gxi-derive", "gxi-transpiler", "gxi-macros", "examples/web"]
[dependencies]
gxi-derive = { path = "gxi-derive", version = "^0.6.0", optional = true }
gxi-transpiler = { path = "gxi-transpiler", version = "^0.6.0", optional = true }
gxi-macros = { path = "gxi-macros", version = "^0.6.0", optional = true }
# web
wasm-bindgen = { version = "0.2.73", optional = true }
wasm-bindgen-futures = { version = "0.4.28", optional = true }
web-sys = { version = "0.3.51", features = [
"Element",
"Window",
"Document",
"HtmlElement",
"HtmlHeadElement",
"Text",
# events
'Event',
'EventListener',
'MouseEvent',
'DragEvent',
'InputEvent',
'FocusEvent',
'KeyboardEvent',
'ProgressEvent',
'WheelEvent',
], optional = true }