http://qwikoob2jgyfaqsgenwvma4h3z44gei7a6ou7zcwd4c2mhuerakrywqd.onion/BurnyLlama/ddstats/commit/40e8974d6b3d10331598b615995a2a7598c51e2f
; Ok ( match map { Some ( ( name , server , points , stars , mapper , timestamp ) ) = > Some ( types :: Map { name , server , points , stars , mapper , timestamp } ) , None = > None } ) } pub fn create_pool ( ) -> Result < Pool , Box < dyn Error > > { let url = env :: var ( " DB_URI " ) ? ; let pool = Pool :: new ( url . as_str ( ) ) ? ; Ok ( pool ) } 45 src/main.rs Unescape Escape View File @ -1,26 +1,41 @@ #[ macro_use ] extern crate rocket ; use rocket :: serde :: json :: Json ; extern...