mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-01 12:44:10 +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.
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[package]
|
|
name = "komorebi"
|
|
version.workspace = true
|
|
description = "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 daemon of each platform is a library (`komorebi-windows`, `komorebi-linux`, `komorebi-macos`) with a
|
|
# `daemon::run` that is the old main; this package is the one `komorebi` binary and calls the one of the
|
|
# target OS. A dependency key has one path, so each library has a key of its own.
|
|
|
|
[dependencies]
|
|
color-eyre = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
komorebi-windows = { package = "komorebi-windows", path = "../komorebi", default-features = false }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
komorebi-linux = { package = "komorebi-linux", path = "../komorebi-for-kde/komorebi", default-features = false }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
komorebi-macos = { package = "komorebi-macos", path = "../komorebi-for-mac/komorebi", default-features = false }
|
|
|
|
[features]
|
|
default = ["schemars"]
|
|
deadlock_detection = [
|
|
"komorebi-windows/deadlock_detection",
|
|
"komorebi-linux/deadlock_detection",
|
|
"komorebi-macos/deadlock_detection",
|
|
]
|
|
schemars = [
|
|
"komorebi-windows/schemars",
|
|
"komorebi-linux/schemars",
|
|
"komorebi-macos/schemars",
|
|
]
|
|
|
|
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
|
serde_json = { workspace = true }
|