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
+14
View File
@@ -0,0 +1,14 @@
[package]
name = "rabby"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
rabby-core = { path = "../rabby-core" }
serde = { version = "1", features = ["derive"] }
tauri = { version = "2", features = [] }
+3
View File
@@ -0,0 +1,3 @@
fn main() {
tauri_build::build();
}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+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");
}
+14
View File
@@ -0,0 +1,14 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Rabby",
"version": "0.1.0",
"identifier": "com.thetomyou.rabby",
"build": { "frontendDist": "../ui" },
"app": {
"windows": [
{ "title": "Rabby", "width": 1240, "height": 760, "minWidth": 960, "minHeight": 620 }
],
"security": { "csp": null }
},
"bundle": { "active": true, "targets": "all" }
}