feat: scaffold Rabby Rust Tauri terminal
test / core (push) Successful in 1m55s

This commit is contained in:
Tom You
2026-07-06 10:44:47 +00:00
commit 04ef2fe57d
21 changed files with 9460 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
use rabby_core::Workspace;
use serde::Serialize;
#[derive(Serialize)]
struct FeatureRow {
feature: &'static str,
detail: &'static str,
}
#[tauri::command]
fn workspace_summary() -> Vec<FeatureRow> {
Workspace::feature_matrix()
.into_iter()
.map(|(feature, detail)| FeatureRow { feature, detail })
.collect()
}
fn main() {
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![workspace_summary])
.run(tauri::generate_context!())
.expect("failed to run Rabby Tauri application");
}