mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
link to rkyv & bincode in API.md
This commit is contained in:
parent
cd9a1a90ff
commit
5b0ecb6d27
1 changed files with 4 additions and 0 deletions
4
API.md
4
API.md
|
|
@ -1,6 +1,10 @@
|
|||
|
||||
## Xous Messaging API In Practice
|
||||
|
||||
All Messages passed between Xous Servers undergo serialization and de-serialization.
|
||||
- Internal `struct` are readily serialized with [rkyv](https://docs.rs/rkyv/0.7.37/rkyv/) and `#[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)]`with manual serialization as an alternative ([example](services/net/src/std_udp.rs))
|
||||
- External `struct` may employ [bincode](https://docs.rs/bincode/latest/bincode/)
|
||||
|
||||
Here are the idioms for building servers and passing messages.
|
||||
|
||||
### api.rs
|
||||
|
|
|
|||
Loading…
Reference in a new issue