bg bugfix

This commit is contained in:
yves committed 2026-11-20 23:48:30 +01:00
1 parent 7eace57528
commit c30fddb1ef
14 files changed
+3809 -12

No files matched your search

+4 -1
View File
@@ -12,12 +12,15 @@ no wire compatibility with the Go v1 stack.
```bash
scripts/check.sh # fmt --check, clippy -D warnings, cargo test --workspace
tests/e2e.sh # full CLI + 2 servers scenario; E2E_STORAGE=redis://... for Redis
scripts/ffi-test.sh # regenerate Dart bindings (flutter_rust_bridge 2.13.0) + Dart tests in ../bastet
```
## Rules
* `meow-core` does no I/O and takes time as a parameter. Keep it that way.
* No `unsafe` (except the future `meow-ffi`); no `unwrap`/`expect` in library code outside tests.
* No `unsafe` (except the generated `meow-ffi/src/frb_generated.rs`, never edited by hand); no
`unwrap`/`expect` in library code outside tests.
* `meow-ffi/src/api/` is the Dart API: after changing it, run `scripts/ffi-test.sh`.
* Persist ratchet/contact state **before** sending the resulting bytes.
* `proto/meow.proto` is the single wire schema (compiled by protox, no protoc needed). Bump/extend, never renumber.
* Never log keys, mailbox ids or message content at `info` level.