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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#![deny(missing_docs)]
#![cfg_attr(feature = "clippy", feature(plugin))]
#![cfg_attr(feature = "clippy", plugin(clippy))]
#![cfg_attr(feature = "nightly", feature(test))]
#![cfg_attr(
feature = "clippy",
allow(
len_without_is_empty,
doc_markdown,
needless_return,
cast_ptr_alignment,
)
)]
#[macro_use]
extern crate log;
pub use socket::BufferedUtpStream;
pub use socket::UtpSocketRef as UtpSocket;
pub use socket::UtpStream;
pub use socket::UtpStreamDriver;
mod bit_iterator;
mod error;
mod packet;
mod socket;
mod time;
mod util;