Files
Wez Furlong edcdefda3b workspace-ify the deps
There have been a couple of attempts at this in the past, which
had some usability warts in what I recall as an earlier, less
useful set of features overall.

Whether that was collective misunderstanding at the time, or things
have gotten better since then, now is a good time to adopt the workspace
dep syntax, because wezterm has many crates to keep on top of, and
automation like dependabot can't see a lot of them.

This will help to manage the versions of deps in wezterm centrally.

Let's try this out in CI: the Cargo.lock changes here are minimal
(eliminated a second version of base64 from one crate, terminal_size
from another, and removed an explicit dep on serde_derive) so
hopefully this sails through on !linux.

closes: https://github.com/wezterm/wezterm/pull/6668
2025-02-12 09:43:36 -07:00

37 lines
974 B
TOML

[package]
name = "wezterm-toast-notification"
version = "0.1.0"
authors = ["Wez Furlong <wez@wezfurlong.org>"]
edition = "2018"
build = "build.rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log.workspace = true
wezterm-open-url.workspace = true
[target.'cfg(all(not(windows), not(target_os="macos")))'.dependencies]
async-io.workspace = true
futures-util.workspace = true
serde = {workspace=true, features = ["derive"]}
zbus.workspace = true
zvariant.workspace = true
[target.'cfg(target_os="macos")'.dependencies]
block2.workspace = true
objc2.workspace = true
objc2-user-notifications.workspace = true
objc2-foundation.workspace = true
uuid = { workspace=true, features=["v4", "fast-rng"] }
[target.'cfg(windows)'.dependencies]
windows = { workspace=true, features = [
"Data_Xml_Dom",
"Foundation",
"UI_Notifications",
"Win32_Foundation",
]}
xml-rs.workspace = true