File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version = "0.8.0"
44description = " Pocket Relay Server"
55readme = " README.md"
66keywords = [" EA" , " PocketRelay" , " MassEffect" ]
7- edition = " 2021 "
7+ edition = " 2024 "
88license = " MIT"
99authors = [" Jacobtread <jacobtread@gmail.com>" ]
1010repository = " https://github.com/PocketRelay/Server"
Original file line number Diff line number Diff line change 11//! Router implementation for routing packet components to different functions
22//! and automatically decoding the packet contents to the function type
33
4- use super :: { models:: errors:: BlazeError , packet:: Packet , SessionLink } ;
4+ use super :: { SessionLink , models:: errors:: BlazeError , packet:: Packet } ;
55use crate :: {
66 database:: entities:: { Player , PlayerData } ,
77 services:: game:: { GamePlayer , GamePlayerPlayerDataSnapshot } ,
88 session:: models:: errors:: GlobalError ,
99 utils:: {
10- components:: { component_key , ComponentKey } ,
10+ components:: { ComponentKey , component_key } ,
1111 hashing:: IntHashMap ,
1212 } ,
1313} ;
@@ -19,11 +19,10 @@ use std::{
1919 any:: { Any , TypeId } ,
2020 convert:: Infallible ,
2121 future:: ready,
22- future:: Future ,
2322 marker:: PhantomData ,
2423 sync:: Arc ,
2524} ;
26- use tdf:: { serialize_vec , TdfDeserialize , TdfSerialize } ;
25+ use tdf:: { TdfDeserialize , TdfSerialize , serialize_vec } ;
2726
2827pub trait Handler < Args , Res > : Send + Sync + ' static {
2928 fn handle ( & self , req : PacketRequest ) -> BoxFuture < ' _ , Packet > ;
You can’t perform that action at this time.
0 commit comments