style(phantun) refactor out common functions and constants

This commit is contained in:
Datong Sun
2022-04-09 06:25:42 -07:00
parent 35f7b35ff5
commit d97a27778b
4 changed files with 33 additions and 46 deletions

5
phantun/src/lib.rs Normal file
View File

@@ -0,0 +1,5 @@
use std::time::Duration;
pub mod utils;
pub const UDP_TTL: Duration = Duration::from_secs(180);