-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
39 lines (33 loc) · 1 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
[workspace]
resolver = "2" # What does this do?
[package]
name = "rui"
description = "Experimental Declarative UI library"
version = "0.6.1"
license = "MIT"
readme = "README.md"
authors = ["Taylor Holliday <[email protected]>"]
keywords = ["ui", "gui", "declarative"]
categories = ["gui"]
repository = "https://github.com/audulus/rui"
edition = "2018"
exclude = [ "screenshots/*" ]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = [ "winit" ]
[dependencies]
euclid = "0.22.7"
wgpu = "0.20.0"
futures = "0.3"
vger = "0.3"
accesskit = "0.16.0"
lazy_static = "1.4.0"
winit = { version = "0.30", optional = true }
log = "0.4"
# Seems we can't publish to crates.io with this dependency.
# baseview = { git = "https://github.com/RustAudio/baseview", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.76"
web-sys = { version = "^0.3.61", features = ["Location"] }
console_log = "1"
console_error_panic_hook = "0.1.6"