rifts 0.2.0

Rift Realtime Protocol / 1.0 โ€” server-side implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Codec layer โ€” pluggable payload encoders/decoders.
//!
//! A `Codec` takes the application-level data and turns it into bytes
//! (for transmission) or vice versa. Spec ยง7 lists the supported
//! encodings.

pub mod cbor;
#[allow(clippy::module_inception)]
pub mod codec;
pub mod json;

pub use cbor::CborCodec;
pub use codec::{Codec, negotiate};
pub use json::JsonCodec;