diff --git a/API.md b/API.md index d6e6c9d9f..556080415 100644 --- a/API.md +++ b/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