feat(fapp): add FappRouter for mesh integration

New fapp_router.rs module:
- FappAction enum (Ignore, Dropped, Forward, QueryResponse)
- Wire format: 1-byte tag (0x01-0x05) + CBOR body
- FappRouter with shared RoutingTable and TransportManager
- handle_incoming() decodes and dispatches FAPP frames
- process_slot_announce() with relay/flood logic
- process_slot_query() answers from local FappStore
- broadcast_announce() / send_query() for outbound floods
- drain_pending_sends() for async send integration
- 3 unit tests

Also fixed borrow checker issue in FappStore::store
This commit is contained in:
2026-04-01 07:47:33 +02:00
parent 0b3d5c5100
commit 65ce5aec18
3 changed files with 346 additions and 11 deletions

View File

@@ -16,6 +16,7 @@ pub mod address;
pub mod announce;
pub mod announce_protocol;
pub mod fapp;
pub mod fapp_router;
pub mod broadcast;
pub mod envelope;
pub mod envelope_v2;