3 releases

Uses old Rust 2015

0.1.2 Mar 28, 2017
0.1.1 Jun 30, 2015
0.1.0 Jun 30, 2015

#92 in #dbus

25 downloads per month
Used in dbus-bytestream

LGPL-2.1

38KB
886 lines

dbus-serialize

This package aims to implement a set of standard types for representing D-Bus objects in Rust. Additionally, it contains utilities for converting between D-Bus objects and native Rust objects, particularly through supporting the Encoder and Decoder traits from rustc_serialize. Other packages could use these types as a standard basis for encoding D-Bus objects either directly into a bytestream, or through FFI with dbus_message_iter.


lib.rs:

Central to this crate is the Value enum. Value can be used to express any valid D-Bus data structure (and some invalid ones). Additionally, rustc_serialize can be used to convert from standard rust data types to Value, and vice-versa.

Dependencies

~225KB