diff options
Diffstat (limited to 'atuin-client/src/encryption.rs')
| -rw-r--r-- | atuin-client/src/encryption.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/atuin-client/src/encryption.rs b/atuin-client/src/encryption.rs index f805cbd5..842fe9f3 100644 --- a/atuin-client/src/encryption.rs +++ b/atuin-client/src/encryption.rs @@ -8,16 +8,14 @@ // clients must share the secret in order to be able to sync, as it is needed // to decrypt -use fs_err as fs; -use serde::{Deserialize, Serialize}; -use std::io::prelude::*; -use std::path::PathBuf; +use std::{io::prelude::*, path::PathBuf}; use eyre::{eyre, Context, Result}; +use fs_err as fs; +use serde::{Deserialize, Serialize}; use sodiumoxide::crypto::secretbox; -use crate::history::History; -use crate::settings::Settings; +use crate::{history::History, settings::Settings}; #[derive(Debug, Serialize, Deserialize)] pub struct EncryptedHistory { |
