mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 07:08:48 +01:00
version-linux (komorebi-for-kde/version, shadow-rs 2) and version-macos (komorebi-for-mac/version, shadow-rs 1) had the same build.rs and the same lib.rs. They are now one package, crates/komorebi-version (lib name version, shadow-rs from the workspace), and the KDE and macOS daemons, their command lines and the unified komorebic depend on it under the key version. The extern crate lines of komorebic/src/main.rs that renamed the two crates are gone, and the two deny.toml clarify entries name the new package. komorebi-daemon/tests/linux_version.rs read the version out of the old crate's Cargo.toml text, which no longer has a number (it is inherited); it now expects the package version, which is the workspace version. Verified: cargo test -p komorebi -p komorebic -p komorebi-client -p komorebi-linux (KDE side, native Linux) all pass, including the version test; cargo check --target aarch64-apple-darwin of the macOS packages with the fake C compiler passes. Windows and nix were not run for this revision (Windows does not use the crate; nix runs at the end of the stack).
15 lines
291 B
TOML
15 lines
291 B
TOML
[package]
|
|
name = "komorebi-version"
|
|
description = "The version string that the Linux and macOS komorebi binaries report"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
shadow-rs = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
shadow-rs = { workspace = true }
|
|
|
|
[lib]
|
|
name = "version"
|