-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
57 lines (48 loc) · 1.53 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
54
55
56
57
[package]
name = "browser-window"
version = "0.12.3"
description = "A simple, optionally async, optionally threadsafe, electron-like browser toolkit for Rust."
edition = "2018"
authors = ["Bamidev"]
license = "MIT"
publish = true
keywords = ["browser", "chromium", "electron", "gui", "webview"]
categories = ["asynchronous", "gui", "web-programming"]
readme = "README.md"
documentation = "https://docs.rs/browser-window/"
repository = "https://github.com/bamidev/browser-window/"
[features]
cef = ["browser-window-c/cef"]
edge2 = ["dep:webview2", "dep:winapi", "browser-window-c/edge2"]
gtk = []
webkitgtk = ["dep:glib", "dep:gtk", "dep:javascriptcore-rs", "dep:webkit2gtk", "gtk"]
threadsafe = []
[lib]
name = "browser_window"
path = "src/lib.rs"
[[example]]
name = "terminal"
path = "examples/terminal.rs"
[[example]]
name = "authentication"
path = "examples/authentication.rs"
[dependencies]
browser-window-c = { path = "c", version = "=0.3.2" }
futures-channel = { version = "^0.3" }
glib = { version = "0.18", optional = true }
gtk = { version = "0.18", optional = true }
javascriptcore-rs = { version = "1", optional = true }
json = "0.12"
lazy_static = "1"
num-bigfloat = "1"
unsafe-send-sync = "^0.1"
webkit2gtk = { version = "2.0", optional = true, features = ["v2_40"] }
webview2 = { version = "0.1", optional = true }
winapi = { version = "0.3", optional = true }
[dev-dependencies]
serde_json = "^1.0"
tokio = { version = "^1.0", features = ["rt", "rt-multi-thread"] }
[package.metadata.docs.rs]
features = ["threadsafe"]
[workspace]
members = ["c"]