mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
75066cb522
Main thing to note here is that the open crate has deprecated open::that_in_background, but made open::that non-blocking. I think this is OK, but I'm a little cagey about what will happen with this on Windows. We may need to spawn our own thread for this if things go awry.
34 lines
761 B
TOML
34 lines
761 B
TOML
[package]
|
|
name = "wezterm-toast-notification"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
open = "3.0"
|
|
log = "0.4"
|
|
|
|
[target.'cfg(all(not(windows), not(target_os="macos")))'.dependencies]
|
|
serde = {version="1.0", features = ["derive"]}
|
|
zbus = "2.0.0"
|
|
zvariant = "3.0"
|
|
async-std = "1.4"
|
|
futures-util = "0.3"
|
|
|
|
[target.'cfg(target_os="macos")'.dependencies]
|
|
cocoa = "0.20"
|
|
core-foundation = "0.7"
|
|
objc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { version="0.33.0", features = [
|
|
"Data_Xml_Dom",
|
|
"Foundation",
|
|
"UI_Notifications",
|
|
"Win32_Foundation",
|
|
]}
|
|
xml-rs = "0.8"
|