diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-20 18:02:27 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-20 18:02:27 +0200 |
| commit | 6b4ed51b4b4f08fb8c60ed79fa7797b148a8a335 (patch) | |
| tree | 280481b380edfcd2a76d646e884d71f103a930a6 /crates/client/src | |
| parent | chore(atuin): Remove unused crate dependencies (diff) | |
| download | atuin-6b4ed51b4b4f08fb8c60ed79fa7797b148a8a335.zip | |
chore: Remove some warnings (cargo fix)
Diffstat (limited to '')
| -rw-r--r-- | crates/client/src/atuin_client/settings/mod.rs | 2 | ||||
| -rw-r--r-- | crates/client/src/command/client.rs | 2 | ||||
| -rw-r--r-- | crates/client/src/command/client/sync.rs | 7 |
3 files changed, 4 insertions, 7 deletions
diff --git a/crates/client/src/atuin_client/settings/mod.rs b/crates/client/src/atuin_client/settings/mod.rs index 0eb228b9..bcec25db 100644 --- a/crates/client/src/atuin_client/settings/mod.rs +++ b/crates/client/src/atuin_client/settings/mod.rs @@ -422,7 +422,7 @@ pub(crate) enum PreviewStrategy { #[derive(Clone, Debug, Deserialize, Serialize)] #[expect(clippy::struct_excessive_bools)] -pub struct Settings { +pub(crate) struct Settings { pub(crate) data_dir: Option<String>, pub(crate) dialect: Dialect, pub(crate) timezone: Timezone, diff --git a/crates/client/src/command/client.rs b/crates/client/src/command/client.rs index 9f45f53b..32686c23 100644 --- a/crates/client/src/command/client.rs +++ b/crates/client/src/command/client.rs @@ -1,5 +1,5 @@ use std::fs::{self}; -use std::path::{Path, PathBuf}; +use std::path::Path; use clap::Subcommand; use eyre::{Result, WrapErr}; diff --git a/crates/client/src/command/client/sync.rs b/crates/client/src/command/client/sync.rs index 86228e47..ac0d0afe 100644 --- a/crates/client/src/command/client/sync.rs +++ b/crates/client/src/command/client/sync.rs @@ -1,12 +1,9 @@ use clap::Subcommand; -use colored::Colorize; -use eyre::{Result, WrapErr, bail}; -use serde_json::json; +use eyre::{Result, bail}; -use turtle_common::utils; use turtle_daemon::api::client::{Probe, probe}; -use crate::{SHA, VERSION, atuin_client::settings::Settings}; +use crate::atuin_client::settings::Settings; #[derive(Subcommand, Debug)] #[command(infer_subcommands = true)] |
