facet-xdr

Crates.iofacet-xdr
lib.rsfacet-xdr
version0.28.0
created_at2025-05-13 10:31:37.679939+00
updated_at2025-07-25 12:51:46.013781+00
descriptionXDR serialization and deserialization for Facet types
homepage
repositoryhttps://github.com/facet-rs/facet-xdr
max_upload_size
id1671692
size49,089
Amos Wenger (fasterthanlime)

documentation

README

Facet logo - a reflection library for Rust

Coverage Status crates.io documentation MIT/Apache-2.0 licensed Discord

Logo by Misiasart

Thanks to all individual and corporate sponsors, without whom this work could not exist:

Ko-fi GitHub Sponsors Patreon Zed Depot

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

License

Licensed under either of:

at your option.

Commit count: 0

cargo fmt