diff options
| author | Jakub Panek <me@panekj.dev> | 2022-04-28 17:53:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-28 18:53:59 +0100 |
| commit | 93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b (patch) | |
| tree | c910b1bb047a540c361f6cb6f8e403f1b83b925a /atuin-client/src/sync.rs | |
| parent | Bump axum from 0.5.3 to 0.5.4 (#355) (diff) | |
| download | atuin-93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b.zip | |
ignore JetBrains IDEs, tidy-up imports (#348)
* ignore JB IDEs
* tidy-up imports
* add rustfmt config
Diffstat (limited to 'atuin-client/src/sync.rs')
| -rw-r--r-- | atuin-client/src/sync.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/atuin-client/src/sync.rs b/atuin-client/src/sync.rs index 23f552e5..4ddaf514 100644 --- a/atuin-client/src/sync.rs +++ b/atuin-client/src/sync.rs @@ -5,10 +5,12 @@ use eyre::Result; use atuin_common::api::AddHistoryRequest; -use crate::api_client; -use crate::database::Database; -use crate::encryption::{encrypt, load_encoded_key, load_key}; -use crate::settings::{Settings, HISTORY_PAGE_SIZE}; +use crate::{ + api_client, + database::Database, + encryption::{encrypt, load_encoded_key, load_key}, + settings::{Settings, HISTORY_PAGE_SIZE}, +}; pub fn hash_str(string: &str) -> String { use sha2::{Digest, Sha256}; |
