@@ -77,7 +77,7 @@ Lith Studio provides a visual interface:
7777----
7878┌─────────────────────────────────────────────────────────────┐
7979│ Lith Studio (This Project) │
80- │ ├── Tauri 2.0 (Rust) - Cross-platform desktop app │
80+ │ ├── Gossamer (Rust) - Cross-platform desktop app │
8181│ ├── ReScript UI - Type-safe reactive interface │
8282│ └── Visual builders for schemas, queries, data entry, │
8383│ and schema normalization │
@@ -174,8 +174,8 @@ See https://github.com/hyperpolymath/lithoglyph/blob/main/spec/self-normalizing.
174174| Component | Technology | Rationale
175175
176176| Desktop App
177- | Tauri 2.0
178- | Cross-platform (Mac, Windows, Linux), Rust backend
177+ | Gossamer
178+ | Cross-platform (Mac, Windows, Linux), Rust backend via gossamer-rs
179179
180180| Frontend UI
181181| ReScript
@@ -212,9 +212,9 @@ See https://github.com/hyperpolymath/lithoglyph/blob/main/spec/self-normalizing.
212212| 18+ (for npm/npx)
213213| https://nodejs.org/ or `asdf install nodejs 20.10.0`
214214
215- | Tauri CLI
216- | 2.x
217- | `cargo install tauri-cli`
215+ | Gossamer
216+ | 0.1+
217+ | Built from `gossamer/bindings/rust` (path dependency)
218218|===
219219
220220==== Linux-Specific Dependencies
@@ -258,10 +258,10 @@ npx rescript build
258258npx esbuild src/App.res.js --bundle --outfile=dist/app.js
259259
260260# Development mode (hot reload)
261- cd src-tauri && cargo tauri dev
261+ cargo run
262262
263263# Build for production
264- cd src-tauri && cargo tauri build
264+ cargo build --release
265265----
266266
267267=== Quick Start (TL;DR)
@@ -270,39 +270,31 @@ cd src-tauri && cargo tauri build
270270----
271271npm install && npx rescript build && \
272272npx esbuild src/App.res.js --bundle --outfile=dist/app.js && \
273- cd src-tauri && cargo tauri dev
273+ cargo run
274274----
275275
276276=== Build Outputs
277277
278- After `cargo tauri build`:
278+ After `cargo build --release `:
279279
280280[cols="1,2"]
281281|===
282282| Format | Location
283283
284284| Binary
285- | `src-tauri/target/release/lithoglyph-studio`
286-
287- | Debian package
288- | `src-tauri/target/release/bundle/deb/Lith Studio_*.deb`
289-
290- | RPM package
291- | `src-tauri/target/release/bundle/rpm/Lith Studio-*.rpm`
285+ | `target/release/lithoglyph-studio`
292286|===
293287
294288=== Project Structure
295289
296290[source,text]
297291----
298292lithoglyph-studio/
299- ├── src-tauri/ # Rust backend (Tauri 2.0)
300- │ ├── src/
301- │ │ └── main.rs # Entry point + all Tauri commands
302- │ ├── icons/ # App icons (indigo theme)
303- │ ├── Cargo.toml # Rust dependencies
304- │ └── tauri.conf.json # Tauri configuration
305- ├── src/ # ReScript frontend
293+ ├── Cargo.toml # Rust dependencies (gossamer-rs path dep)
294+ ├── gossamer.conf.json # Gossamer configuration
295+ ├── src/ # ReScript frontend + Gossamer backend
296+ │ ├── backend/
297+ │ │ └── main.rs # Entry point + all Gossamer command handlers
306298│ ├── App.res # Main app with navigation
307299│ ├── Types.res # Shared type definitions
308300│ ├── SchemaBuilder.res # Collection creator UI
0 commit comments