mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 15:18:40 +01:00
Delete komorebi-for-kde/komorebi/src/core/pathext.rs (identical to the crate's copy) and re-export komorebi_protocol::pathext from core, so every existing path keeps working. komorebi-protocol becomes a workspace dependency of komorebi-for-kde (schemars feature on); the crate no longer lists dirs (unused until the client moves), so the root Cargo.lock loses that edge. KDE's Cargo.lock gains komorebi-protocol and cargo re-resolved one windows-sys entry. Verified: cargo check --workspace --all-targets in komorebi-for-kde: 0 errors; cargo test -p komorebi --lib --test schemas: 305 + 5 passed, 0 failed. Full KDE workspace test run is done at the end of the stage.
27 lines
765 B
TOML
27 lines
765 B
TOML
[package]
|
|
name = "komorebi-protocol"
|
|
version = "0.1.42"
|
|
edition = "2024"
|
|
description = "The wire types shared by every komorebi daemon and client: SocketMessage and its payloads"
|
|
|
|
[dependencies]
|
|
komorebi-layouts = { path = "../../komorebi-layouts" }
|
|
komorebi-themes = { path = "../../komorebi-themes" }
|
|
|
|
clap = { workspace = true }
|
|
color-eyre = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_with = { version = "3.12", features = ["schemars_1"] }
|
|
strum = { workspace = true }
|
|
|
|
# Optional dependencies
|
|
schemars = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
schemars = { workspace = true }
|
|
|
|
[features]
|
|
default = ["schemars"]
|
|
schemars = ["dep:schemars", "komorebi-layouts/schemars", "komorebi-themes/schemars"]
|