diff --git a/fedimovies-models/src/database/mod.rs b/fedimovies-models/src/database/mod.rs index 2b67ee1..7b06d13 100644 --- a/fedimovies-models/src/database/mod.rs +++ b/fedimovies-models/src/database/mod.rs @@ -80,7 +80,10 @@ pub fn create_pool(database_url: &str, ca_file_path: Option<&Path>, pool_size: u connector, ) } else { - deadpool_postgres::Manager::new(database_url.parse().expect("invalid database URL"), tokio_postgres::NoTls) + deadpool_postgres::Manager::new( + database_url.parse().expect("invalid database URL"), + tokio_postgres::NoTls, + ) }; DbPool::builder(manager) diff --git a/src/json_signatures/verify.rs b/src/json_signatures/verify.rs index 0e9c72f..9e4d570 100644 --- a/src/json_signatures/verify.rs +++ b/src/json_signatures/verify.rs @@ -117,9 +117,9 @@ pub fn verify_rsa_json_signature( mod tests { use super::*; use crate::json_signatures::create::sign_object; + use fedimovies_utils::did_pkh::DidPkh; use fedimovies_utils::{crypto_rsa::generate_weak_rsa_key, currencies::Currency}; use serde_json::json; - use fedimovies_utils::did_pkh::DidPkh; #[test] fn test_get_json_signature_eip191() {