From f03f6e9ad74d8e1cf1fa33dc2c0c7c5dd7ae5c94 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 14 Oct 2022 10:59:21 +0100 Subject: Add automatic update checking (#555) * Add automatic update checking * Add setting to opt out of update checks * Document options * no * no * also no * Make clippy happy * Update atuin-client/src/settings.rs Co-authored-by: Conrad Ludgate * fix features Co-authored-by: Conrad Ludgate Co-authored-by: Conrad Ludgate --- atuin-common/src/api.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'atuin-common/src') diff --git a/atuin-common/src/api.rs b/atuin-common/src/api.rs index ba04fd78..f17cfd58 100644 --- a/atuin-common/src/api.rs +++ b/atuin-common/src/api.rs @@ -59,3 +59,9 @@ pub struct SyncHistoryResponse { pub struct ErrorResponse<'a> { pub reason: Cow<'a, str>, } + +#[derive(Debug, Serialize, Deserialize)] +pub struct IndexResponse { + pub homage: String, + pub version: String, +} -- cgit v1.3.1