-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (24 loc) · 924 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
[package]
name = "plygui"
version = "0.0.1"
authors = ["Serhii Plyhun <[email protected]>"]
edition = "2018"
[lib]
name = "plygui"
path = "src/lib.rs"
[dependencies]
plygui-api = { version = "0.0.1", path = "../plygui-api" }
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
plygui-gtk = { version = "0.0.1", path = "../plygui-gtk", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
plygui-win32 = { version = "0.0.1", path = "../plygui-win32", optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
plygui-cocoa = { version = "0.0.1", path = "../plygui-cocoa", optional = true }
[features]
gtk3 = ["plygui-gtk"]
win32 = ["plygui-win32"]
cocoa = ["plygui-cocoa"]
#https://github.com/rust-lang/cargo/issues/1197
#native = ["win32", "cocoa", "gtk3"]
type_check = ["plygui-api/type_check"]
default = ["type_check"]