1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! Implementation of the RSocket protocol.
#![warn(missing_docs)]
#![warn(missing_debug_implementations)]
#![allow(dead_code)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[macro_use]
extern crate bitflags;

#[macro_use]
#[doc(hidden)]
pub mod macros;

pub mod connection;

cfg_frame! {
    pub mod frame;
}

cfg_not_frame! {
    mod frame;
}

pub mod mimetype;
pub mod prelude;

mod error;
pub use error::{Code, Error, Result};

mod rsocket;
pub use rsocket::{Flux, Mono, RSocket};