1 #![warn(rust_2018_idioms)] 2 #![allow(dead_code)] 3 4 #[macro_use] 5 extern crate lazy_static; 6 7 pub mod addr; 8 pub mod agent; 9 pub mod attributes; 10 pub mod checks; 11 pub mod client; 12 mod error; 13 pub mod error_code; 14 pub mod fingerprint; 15 pub mod integrity; 16 pub mod message; 17 pub mod textattrs; 18 pub mod uattrs; 19 pub mod uri; 20 pub mod xoraddr; 21 22 // IANA assigned ports for "stun" protocol. 23 pub const DEFAULT_PORT: u16 = 3478; 24 pub const DEFAULT_TLS_PORT: u16 = 5349; 25 26 pub use error::Error; 27