diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-05-08 17:28:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-08 17:28:52 +0100 |
| commit | 0da534d5249a9111f8e1af0ff517526e2c66cdb0 (patch) | |
| tree | 0da2b5ac39a7231e421870e1723fad27b03785e4 /crates/atuin-client/src | |
| parent | fix: add protobuf compiler to docker image (#2009) (diff) | |
| download | atuin-0da534d5249a9111f8e1af0ff517526e2c66cdb0.zip | |
fix: add incremental rebuild to daemon loop (#2010)
Diffstat (limited to 'crates/atuin-client/src')
| -rw-r--r-- | crates/atuin-client/src/database.rs | 2 | ||||
| -rw-r--r-- | crates/atuin-client/src/history/store.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-client/src/database.rs b/crates/atuin-client/src/database.rs index 33156077..c443da37 100644 --- a/crates/atuin-client/src/database.rs +++ b/crates/atuin-client/src/database.rs @@ -120,7 +120,7 @@ pub trait Database: Send + Sync + 'static { // Intended for use on a developer machine and not a sync server. // TODO: implement IntoIterator -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Sqlite { pub pool: SqlitePool, } diff --git a/crates/atuin-client/src/history/store.rs b/crates/atuin-client/src/history/store.rs index fe2b7b92..b0341a26 100644 --- a/crates/atuin-client/src/history/store.rs +++ b/crates/atuin-client/src/history/store.rs @@ -12,7 +12,7 @@ use atuin_common::record::{DecryptedData, Host, HostId, Record, RecordId, Record use super::{History, HistoryId, HISTORY_TAG, HISTORY_VERSION}; -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct HistoryStore { pub store: SqliteStore, pub host_id: HostId, |
