diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2022-10-14 10:59:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 10:59:21 +0100 |
commit | f03f6e9ad74d8e1cf1fa33dc2c0c7c5dd7ae5c94 (patch) | |
tree | aa03f60230b3bc96485806724383bfd6e4cc6b1d /atuin-common | |
parent | 62aafc353788c9d1de28411a0eaca111ee0253ea (diff) |
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 <conradludgate@gmail.com>
* fix features
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
Diffstat (limited to 'atuin-common')
-rw-r--r-- | atuin-common/src/api.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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, +} |