aboutsummaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-10-12 12:21:59 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-10-12 12:21:59 +0200
commita1b7ca17c0badff4c983f3738531f3aa9b0fb977 (patch)
tree419f57fbd9c179c518fd57c0e3f31098305eb4b3 /src/login
parentb444ef7ef3d6e0e57726130e3b89a676cdcd6245 (diff)
downloadaerogramme-a1b7ca17c0badff4c983f3738531f3aa9b0fb977.tar.gz
aerogramme-a1b7ca17c0badff4c983f3738531f3aa9b0fb977.zip
basic body ext testing + format
Diffstat (limited to 'src/login')
-rw-r--r--src/login/mod.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/login/mod.rs b/src/login/mod.rs
index a204db4..3fab90a 100644
--- a/src/login/mod.rs
+++ b/src/login/mod.rs
@@ -7,7 +7,7 @@ use std::sync::Arc;
use anyhow::{anyhow, bail, Context, Result};
use async_trait::async_trait;
use k2v_client::{
- BatchInsertOp, BatchReadOp, CausalValue, CausalityToken, Filter, K2vClient, K2vValue
+ BatchInsertOp, BatchReadOp, CausalValue, CausalityToken, Filter, K2vClient, K2vValue,
};
use rand::prelude::*;
use rusoto_core::HttpClient;
@@ -141,13 +141,13 @@ impl StorageCredentials {
self.aws_secret_access_key.clone(),
);
- let connector = hyper_rustls::HttpsConnectorBuilder::new()
- .with_native_roots()
- .https_or_http()
- .enable_http1()
- .enable_http2()
- .build();
- let client = HttpClient::from_connector(connector);
+ let connector = hyper_rustls::HttpsConnectorBuilder::new()
+ .with_native_roots()
+ .https_or_http()
+ .enable_http1()
+ .enable_http2()
+ .build();
+ let client = HttpClient::from_connector(connector);
Ok(S3Client::new_with(
client,