Files
komorebi/komorebic/Cargo.toml
T
LGUG2Z 87fb8340d0 chore(repo): one workspace version, 0.2.0
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.
2026-11-05 15:03:27 -08:00

68 lines
2.3 KiB
TOML

[package]
name = "komorebic"
version.workspace = true
description = "The command-line interface for Komorebi, a tiling window manager for Windows, KDE Plasma and macOS"
repository = "https://github.com/LGUG2Z/komorebi"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# The dependencies of each platform are in its own table, so that a build for one target compiles
# nothing of the others. A dependency key can only have one path, so the Linux and macOS crates
# are renamed (`komorebi-client-linux`, ...) and main.rs gives them the names the modules use.
[dependencies]
komorebi-client = { path = "../komorebi-client", default-features = false }
komorebi-config = { path = "../crates/komorebi-config", default-features = false }
komorebic-core = { path = "../crates/komorebic-core" }
chrono = { workspace = true }
clap = { workspace = true }
color-eyre = { workspace = true }
dirs = { workspace = true }
fs-tail = "0.1"
lazy_static = { workspace = true }
schemars = { workspace = true, optional = true }
serde_json = { workspace = true }
[target.'cfg(windows)'.dependencies]
dunce = { workspace = true }
miette = { version = "7", features = ["fancy"] }
open = "5"
powershell_script = "1.0"
reqwest = { version = "0.12", features = ["blocking"] }
serde = { workspace = true }
shadow-rs = { workspace = true }
sysinfo = { workspace = true }
thiserror = "2"
which = { workspace = true }
win-msgbox = "0.2"
windows = { workspace = true }
[target.'cfg(target_os = "linux")'.dependencies]
komorebi-linux = { package = "komorebi-linux", path = "../komorebi-for-kde/komorebi", default-features = false }
komorebi-hotkeys = { path = "../komorebi-for-kde/komorebi-hotkeys" }
version-linux = { package = "version-linux", path = "../komorebi-for-kde/version" }
clap_complete = "4"
sysinfo = "0.40"
[target.'cfg(target_os = "macos")'.dependencies]
version-macos = { package = "version-macos", path = "../komorebi-for-mac/version" }
clap_complete = "4"
reqwest = { version = "0.12", features = ["blocking"] }
sysinfo = "0.38"
[build-dependencies]
shadow-rs = { workspace = true }
[features]
default = ["schemars"]
schemars = [
"dep:schemars",
"komorebi-client/default",
"komorebi-config/schemars",
]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] }