mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
Run cargo fmt
This commit is contained in:
parent
8f0dabc706
commit
17412868b9
11 changed files with 73 additions and 63 deletions
|
|
@ -2,14 +2,14 @@ use std::collections::BTreeMap;
|
|||
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
|
||||
|
||||
use either::Either;
|
||||
use rand::{Rng};
|
||||
use rand::Rng;
|
||||
|
||||
use aquatic_common::extract_response_peers;
|
||||
use aquatic_http_protocol::request::*;
|
||||
use aquatic_http_protocol::response::*;
|
||||
|
||||
use crate::config::Config;
|
||||
use super::*;
|
||||
use crate::config::Config;
|
||||
|
||||
pub fn handle_announce_request(
|
||||
config: &Config,
|
||||
|
|
@ -215,4 +215,3 @@ pub fn handle_scrape_request(
|
|||
|
||||
response
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue