kcprs/
lib.rs

1//! [KCP](https://github.com/skywind3000/kcp) implementation in Rust.
2//!
3//! A Fast and Reliable ARQ Protocol
4
5extern crate bytes;
6#[macro_use]
7extern crate log;
8
9mod error;
10mod kcp;
11
12/// The `KCP` prelude
13pub mod prelude {
14    pub use super::{get_conv, Kcp};
15}
16
17pub use error::Error;
18pub use kcp::{get_conv, set_conv, Kcp};
19
20/// KCP result
21pub type KcpResult<T> = Result<T, Error>;