rename crate "bittorrent_udp" to "aquatic_udp_protocol"

This commit is contained in:
Joakim Frostegård 2020-05-25 19:21:52 +02:00
parent abc0034a45
commit bc4ada104d
22 changed files with 46 additions and 48 deletions

View file

@ -10,7 +10,7 @@ name = "aquatic_udp_load_test"
[dependencies]
anyhow = "1"
bittorrent_udp = { path = "../bittorrent_udp" }
aquatic_udp_protocol = { path = "../aquatic_udp_protocol" }
cli_helpers = { path = "../cli_helpers" }
crossbeam-channel = "0.4"
hashbrown = "0.7"

View file

@ -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)]

View file

@ -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::*;

View file

@ -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::*;

View file

@ -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::*;