-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
48 lines (41 loc) · 1.34 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
[package]
name = "nuit"
description = "Declarative, cross-platform UI framework for Rust that uses native controls"
version.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# Would be nice to have https://github.com/rust-lang/cargo/issues/1197
default = ["adwaita", "swiftui"]
adwaita = ["dep:nuit-bridge-adwaita"]
swiftui = ["dep:nuit-bridge-swiftui"]
rand = ["nuit-core/rand"]
[dependencies]
nuit-derive.workspace = true
nuit-core.workspace = true
nuit-bridge-adwaita = { workspace = true, optional = true }
nuit-bridge-swiftui = { workspace = true, optional = true }
[[example]]
name = "gestures"
required-features = ["rand"]
[workspace]
members = [
"nuit-bridge-adwaita",
"nuit-bridge-swiftui",
"nuit-core",
"nuit-derive",
]
[workspace.package]
version = "0.2.1"
edition = "2021"
license = "MPL-2.0"
homepage = "https://github.com/fwcd/nuit"
[workspace.dependencies]
nuit-bridge-adwaita = { version = "0.2.1", path = "nuit-bridge-adwaita" }
nuit-bridge-swiftui = { version = "0.2.1", path = "nuit-bridge-swiftui" }
nuit-core = { version = "0.2.1", path = "nuit-core" }
nuit-derive = { version = "0.2.1", path = "nuit-derive" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"