mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
rename crate "bittorrent_udp" to "aquatic_udp_protocol"
This commit is contained in:
parent
abc0034a45
commit
bc4ada104d
22 changed files with 46 additions and 48 deletions
|
|
@ -5,7 +5,7 @@ use hashbrown::HashMap;
|
|||
use parking_lot::Mutex;
|
||||
use serde::{Serialize, Deserialize};
|
||||
|
||||
use bittorrent_udp::types::*;
|
||||
use aquatic_udp_protocol::types::*;
|
||||
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ use rand::distributions::WeightedIndex;
|
|||
use rand::prelude::*;
|
||||
use rand_distr::Pareto;
|
||||
|
||||
use bittorrent_udp::types::*;
|
||||
use aquatic_udp_protocol::types::*;
|
||||
|
||||
use crate::common::*;
|
||||
use crate::utils::*;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ use crossbeam_channel::{Receiver, Sender};
|
|||
use mio::{net::UdpSocket, Events, Poll, Interest, Token};
|
||||
use socket2::{Socket, Domain, Type, Protocol};
|
||||
|
||||
use bittorrent_udp::converters::*;
|
||||
use bittorrent_udp::types::*;
|
||||
use aquatic_udp_protocol::converters::*;
|
||||
use aquatic_udp_protocol::types::*;
|
||||
|
||||
use crate::common::*;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use std::sync::Arc;
|
|||
use rand_distr::{Standard, Pareto};
|
||||
use rand::prelude::*;
|
||||
|
||||
use bittorrent_udp::types::*;
|
||||
use aquatic_udp_protocol::types::*;
|
||||
|
||||
use crate::common::*;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue