Move some code from aquatic_udp into aquatic_common

This commit is contained in:
Joakim Frostegård 2020-05-11 17:06:37 +02:00
parent 1b8d74e26d
commit 5c83af9f88
10 changed files with 111 additions and 82 deletions

View file

@ -7,7 +7,7 @@ use indexmap::IndexMap;
use parking_lot::Mutex;
use mio::Token;
pub use aquatic_udp::common::ValidUntil;
pub use aquatic_common::ValidUntil;
use crate::protocol::*;

View file

@ -5,7 +5,7 @@ use hashbrown::HashMap;
use parking_lot::MutexGuard;
use rand::{Rng, SeedableRng, rngs::SmallRng};
use aquatic_udp::handlers::extract_response_peers;
use aquatic_common::extract_response_peers;
use crate::common::*;
use crate::protocol::*;