#udp #network

nightly transit

Send and receive types over UDP packets. A feature-based serialization story, this crate must be compiled with a serialization feature to inform the crate what type of serialization is wanted.

3 releases (breaking)

Uses old Rust 2015

0.3.0 Sep 9, 2015
0.2.0 Sep 6, 2015
0.1.0 Aug 27, 2015

#43 in #udp

23 downloads per month

BSD-3-Clause

13KB
281 lines

Transit

Build Status

A UDP packet abstraction


lib.rs:

Transit - A transport layer library for Rust

Currently supporting only UDP, the idea is to create easy abstraction layers around transport protocols. Do not think about sending byte arrays around or handing sockets/file descriptors.

For serialization, Transit depends on the serde framework. Both JSON encoding and Msgpack encoding are supported through the use of features. Make sure to compile transit with either the json_serialization or the msgpack_serialization feature.

Dependencies

~150–450KB