mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-05 06:26:30 +01:00
Pure move of the two files of the bar that depend on nothing else in it, byte-identical in the Windows and macOS bars (selected_frame.rs since the previous revision). Each bar keeps its paths: main.rs re-exports the modules (pub use komorebi_bar_core::selected_frame / ui), so every crate::selected_frame::... and crate::ui::... in the widgets and bar.rs resolves as before. The crate takes eframe from the workspace; the macOS bar takes the crate by path. Removed: 111 lines (89 + 22) from each of the two bars, 111 added once. Verified: Windows cargo clippy --workspace --locked --all-targets -D warnings clean; macOS fake-CC cargo check --locked --workspace --all-targets finished, 0 errors (bar warnings 10 -> 6, the four strokes of the previous revision); native cargo test -p komorebi-bar-core 2 passed, 0 failed; harness schema regeneration (S/bar2/regen.sh): macOS byte-identical to its schema.bar.json (3,774 lines), Windows byte-identical to the regenerated schema.bar.json (9,090 lines). Not verified: rendering.
57 lines
1.9 KiB
TOML
57 lines
1.9 KiB
TOML
[package]
|
|
name = "komorebi-bar"
|
|
version = "0.1.42"
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
komorebi-bar-core = { path = "../crates/komorebi-bar-core" }
|
|
komorebi-client = { path = "../komorebi-client", default-features = false }
|
|
komorebi-themes = { path = "../komorebi-themes", default-features = false }
|
|
|
|
chrono-tz = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true }
|
|
color-eyre = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
dirs = { workspace = true }
|
|
dunce = { workspace = true }
|
|
eframe = { workspace = true }
|
|
egui-phosphor = { git = "https://github.com/amPerl/egui-phosphor", rev = "d13688738478ecd12b426e3e74c59d6577a85b59" }
|
|
egui_extras = { workspace = true }
|
|
font-loader = "0.11"
|
|
hotwatch = { workspace = true }
|
|
image = "0.25"
|
|
lazy_static = { workspace = true }
|
|
netdev = "0.46"
|
|
num = "0.4"
|
|
num-derive = "0.4"
|
|
num-traits = "0.2"
|
|
parking_lot = { workspace = true }
|
|
regex = "1"
|
|
random_word = { version = "0.5", features = ["en"] }
|
|
reqwest = { version = "0.12", features = ["blocking"] }
|
|
schemars = { workspace = true, optional = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
starship-battery = "0.11"
|
|
sysinfo = { workspace = true }
|
|
systray-util = "0.2.0"
|
|
tokio = { version = "1", features = ["rt", "sync", "time"] }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
which = { workspace = true }
|
|
windows = { workspace = true }
|
|
windows-core = { workspace = true }
|
|
windows-icons = { git = "https://github.com/LGUG2Z/windows-icons", rev = "0c9d7ee1b807347c507d3a9862dd007b4d3f4354" }
|
|
windows-icons-fallback = { package = "windows-icons", git = "https://github.com/LGUG2Z/windows-icons", rev = "d67cc9920aa9b4883393e411fb4fa2ddd4c498b5" }
|
|
|
|
[features]
|
|
default = ["schemars"]
|
|
schemars = [
|
|
"dep:schemars",
|
|
"komorebi-client/default",
|
|
"komorebi-themes/default",
|
|
]
|