-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (41 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
52 lines (41 loc) · 1.57 KB
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
[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2021"
name = "webview"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = { version = "3.8.2", default-features = true, features = ["napi9"] }
napi-derive = "3.5.1"
serde_json = "1"
# Full GUI stack — not available / not needed on the FreeBSD stub build.
[target.'cfg(not(target_os = "freebsd"))'.dependencies]
tao = { version = "0.35.3", features = ["rwh_06"] }
wry = { version = "0.55.1", features = ["devtools", "fullscreen", "protocol"] }
dpi = "0.1"
image = "0.25.10"
[target.'cfg(not(any(target_os = "android", target_os = "freebsd")))'.dependencies]
rfd = "0.15.4"
muda = { version = "0.19.3", features = ["libxdo"] }
tray-icon = "0.24.1"
[target.'cfg(not(any(target_os = "android", target_os = "ios", target_os = "freebsd")))'.dependencies]
notify-rust = { version = "4.18.0", features = ["images_no_default_features"] }
tempfile = "3"
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "android", target_os = "ios", target_os = "freebsd"))))'.dependencies]
futures-lite = "2.6.1"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.52", features = [
"Win32_Foundation",
"Win32_System_Registry",
"Win32_UI_Controls",
"Win32_UI_WindowsAndMessaging",
] }
[patch.crates-io]
tao = { git = "https://github.com/webviewjs/tao", rev = "32c943587948455a34c1a7b5f6a7147ac44ec456" }
[build-dependencies]
napi-build = "2"
serde_json = "1"
[profile.release]
lto = true