19 releases

Uses new Rust 2024

new 0.1.19 Jul 3, 2025
0.1.18 Jun 30, 2025
0.1.10 May 31, 2025

#2945 in Encoding

Download history 249/week @ 2025-05-12 384/week @ 2025-05-19 421/week @ 2025-05-26 517/week @ 2025-06-02 88/week @ 2025-06-09 187/week @ 2025-06-16 142/week @ 2025-06-23 244/week @ 2025-06-30

678 downloads per month

MIT/Apache

780KB
16K SLoC

Facet logo - a reflection library for Rust

Coverage Status free of syn 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.

Dependencies

~380KB