mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-01 04:34:11 +01:00
Every package of the workspace now takes its version from [workspace.package] (version.workspace = true) instead of its own number. The numbers before were 0.1.42 (Windows libraries and packages), 0.1.0 (KDE, the macOS version crate, komorebi-shortcuts and the e2e guest crates) and 0.1.1 (macOS libraries); the unified release is 0.2.0 for all of them. Cargo.lock only changes the version of the workspace's own packages. Not changed here: the version text in schema doc comments and the generated schemas (next revision), and the shim packages, which are deleted later and only pick up the number meanwhile. Verified: cargo metadata --offline --locked succeeds.
80 lines
2.8 KiB
TOML
80 lines
2.8 KiB
TOML
[package]
|
|
name = "komorebi-bar"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
# What both platforms use is in [dependencies]; what only one uses, or uses in another version or with other
|
|
# features, is in the table of its target OS, so that a build for one compiles nothing of the other.
|
|
|
|
[dependencies]
|
|
komorebi-bar-core = { path = "../crates/komorebi-bar-core", default-features = false }
|
|
komorebi-client = { path = "../komorebi-client", 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" }
|
|
font-loader = "0.11"
|
|
hotwatch = { workspace = true }
|
|
image = "0.25"
|
|
lazy_static = { workspace = true }
|
|
num = "0.4"
|
|
num-derive = "0.4"
|
|
num-traits = "0.2"
|
|
parking_lot = { workspace = true }
|
|
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 }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
komorebi-themes = { path = "../komorebi-themes", default-features = false }
|
|
egui_extras = { workspace = true }
|
|
# a second renderer, wgpu (Direct3D 12, which has the software adapter WARP), for a machine where OpenGL 2.0 is not
|
|
# there; glow stays the first (see `renderer_attempts` in windows/mod.rs). Windows only: the macOS bar has no use for it
|
|
eframe = { workspace = true, features = ["wgpu"] }
|
|
netdev = "0.46"
|
|
regex = "1"
|
|
sysinfo = { workspace = true }
|
|
systray-util = "0.2.0"
|
|
tokio = { version = "1", features = ["rt", "sync", "time"] }
|
|
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" }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
komorebi-themes = { path = "../komorebi-themes" }
|
|
icns = "0.4"
|
|
netdev = "0.40"
|
|
objc2 = { version = "0.6", default-features = false, features = ["std"] }
|
|
objc2-app-kit = { version = "0.3", default-features = false, features = [
|
|
"std",
|
|
"NSApplication",
|
|
"NSResponder",
|
|
"NSView",
|
|
"NSWindow",
|
|
] }
|
|
raw-window-handle = "0.6"
|
|
sysinfo = "0.38"
|
|
|
|
[features]
|
|
default = ["schemars"]
|
|
schemars = [
|
|
"dep:schemars",
|
|
"komorebi-bar-core/schemars",
|
|
"komorebi-client/default",
|
|
"komorebi-themes/default",
|
|
]
|