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
// extern crate rand;
extern crate byteorder;
#[macro_use]
extern crate derivative;

mod endpoint;
mod mod_ord;
mod helper;

/// Provided some example functions that can be passed as the resend_predicate of
/// a customized EndpointConfig. Feel free to use your own functions.
pub mod resend_predicates;

pub use helper::{
	Guarantee,
	EndpointConfig,
	UdpLike,
	Sender,
	NewSetUnsent,
};

pub use endpoint::{
	Endpoint,
	SetSender,
};

////////////////////////////////////////////////////////////////
#[cfg(test)]
extern crate serde;

#[cfg(test)]
#[macro_use]
extern crate serde_derive;

#[cfg(test)]
extern crate bincode;

#[cfg(test)]
extern crate mio;

#[cfg(test)]
mod tests;