breadbar/Cargo.toml
Breadway 175af5d483
Some checks failed
dev release / build (push) Failing after 2s
Will change this commit message to mean something later
2026-07-22 19:53:51 +08:00

45 lines
2.2 KiB
TOML

[package]
name = "breadbar"
version = "0.3.0"
edition = "2021"
description = "Minimal status bar and notification daemon for Hyprland on Wayland"
license = "MIT"
authors = ["Breadway <plasticbread849@gmail.com>"]
repository = "https://git.breadway.dev/Breadway/breadbar"
keywords = ["wayland", "hyprland", "bar", "status-bar", "gtk4"]
categories = ["gui"]
[dependencies]
bread-theme = { git = "https://github.com/Breadway/bread-ecosystem", tag = "v0.2.10", features = ["gtk"] }
# Widget rendering client: bread-utils::BreadClient (emit/request/subscribe)
# for talking to breadd's IPC socket, and bread-shared purely for the
# WidgetSpec/WidgetNode wire types so we deserialize into real structs
# instead of hand-parsing serde_json::Value. See src/widgets/.
bread-utils = { git = "https://git.breadway.dev/Breadway/bread-ecosystem", tag = "v0.3.1", features = ["bread-client"] }
bread-shared = { git = "https://git.breadway.dev/Breadway/bread", tag = "v0.7.0" }
gtk4 = { version = "0.11", features = ["v4_12"] }
gtk4-layer-shell = "0.8"
relm4 = { version = "0.11", features = ["macros"] }
hyprland = { version = "0.4.0-beta.3", features = ["tokio"] }
futures-lite = "2"
zbus = { version = "5", default-features = false, features = ["tokio"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "process", "signal", "sync"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Pure-Rust SVG rasteriser (default features off → no text/font deps; the icons
# are vector-only). Needed because librsvg dropped its gdk-pixbuf SVG loader.
resvg = { version = "0.44", default-features = false }
# TEMPORARY local-dev override: the widget feature's bread-shared/bread-utils
# changes aren't tagged/released yet, so point the git deps above at the
# local checkouts instead. Remove this section (and bump the tags above)
# once bread-ecosystem and bread have real release tags for this work.
[patch."https://git.breadway.dev/Breadway/bread-ecosystem"]
bread-utils = { path = "../bread-ecosystem/bread-utils" }
[patch."https://git.breadway.dev/Breadway/bread"]
bread-shared = { path = "../bread/bread-shared" }
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"