Crates.io | facet-xdr |
lib.rs | facet-xdr |
version | 0.28.0 |
created_at | 2025-05-13 10:31:37.679939+00 |
updated_at | 2025-07-25 12:51:46.013781+00 |
description | XDR serialization and deserialization for Facet types |
homepage | |
repository | https://github.com/facet-rs/facet-xdr |
max_upload_size | |
id | 1671692 |
size | 49,089 |
Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
An XDR serializer and deserializer based on facet
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 |
Licensed under either of:
at your option.