Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Document Ensu packaging paths

Manav Rathi80f45d290085
diff --git a/rust/ensu/README.md b/rust/ensu/README.md
index c02377b078..89f7f82f2d 100644
--- a/rust/ensu/README.md
+++ b/rust/ensu/README.md
@@ -2,6 +2,8 @@
This directory contains the Rust crates for the Ensu LLM chat stack.
+For the current Ensu packaging map, see [`packaging.md`](packaging.md).
+
## Crates
- `db/` (`ensu-db`) β€” local chat database.
diff --git a/rust/ensu/packaging.md b/rust/ensu/packaging.md
new file mode 100644
index 0000000000..ec7f281a5b
--- /dev/null
+++ b/rust/ensu/packaging.md
@@ -0,0 +1,33 @@
+# Ensu Packaging
+
+A map of Ensu related paths in the monorepo.
+
+## Apps
+
+- Web: `web/apps/ensu`
+- Desktop: `rust/apps/ensu/src-tauri`, which wraps `web/apps/ensu`
+- Android native: `mobile/native/android/apps/ensu`
+- Apple native: `mobile/native/darwin/Apps/ensu`
+
+## Rust crates
+
+Core rust crate is in `rust/core`.
+
+Ensu specific Rust crates are in `rust/ensu`
+- Local chat database: `rust/ensu/db`
+- Sync engine: `rust/ensu/sync`
+- Inference runtime: `rust/ensu/inference`
+
+## Adapter/Binding layers
+
+Web app depends on shared WASM bindings at `web/packages/wasm`.
+
+Android and Apple native apps use UniFFI + adapters.
+- Core UniFFI bindings: `rust/uniffi/core`
+- Ensu UniFFI bindings: `rust/uniffi/ensu`
+
+## Native packaging layers
+
+- Android: `mobile/native/android/packages/rust`
+- Apple (`core`, `db`, `sync`): `mobile/native/darwin/Apps/ensu`
+- Apple (`inference`): `mobile/native/darwin/Packages/Rust`