diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 00:54:30 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 00:54:30 +0200 |
| commit | 5c39e7cf284a1f6e9a1657f2deb44e359fc47eb8 (patch) | |
| tree | c64baa8d5866c8e339eaf660dd3f94f30a3f7d8a /crates/turtle/src/sync.rs | |
| parent | chore: Somewhat simplify sync code (diff) | |
| download | atuin-5c39e7cf284a1f6e9a1657f2deb44e359fc47eb8.zip | |
chore: Move everything into one big crate
That helps remove duplicated code and rustc/cargo will now also show
dead code correctly.
Diffstat (limited to '')
| -rw-r--r-- | crates/turtle/src/sync.rs (renamed from crates/atuin/src/sync.rs) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/atuin/src/sync.rs b/crates/turtle/src/sync.rs index 02e4db69..56aef615 100644 --- a/crates/atuin/src/sync.rs +++ b/crates/turtle/src/sync.rs @@ -1,10 +1,10 @@ use eyre::{Context, Result}; -use atuin_client::{ +use crate::atuin_client::{ database::Database, history::store::HistoryStore, record::sqlite_store::SqliteStore, settings::Settings, }; -use atuin_common::record::RecordId; +use crate::atuin_common::record::RecordId; // This is the only crate that ties together all other crates. // Therefore, it's the only crate where functions tying together all stores can live @@ -18,7 +18,7 @@ pub async fn build( db: &dyn Database, downloaded: Option<&[RecordId]>, ) -> Result<()> { - let encryption_key: [u8; 32] = atuin_client::encryption::load_key(settings) + let encryption_key: [u8; 32] = crate::atuin_client::encryption::load_key(settings) .context("could not load encryption key")? .into(); |
