From 93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b Mon Sep 17 00:00:00 2001 From: Jakub Panek Date: Thu, 28 Apr 2022 17:53:59 +0000 Subject: ignore JetBrains IDEs, tidy-up imports (#348) * ignore JB IDEs * tidy-up imports * add rustfmt config --- atuin-client/src/api_client.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'atuin-client/src/api_client.rs') diff --git a/atuin-client/src/api_client.rs b/atuin-client/src/api_client.rs index 528d1611..d0511f8e 100644 --- a/atuin-client/src/api_client.rs +++ b/atuin-client/src/api_client.rs @@ -2,8 +2,10 @@ use std::collections::HashMap; use chrono::Utc; use eyre::{bail, Result}; -use reqwest::header::{HeaderMap, AUTHORIZATION, USER_AGENT}; -use reqwest::{StatusCode, Url}; +use reqwest::{ + header::{HeaderMap, AUTHORIZATION, USER_AGENT}, + StatusCode, Url, +}; use sodiumoxide::crypto::secretbox; use atuin_common::api::{ @@ -11,9 +13,11 @@ use atuin_common::api::{ SyncHistoryResponse, }; -use crate::encryption::{decode_key, decrypt}; -use crate::history::History; -use crate::sync::hash_str; +use crate::{ + encryption::{decode_key, decrypt}, + history::History, + sync::hash_str, +}; static APP_USER_AGENT: &str = concat!("atuin/", env!("CARGO_PKG_VERSION"),); -- cgit v1.3.1