mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 14:22:37 +03:00
f726a2075e
We were only using block_on from it, which we can call from the underlying async_io crate. Notably, removing async_std from the deps avoids async-global-executor being pulled in and spawning nproc threads that are never used by wezterm.
34 lines
759 B
TOML
34 lines
759 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 = "3.0"
|
|
zvariant = "3.6"
|
|
async-io = "1.10"
|
|
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"
|