Skip to content

Commit

Permalink
move daemon crate
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie committed May 6, 2024
1 parent 7f0f49a commit 6412adc
Show file tree
Hide file tree
Showing 12 changed files with 105 additions and 37 deletions.
136 changes: 103 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[workspace]
members = [
"crates/*",
"./atuin-daemon"
]

resolver = "2"
Expand Down
4 changes: 1 addition & 3 deletions crates/atuin-client/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,12 @@ pub struct Preview {
pub strategy: PreviewStrategy,
}

#[derive(Clone, Debug, Deserialize)]
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Daemon {
pub enabled: bool,
pub socket_path: String,
}

#[derive(Clone, Debug, Deserialize, Serialize)]
impl Default for Preview {
fn default() -> Self {
Self {
Expand All @@ -357,7 +356,6 @@ impl Default for Preview {
}
}

#[derive(Clone, Debug, Deserialize, Serialize)]
impl Default for Daemon {
fn default() -> Self {
Self {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.vite

gen

0 comments on commit 6412adc

Please sign in to comment.