mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 10:29:58 +02:00
refactor(core): split oversized runtime.rs into focused modules
Break the ~1.7k-line runtime orchestration unit into facade, share, receive, lifecycle, and provider modules so future send/receive work stays reviewable. Behavior and UniFFI surface are unchanged.
This commit is contained in:
@@ -12,7 +12,7 @@ the production API:
|
||||
- `handshake.rs`: malformed protocol response handling.
|
||||
- `limits.rs`: core-limit validation.
|
||||
- `repository.rs`: schema, persistence, and transition invariants.
|
||||
- `runtime.rs`: public error mapping and runtime orchestration.
|
||||
- `runtime.rs`: public error mapping and orchestration (mirrors `src/runtime/`).
|
||||
- `secret.rs`: node identity persistence and file permissions.
|
||||
- `ticket.rs`: ticket encoding, parsing, and metadata validation.
|
||||
- `transfer_state.rs`: persisted enum parsing and legal lifecycle transitions.
|
||||
|
||||
Reference in New Issue
Block a user