mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 06:11:21 +01:00
build(protocol): add the komorebi-protocol crate skeleton
Add crates/komorebi-protocol (edition 2024, member of the root workspace) with empty modules message, platforms, types, animation and pathext. The client transport stays out of the crate (D16). Cargo.lock gains the new package only. Verified: native cargo build -p komorebi-protocol succeeds. Windows, KDE and macOS gates not run for this revision (no tree depends on the crate yet).
This commit is contained in:
1 parent
52b8d2df63
commit
280bbc668b
9 files changed
+63
No files matched your search
Generated
+16
@@ -3466,6 +3466,22 @@ dependencies = [
|
||||
"windows 0.62.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "komorebi-protocol"
|
||||
version = "0.1.42"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"color-eyre",
|
||||
"dirs 6.0.0",
|
||||
"komorebi-layouts",
|
||||
"komorebi-themes",
|
||||
"schemars 1.2.3",
|
||||
"serde",
|
||||
"serde_json_lenient",
|
||||
"serde_with",
|
||||
"strum",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "komorebi-scrolling"
|
||||
version = "0.1.42"
|
||||
|
||||
@@ -11,6 +11,7 @@ members = [
|
||||
"komorebic-no-console",
|
||||
"komorebi-bar",
|
||||
"komorebi-themes",
|
||||
"crates/komorebi-protocol",
|
||||
"komorebi-shortcuts",
|
||||
"e2e/guest/agent",
|
||||
"e2e/guest/testwin",
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
[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 }
|
||||
dirs = { 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"]
|
||||
@@ -0,0 +1 @@
|
||||
//! Placeholder: filled in by a later step 2 revision.
|
||||
@@ -0,0 +1,14 @@
|
||||
//! The wire types shared by every komorebi daemon and client.
|
||||
//!
|
||||
//! The crate holds no platform code: `SocketMessage` and the payload types it carries,
|
||||
//! the support table that says which platform handles which message, and the small
|
||||
//! leaf modules (`animation`, `pathext`) those payloads depend on. The socket
|
||||
//! transport is not part of it.
|
||||
#![warn(clippy::all)]
|
||||
#![allow(clippy::missing_errors_doc, clippy::use_self, clippy::doc_markdown)]
|
||||
|
||||
pub mod animation;
|
||||
pub mod message;
|
||||
pub mod pathext;
|
||||
pub mod platforms;
|
||||
pub mod types;
|
||||
@@ -0,0 +1 @@
|
||||
//! Placeholder: filled in by a later step 2 revision.
|
||||
@@ -0,0 +1 @@
|
||||
//! Placeholder: filled in by a later step 2 revision.
|
||||
@@ -0,0 +1 @@
|
||||
//! Placeholder: filled in by a later step 2 revision.
|
||||
@@ -0,0 +1 @@
|
||||
//! Placeholder: filled in by a later step 2 revision.
|
||||
Reference in new issue
Block a user