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.
36 lines
1.2 KiB
TOML
36 lines
1.2 KiB
TOML
[package]
|
|
name = "komorebi-client"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
# One dependency key has one path, so the daemon of each platform has a key of its own, and the module of
|
|
# the platform names it (`use crate::komorebi_linux as komorebi`).
|
|
|
|
[dependencies]
|
|
serde_json = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
komorebi = { package = "komorebi-windows", path = "../komorebi", default-features = false }
|
|
uds_windows = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
komorebi-linux = { package = "komorebi-linux", path = "../komorebi-for-kde/komorebi", default-features = false }
|
|
komorebi-themes = { path = "../komorebi-themes" }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
komorebi-macos = { package = "komorebi-macos", path = "../komorebi-for-mac/komorebi", default-features = false }
|
|
komorebi-themes = { path = "../komorebi-themes" }
|
|
|
|
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
|
parking_lot = "0.13"
|
|
|
|
[features]
|
|
default = ["schemars"]
|
|
schemars = [
|
|
"komorebi/default",
|
|
"komorebi-linux/default",
|
|
"komorebi-macos/default",
|
|
]
|