mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #659] [CLOSED] feat: add a rust client interface #1039
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/659
Author: @tardyp
Created: 2/7/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
104cb34feat: add a rust client interface📊 Changes
5 files changed (+158 additions, -0 deletions)
View changed files
📝
Cargo.lock(+2 -0)📝
komorebi-core/Cargo.toml(+2 -0)➕
komorebi-core/src/client.rs(+67 -0)📝
komorebi-core/src/lib.rs(+2 -0)➕
komorebi-core/src/state.rs(+85 -0)📄 Description
This allows to create a pure rust client without having to go via CLI
We also make the state data available in the core so that we can deserialize
My eventual goal is to make a topbar with the slint ui framework in pure rust, and make it easier to integrate with the komorebi state.
Probably there is a bit of cleanup to be merged, but I'd like to get your early feedback on wether this would be a goal to publish koromebi-core in crates.io
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.