π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
docs(rust): update README to reflect current rust-core-impl state
Prateek Sunal0b7ecafe5a06
diff --git a/rust/README.md b/rust/README.mdindex 9bd0e3e3b0..ddf6c3d051 100644--- a/rust/README.md+++ b/rust/README.md@@ -38,24 +38,55 @@βββββββββββββββββββββββββββββ```-## Contents (this repo)--- `rust/core/` (`ente-core`) - shared, pure Rust code used by clients (crypto + auth, plus small HTTP/URL helpers).-- `rust/cli/` - Rust CLI (work-in-progress).-## Directory Structure+Rust crates live under `rust/`.+```rust/βββ cli/ # CLI packageβ βββ src/-β βββ Cargo.toml-βββ core/ # Pure Rust business logic+β β βββ main.rs+β βββ Cargo.toml+β βββ Cargo.lock+β+βββ core/ # Pure Rust shared logicβββ src/βββ docs/βββ Cargo.toml # crate name: ente-core```+Related integrations (outside this folder):++- `web/packages/wasm/` - WASM bindings around `ente-core` (`ente-wasm`)+- `mobile/packages/rust/` - Flutter Rust Bridge bindings around `ente-core` (`ente_rust`)+- `mobile/apps/photos/rust/` - Photos app-specific Rust crate (`ente_photos_rust`)++## Crates++- `ente-core` (`rust/core`) - shared crypto + auth helpers+ - Docs:+ - `rust/core/docs/crypto.md`+ - `rust/core/docs/auth.md`+- `ente-rs` (`rust/cli`) - Rust CLI+- `ente-wasm` (`web/packages/wasm`) - wasm-bindgen wrapper for web+- `ente_rust` (`mobile/packages/rust`) - shared FRB wrapper for mobile+- `ente_photos_rust` (`mobile/apps/photos/rust`) - Photos-specific FRB crate++## Tooling++### wasm-bindgen++`#[wasm_bindgen]` exports Rust APIs to JavaScript and handles type conversions.++### wasm-pack++Build helper for WASM crates. In this repo itβs used via the web workspace scripts.++### Flutter Rust Bridge (FRB)++Used for Flutter integration. The FRB crates wrap `ente-core` and generate Dart bindings.+## Development**ente-core (rust/core/):**@@ -67,4 +98,9 @@ cargo buildcargo test```-See `rust/core/README.md` for module docs.+**ente-rs (rust/cli/):**++```sh+cargo test+cargo run -- --help+```