facet-xdr 0.32.3

XDR serialization and deserialization for Facet types
Documentation

facet-xdr

codecov crates.io documentation MIT/Apache-2.0 licensed Discord

facet-xdr

An XDR serializer and deserializer based on facet

Reference

XDR IDL Rust
int i32
unsigned int u32
enum Unit enum
bool bool
hyper i64
unsigned hyper u64
float f32
double f64
quadruple Not currently supported
opaque [n] [u8; N]
opaque<> Vec<u8> or &[u8]
string<> String
Fixed length array [n] [T; N]
Variable length array <> Vec<T> or &[T]
struct struct
union enum
void Unit struct or unit variant
* (optional-data) Option

Sponsors

Thanks to all individual sponsors:

...along with corporate sponsors:

...without whom this work could not exist.

Special thanks

The facet logo was drawn by Misiasart.

License

Licensed under either of:

at your option.