From 95cc472037fcb3207b510e67f1a44af4e2a2cae9 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Thu, 18 Apr 2024 16:41:28 +0100 Subject: [PATCH] chore: move crates into crates/ dir (#1958) I'd like to tidy up the root a little, and it's nice to have all the rust crates in one place --- Cargo.toml | 8 +------- atuin/src/command/CONTRIBUTORS | 1 - {atuin-client => crates/atuin-client}/Cargo.toml | 0 {atuin-client => crates/atuin-client}/config.toml | 0 .../migrations/20210422143411_create_history.sql | 0 .../migrations/20220505083406_create-events.sql | 0 .../20220806155627_interactive_search_index.sql | 0 .../migrations/20230315220114_drop-events.sql | 0 .../migrations/20230319185725_deleted_at.sql | 0 .../20230531212437_create-records.sql | 0 .../20231127090831_create-store.sql | 0 .../atuin-client}/src/api_client.rs | 0 .../atuin-client}/src/database.rs | 0 .../atuin-client}/src/encryption.rs | 0 .../atuin-client}/src/history.rs | 0 .../atuin-client}/src/history/builder.rs | 0 .../atuin-client}/src/history/store.rs | 0 .../atuin-client}/src/import/bash.rs | 0 .../atuin-client}/src/import/fish.rs | 0 .../atuin-client}/src/import/mod.rs | 0 .../atuin-client}/src/import/nu.rs | 0 .../atuin-client}/src/import/nu_histdb.rs | 0 .../atuin-client}/src/import/resh.rs | 0 .../atuin-client}/src/import/xonsh.rs | 0 .../atuin-client}/src/import/xonsh_sqlite.rs | 0 .../atuin-client}/src/import/zsh.rs | 0 .../atuin-client}/src/import/zsh_histdb.rs | 0 {atuin-client => crates/atuin-client}/src/kv.rs | 0 {atuin-client => crates/atuin-client}/src/lib.rs | 0 .../atuin-client}/src/ordering.rs | 0 .../atuin-client}/src/record/encryption.rs | 0 .../atuin-client}/src/record/mod.rs | 0 .../atuin-client}/src/record/sqlite_store.rs | 0 .../atuin-client}/src/record/store.rs | 0 .../atuin-client}/src/record/sync.rs | 0 .../atuin-client}/src/secrets.rs | 0 .../atuin-client}/src/settings.rs | 0 .../atuin-client}/src/settings/dotfiles.rs | 0 {atuin-client => crates/atuin-client}/src/sync.rs | 0 {atuin-client => crates/atuin-client}/src/utils.rs | 0 .../atuin-client}/tests/data/xonsh-history.sqlite | Bin .../xonsh-82eafbf5-9f43-489a-80d2-61c7dc6ef542.json | 0 .../xonsh-de16af90-9148-4461-8df3-5b5659c6420d.json | 0 {atuin-common => crates/atuin-common}/Cargo.toml | 0 {atuin-common => crates/atuin-common}/src/api.rs | 0 .../atuin-common}/src/calendar.rs | 0 {atuin-common => crates/atuin-common}/src/lib.rs | 0 {atuin-common => crates/atuin-common}/src/record.rs | 0 {atuin-common => crates/atuin-common}/src/shell.rs | 0 {atuin-common => crates/atuin-common}/src/utils.rs | 0 .../atuin-dotfiles}/Cargo.toml | 0 .../atuin-dotfiles}/src/lib.rs | 0 .../atuin-dotfiles}/src/shell.rs | 0 .../atuin-dotfiles}/src/shell/bash.rs | 0 .../atuin-dotfiles}/src/shell/fish.rs | 0 .../atuin-dotfiles}/src/shell/xonsh.rs | 0 .../atuin-dotfiles}/src/shell/zsh.rs | 0 .../atuin-dotfiles}/src/store.rs | 0 .../atuin-server-database}/Cargo.toml | 0 .../atuin-server-database}/src/calendar.rs | 0 .../atuin-server-database}/src/lib.rs | 0 .../atuin-server-database}/src/models.rs | 0 .../atuin-server-postgres}/Cargo.toml | 0 .../atuin-server-postgres}/build.rs | 0 .../migrations/20210425153745_create_history.sql | 0 .../migrations/20210425153757_create_users.sql | 0 .../migrations/20210425153800_create_sessions.sql | 0 .../migrations/20220419082412_add_count_trigger.sql | 0 .../20220421073605_fix_count_trigger_delete.sql | 0 .../migrations/20220421174016_larger-commands.sql | 0 .../migrations/20220426172813_user-created-at.sql | 0 .../migrations/20220505082442_create-events.sql | 0 .../migrations/20220610074049_history-length.sql | 0 .../migrations/20230315220537_drop-events.sql | 0 .../migrations/20230315224203_create-deleted.sql | 0 .../20230515221038_trigger-delete-only.sql | 0 .../migrations/20230623070418_records.sql | 0 .../migrations/20231202170508_create-store.sql | 0 .../migrations/20231203124112_create-store-idx.sql | 0 .../20240108124837_drop-some-defaults.sql | 0 .../atuin-server-postgres}/src/lib.rs | 0 .../atuin-server-postgres}/src/wrappers.rs | 0 {atuin-server => crates/atuin-server}/Cargo.toml | 0 {atuin-server => crates/atuin-server}/server.toml | 0 .../atuin-server}/src/handlers/history.rs | 0 .../atuin-server}/src/handlers/mod.rs | 0 .../atuin-server}/src/handlers/record.rs | 0 .../atuin-server}/src/handlers/status.rs | 0 .../atuin-server}/src/handlers/user.rs | 0 .../atuin-server}/src/handlers/v0/me.rs | 0 .../atuin-server}/src/handlers/v0/mod.rs | 0 .../atuin-server}/src/handlers/v0/record.rs | 0 .../atuin-server}/src/handlers/v0/store.rs | 0 {atuin-server => crates/atuin-server}/src/lib.rs | 0 .../atuin-server}/src/metrics.rs | 0 {atuin-server => crates/atuin-server}/src/router.rs | 0 .../atuin-server}/src/settings.rs | 0 {atuin-server => crates/atuin-server}/src/utils.rs | 0 {atuin => crates/atuin}/Cargo.toml | 0 {atuin => crates/atuin}/LICENSE | 0 {atuin => crates/atuin}/README.md | 0 {atuin => crates/atuin}/build.rs | 0 crates/atuin/src/command/CONTRIBUTORS | 1 + {atuin => crates/atuin}/src/command/client.rs | 0 .../atuin}/src/command/client/account.rs | 0 .../src/command/client/account/change_password.rs | 0 .../atuin}/src/command/client/account/delete.rs | 0 .../atuin}/src/command/client/account/login.rs | 0 .../atuin}/src/command/client/account/logout.rs | 0 .../atuin}/src/command/client/account/register.rs | 0 .../atuin}/src/command/client/default_config.rs | 0 .../atuin}/src/command/client/doctor.rs | 0 .../atuin}/src/command/client/dotfiles.rs | 0 .../atuin}/src/command/client/dotfiles/alias.rs | 0 .../atuin}/src/command/client/history.rs | 0 .../atuin}/src/command/client/import.rs | 0 {atuin => crates/atuin}/src/command/client/info.rs | 0 {atuin => crates/atuin}/src/command/client/init.rs | 0 .../atuin}/src/command/client/init/bash.rs | 0 .../atuin}/src/command/client/init/fish.rs | 0 .../atuin}/src/command/client/init/xonsh.rs | 0 .../atuin}/src/command/client/init/zsh.rs | 0 {atuin => crates/atuin}/src/command/client/kv.rs | 0 .../atuin}/src/command/client/search.rs | 0 .../atuin}/src/command/client/search/cursor.rs | 0 .../atuin}/src/command/client/search/duration.rs | 0 .../atuin}/src/command/client/search/engines.rs | 0 .../atuin}/src/command/client/search/engines/db.rs | 0 .../src/command/client/search/engines/skim.rs | 0 .../src/command/client/search/history_list.rs | 0 .../atuin}/src/command/client/search/inspector.rs | 0 .../atuin}/src/command/client/search/interactive.rs | 0 .../atuin}/src/command/client/search/sort.rs | 0 {atuin => crates/atuin}/src/command/client/stats.rs | 0 {atuin => crates/atuin}/src/command/client/store.rs | 0 .../atuin}/src/command/client/store/pull.rs | 0 .../atuin}/src/command/client/store/purge.rs | 0 .../atuin}/src/command/client/store/push.rs | 0 .../atuin}/src/command/client/store/rebuild.rs | 0 .../atuin}/src/command/client/store/rekey.rs | 0 .../atuin}/src/command/client/store/verify.rs | 0 {atuin => crates/atuin}/src/command/client/sync.rs | 0 .../atuin}/src/command/client/sync/status.rs | 0 {atuin => crates/atuin}/src/command/contributors.rs | 0 .../atuin}/src/command/gen_completions.rs | 0 {atuin => crates/atuin}/src/command/mod.rs | 0 {atuin => crates/atuin}/src/command/server.rs | 0 {atuin => crates/atuin}/src/main.rs | 0 {atuin => crates/atuin}/src/shell/atuin.bash | 0 {atuin => crates/atuin}/src/shell/atuin.fish | 0 {atuin => crates/atuin}/src/shell/atuin.nu | 0 {atuin => crates/atuin}/src/shell/atuin.xsh | 0 {atuin => crates/atuin}/src/shell/atuin.zsh | 0 {atuin => crates/atuin}/src/sync.rs | 0 {atuin => crates/atuin}/tests/common/mod.rs | 0 {atuin => crates/atuin}/tests/sync.rs | 0 {atuin => crates/atuin}/tests/users.rs | 0 157 files changed, 2 insertions(+), 8 deletions(-) delete mode 120000 atuin/src/command/CONTRIBUTORS rename {atuin-client => crates/atuin-client}/Cargo.toml (100%) rename {atuin-client => crates/atuin-client}/config.toml (100%) rename {atuin-client => crates/atuin-client}/migrations/20210422143411_create_history.sql (100%) rename {atuin-client => crates/atuin-client}/migrations/20220505083406_create-events.sql (100%) rename {atuin-client => crates/atuin-client}/migrations/20220806155627_interactive_search_index.sql (100%) rename {atuin-client => crates/atuin-client}/migrations/20230315220114_drop-events.sql (100%) rename {atuin-client => crates/atuin-client}/migrations/20230319185725_deleted_at.sql (100%) rename {atuin-client => crates/atuin-client}/record-migrations/20230531212437_create-records.sql (100%) rename {atuin-client => crates/atuin-client}/record-migrations/20231127090831_create-store.sql (100%) rename {atuin-client => crates/atuin-client}/src/api_client.rs (100%) rename {atuin-client => crates/atuin-client}/src/database.rs (100%) rename {atuin-client => crates/atuin-client}/src/encryption.rs (100%) rename {atuin-client => crates/atuin-client}/src/history.rs (100%) rename {atuin-client => crates/atuin-client}/src/history/builder.rs (100%) rename {atuin-client => crates/atuin-client}/src/history/store.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/bash.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/fish.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/mod.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/nu.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/nu_histdb.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/resh.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/xonsh.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/xonsh_sqlite.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/zsh.rs (100%) rename {atuin-client => crates/atuin-client}/src/import/zsh_histdb.rs (100%) rename {atuin-client => crates/atuin-client}/src/kv.rs (100%) rename {atuin-client => crates/atuin-client}/src/lib.rs (100%) rename {atuin-client => crates/atuin-client}/src/ordering.rs (100%) rename {atuin-client => crates/atuin-client}/src/record/encryption.rs (100%) rename {atuin-client => crates/atuin-client}/src/record/mod.rs (100%) rename {atuin-client => crates/atuin-client}/src/record/sqlite_store.rs (100%) rename {atuin-client => crates/atuin-client}/src/record/store.rs (100%) rename {atuin-client => crates/atuin-client}/src/record/sync.rs (100%) rename {atuin-client => crates/atuin-client}/src/secrets.rs (100%) rename {atuin-client => crates/atuin-client}/src/settings.rs (100%) rename {atuin-client => crates/atuin-client}/src/settings/dotfiles.rs (100%) rename {atuin-client => crates/atuin-client}/src/sync.rs (100%) rename {atuin-client => crates/atuin-client}/src/utils.rs (100%) rename {atuin-client => crates/atuin-client}/tests/data/xonsh-history.sqlite (100%) rename {atuin-client => crates/atuin-client}/tests/data/xonsh/xonsh-82eafbf5-9f43-489a-80d2-61c7dc6ef542.json (100%) rename {atuin-client => crates/atuin-client}/tests/data/xonsh/xonsh-de16af90-9148-4461-8df3-5b5659c6420d.json (100%) rename {atuin-common => crates/atuin-common}/Cargo.toml (100%) rename {atuin-common => crates/atuin-common}/src/api.rs (100%) rename {atuin-common => crates/atuin-common}/src/calendar.rs (100%) rename {atuin-common => crates/atuin-common}/src/lib.rs (100%) rename {atuin-common => crates/atuin-common}/src/record.rs (100%) rename {atuin-common => crates/atuin-common}/src/shell.rs (100%) rename {atuin-common => crates/atuin-common}/src/utils.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/Cargo.toml (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/lib.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/shell.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/shell/bash.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/shell/fish.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/shell/xonsh.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/shell/zsh.rs (100%) rename {atuin-dotfiles => crates/atuin-dotfiles}/src/store.rs (100%) rename {atuin-server-database => crates/atuin-server-database}/Cargo.toml (100%) rename {atuin-server-database => crates/atuin-server-database}/src/calendar.rs (100%) rename {atuin-server-database => crates/atuin-server-database}/src/lib.rs (100%) rename {atuin-server-database => crates/atuin-server-database}/src/models.rs (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/Cargo.toml (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/build.rs (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20210425153745_create_history.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20210425153757_create_users.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20210425153800_create_sessions.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20220419082412_add_count_trigger.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20220421073605_fix_count_trigger_delete.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20220421174016_larger-commands.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20220426172813_user-created-at.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20220505082442_create-events.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20220610074049_history-length.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20230315220537_drop-events.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20230315224203_create-deleted.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20230515221038_trigger-delete-only.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20230623070418_records.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20231202170508_create-store.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20231203124112_create-store-idx.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/migrations/20240108124837_drop-some-defaults.sql (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/src/lib.rs (100%) rename {atuin-server-postgres => crates/atuin-server-postgres}/src/wrappers.rs (100%) rename {atuin-server => crates/atuin-server}/Cargo.toml (100%) rename {atuin-server => crates/atuin-server}/server.toml (100%) rename {atuin-server => crates/atuin-server}/src/handlers/history.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/mod.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/record.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/status.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/user.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/v0/me.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/v0/mod.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/v0/record.rs (100%) rename {atuin-server => crates/atuin-server}/src/handlers/v0/store.rs (100%) rename {atuin-server => crates/atuin-server}/src/lib.rs (100%) rename {atuin-server => crates/atuin-server}/src/metrics.rs (100%) rename {atuin-server => crates/atuin-server}/src/router.rs (100%) rename {atuin-server => crates/atuin-server}/src/settings.rs (100%) rename {atuin-server => crates/atuin-server}/src/utils.rs (100%) rename {atuin => crates/atuin}/Cargo.toml (100%) rename {atuin => crates/atuin}/LICENSE (100%) rename {atuin => crates/atuin}/README.md (100%) rename {atuin => crates/atuin}/build.rs (100%) create mode 120000 crates/atuin/src/command/CONTRIBUTORS rename {atuin => crates/atuin}/src/command/client.rs (100%) rename {atuin => crates/atuin}/src/command/client/account.rs (100%) rename {atuin => crates/atuin}/src/command/client/account/change_password.rs (100%) rename {atuin => crates/atuin}/src/command/client/account/delete.rs (100%) rename {atuin => crates/atuin}/src/command/client/account/login.rs (100%) rename {atuin => crates/atuin}/src/command/client/account/logout.rs (100%) rename {atuin => crates/atuin}/src/command/client/account/register.rs (100%) rename {atuin => crates/atuin}/src/command/client/default_config.rs (100%) rename {atuin => crates/atuin}/src/command/client/doctor.rs (100%) rename {atuin => crates/atuin}/src/command/client/dotfiles.rs (100%) rename {atuin => crates/atuin}/src/command/client/dotfiles/alias.rs (100%) rename {atuin => crates/atuin}/src/command/client/history.rs (100%) rename {atuin => crates/atuin}/src/command/client/import.rs (100%) rename {atuin => crates/atuin}/src/command/client/info.rs (100%) rename {atuin => crates/atuin}/src/command/client/init.rs (100%) rename {atuin => crates/atuin}/src/command/client/init/bash.rs (100%) rename {atuin => crates/atuin}/src/command/client/init/fish.rs (100%) rename {atuin => crates/atuin}/src/command/client/init/xonsh.rs (100%) rename {atuin => crates/atuin}/src/command/client/init/zsh.rs (100%) rename {atuin => crates/atuin}/src/command/client/kv.rs (100%) rename {atuin => crates/atuin}/src/command/client/search.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/cursor.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/duration.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/engines.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/engines/db.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/engines/skim.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/history_list.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/inspector.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/interactive.rs (100%) rename {atuin => crates/atuin}/src/command/client/search/sort.rs (100%) rename {atuin => crates/atuin}/src/command/client/stats.rs (100%) rename {atuin => crates/atuin}/src/command/client/store.rs (100%) rename {atuin => crates/atuin}/src/command/client/store/pull.rs (100%) rename {atuin => crates/atuin}/src/command/client/store/purge.rs (100%) rename {atuin => crates/atuin}/src/command/client/store/push.rs (100%) rename {atuin => crates/atuin}/src/command/client/store/rebuild.rs (100%) rename {atuin => crates/atuin}/src/command/client/store/rekey.rs (100%) rename {atuin => crates/atuin}/src/command/client/store/verify.rs (100%) rename {atuin => crates/atuin}/src/command/client/sync.rs (100%) rename {atuin => crates/atuin}/src/command/client/sync/status.rs (100%) rename {atuin => crates/atuin}/src/command/contributors.rs (100%) rename {atuin => crates/atuin}/src/command/gen_completions.rs (100%) rename {atuin => crates/atuin}/src/command/mod.rs (100%) rename {atuin => crates/atuin}/src/command/server.rs (100%) rename {atuin => crates/atuin}/src/main.rs (100%) rename {atuin => crates/atuin}/src/shell/atuin.bash (100%) rename {atuin => crates/atuin}/src/shell/atuin.fish (100%) rename {atuin => crates/atuin}/src/shell/atuin.nu (100%) rename {atuin => crates/atuin}/src/shell/atuin.xsh (100%) rename {atuin => crates/atuin}/src/shell/atuin.zsh (100%) rename {atuin => crates/atuin}/src/sync.rs (100%) rename {atuin => crates/atuin}/tests/common/mod.rs (100%) rename {atuin => crates/atuin}/tests/sync.rs (100%) rename {atuin => crates/atuin}/tests/users.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 50b90de2..38991ee0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,6 @@ [workspace] members = [ - "atuin", - "atuin-client", - "atuin-server", - "atuin-server-postgres", - "atuin-server-database", - "atuin-common", - "atuin-dotfiles", + "crates/*" ] resolver = "2" diff --git a/atuin/src/command/CONTRIBUTORS b/atuin/src/command/CONTRIBUTORS deleted file mode 120000 index f0db1cdd..00000000 --- a/atuin/src/command/CONTRIBUTORS +++ /dev/null @@ -1 +0,0 @@ -../../../CONTRIBUTORS \ No newline at end of file diff --git a/atuin-client/Cargo.toml b/crates/atuin-client/Cargo.toml similarity index 100% rename from atuin-client/Cargo.toml rename to crates/atuin-client/Cargo.toml diff --git a/atuin-client/config.toml b/crates/atuin-client/config.toml similarity index 100% rename from atuin-client/config.toml rename to crates/atuin-client/config.toml diff --git a/atuin-client/migrations/20210422143411_create_history.sql b/crates/atuin-client/migrations/20210422143411_create_history.sql similarity index 100% rename from atuin-client/migrations/20210422143411_create_history.sql rename to crates/atuin-client/migrations/20210422143411_create_history.sql diff --git a/atuin-client/migrations/20220505083406_create-events.sql b/crates/atuin-client/migrations/20220505083406_create-events.sql similarity index 100% rename from atuin-client/migrations/20220505083406_create-events.sql rename to crates/atuin-client/migrations/20220505083406_create-events.sql diff --git a/atuin-client/migrations/20220806155627_interactive_search_index.sql b/crates/atuin-client/migrations/20220806155627_interactive_search_index.sql similarity index 100% rename from atuin-client/migrations/20220806155627_interactive_search_index.sql rename to crates/atuin-client/migrations/20220806155627_interactive_search_index.sql diff --git a/atuin-client/migrations/20230315220114_drop-events.sql b/crates/atuin-client/migrations/20230315220114_drop-events.sql similarity index 100% rename from atuin-client/migrations/20230315220114_drop-events.sql rename to crates/atuin-client/migrations/20230315220114_drop-events.sql diff --git a/atuin-client/migrations/20230319185725_deleted_at.sql b/crates/atuin-client/migrations/20230319185725_deleted_at.sql similarity index 100% rename from atuin-client/migrations/20230319185725_deleted_at.sql rename to crates/atuin-client/migrations/20230319185725_deleted_at.sql diff --git a/atuin-client/record-migrations/20230531212437_create-records.sql b/crates/atuin-client/record-migrations/20230531212437_create-records.sql similarity index 100% rename from atuin-client/record-migrations/20230531212437_create-records.sql rename to crates/atuin-client/record-migrations/20230531212437_create-records.sql diff --git a/atuin-client/record-migrations/20231127090831_create-store.sql b/crates/atuin-client/record-migrations/20231127090831_create-store.sql similarity index 100% rename from atuin-client/record-migrations/20231127090831_create-store.sql rename to crates/atuin-client/record-migrations/20231127090831_create-store.sql diff --git a/atuin-client/src/api_client.rs b/crates/atuin-client/src/api_client.rs similarity index 100% rename from atuin-client/src/api_client.rs rename to crates/atuin-client/src/api_client.rs diff --git a/atuin-client/src/database.rs b/crates/atuin-client/src/database.rs similarity index 100% rename from atuin-client/src/database.rs rename to crates/atuin-client/src/database.rs diff --git a/atuin-client/src/encryption.rs b/crates/atuin-client/src/encryption.rs similarity index 100% rename from atuin-client/src/encryption.rs rename to crates/atuin-client/src/encryption.rs diff --git a/atuin-client/src/history.rs b/crates/atuin-client/src/history.rs similarity index 100% rename from atuin-client/src/history.rs rename to crates/atuin-client/src/history.rs diff --git a/atuin-client/src/history/builder.rs b/crates/atuin-client/src/history/builder.rs similarity index 100% rename from atuin-client/src/history/builder.rs rename to crates/atuin-client/src/history/builder.rs diff --git a/atuin-client/src/history/store.rs b/crates/atuin-client/src/history/store.rs similarity index 100% rename from atuin-client/src/history/store.rs rename to crates/atuin-client/src/history/store.rs diff --git a/atuin-client/src/import/bash.rs b/crates/atuin-client/src/import/bash.rs similarity index 100% rename from atuin-client/src/import/bash.rs rename to crates/atuin-client/src/import/bash.rs diff --git a/atuin-client/src/import/fish.rs b/crates/atuin-client/src/import/fish.rs similarity index 100% rename from atuin-client/src/import/fish.rs rename to crates/atuin-client/src/import/fish.rs diff --git a/atuin-client/src/import/mod.rs b/crates/atuin-client/src/import/mod.rs similarity index 100% rename from atuin-client/src/import/mod.rs rename to crates/atuin-client/src/import/mod.rs diff --git a/atuin-client/src/import/nu.rs b/crates/atuin-client/src/import/nu.rs similarity index 100% rename from atuin-client/src/import/nu.rs rename to crates/atuin-client/src/import/nu.rs diff --git a/atuin-client/src/import/nu_histdb.rs b/crates/atuin-client/src/import/nu_histdb.rs similarity index 100% rename from atuin-client/src/import/nu_histdb.rs rename to crates/atuin-client/src/import/nu_histdb.rs diff --git a/atuin-client/src/import/resh.rs b/crates/atuin-client/src/import/resh.rs similarity index 100% rename from atuin-client/src/import/resh.rs rename to crates/atuin-client/src/import/resh.rs diff --git a/atuin-client/src/import/xonsh.rs b/crates/atuin-client/src/import/xonsh.rs similarity index 100% rename from atuin-client/src/import/xonsh.rs rename to crates/atuin-client/src/import/xonsh.rs diff --git a/atuin-client/src/import/xonsh_sqlite.rs b/crates/atuin-client/src/import/xonsh_sqlite.rs similarity index 100% rename from atuin-client/src/import/xonsh_sqlite.rs rename to crates/atuin-client/src/import/xonsh_sqlite.rs diff --git a/atuin-client/src/import/zsh.rs b/crates/atuin-client/src/import/zsh.rs similarity index 100% rename from atuin-client/src/import/zsh.rs rename to crates/atuin-client/src/import/zsh.rs diff --git a/atuin-client/src/import/zsh_histdb.rs b/crates/atuin-client/src/import/zsh_histdb.rs similarity index 100% rename from atuin-client/src/import/zsh_histdb.rs rename to crates/atuin-client/src/import/zsh_histdb.rs diff --git a/atuin-client/src/kv.rs b/crates/atuin-client/src/kv.rs similarity index 100% rename from atuin-client/src/kv.rs rename to crates/atuin-client/src/kv.rs diff --git a/atuin-client/src/lib.rs b/crates/atuin-client/src/lib.rs similarity index 100% rename from atuin-client/src/lib.rs rename to crates/atuin-client/src/lib.rs diff --git a/atuin-client/src/ordering.rs b/crates/atuin-client/src/ordering.rs similarity index 100% rename from atuin-client/src/ordering.rs rename to crates/atuin-client/src/ordering.rs diff --git a/atuin-client/src/record/encryption.rs b/crates/atuin-client/src/record/encryption.rs similarity index 100% rename from atuin-client/src/record/encryption.rs rename to crates/atuin-client/src/record/encryption.rs diff --git a/atuin-client/src/record/mod.rs b/crates/atuin-client/src/record/mod.rs similarity index 100% rename from atuin-client/src/record/mod.rs rename to crates/atuin-client/src/record/mod.rs diff --git a/atuin-client/src/record/sqlite_store.rs b/crates/atuin-client/src/record/sqlite_store.rs similarity index 100% rename from atuin-client/src/record/sqlite_store.rs rename to crates/atuin-client/src/record/sqlite_store.rs diff --git a/atuin-client/src/record/store.rs b/crates/atuin-client/src/record/store.rs similarity index 100% rename from atuin-client/src/record/store.rs rename to crates/atuin-client/src/record/store.rs diff --git a/atuin-client/src/record/sync.rs b/crates/atuin-client/src/record/sync.rs similarity index 100% rename from atuin-client/src/record/sync.rs rename to crates/atuin-client/src/record/sync.rs diff --git a/atuin-client/src/secrets.rs b/crates/atuin-client/src/secrets.rs similarity index 100% rename from atuin-client/src/secrets.rs rename to crates/atuin-client/src/secrets.rs diff --git a/atuin-client/src/settings.rs b/crates/atuin-client/src/settings.rs similarity index 100% rename from atuin-client/src/settings.rs rename to crates/atuin-client/src/settings.rs diff --git a/atuin-client/src/settings/dotfiles.rs b/crates/atuin-client/src/settings/dotfiles.rs similarity index 100% rename from atuin-client/src/settings/dotfiles.rs rename to crates/atuin-client/src/settings/dotfiles.rs diff --git a/atuin-client/src/sync.rs b/crates/atuin-client/src/sync.rs similarity index 100% rename from atuin-client/src/sync.rs rename to crates/atuin-client/src/sync.rs diff --git a/atuin-client/src/utils.rs b/crates/atuin-client/src/utils.rs similarity index 100% rename from atuin-client/src/utils.rs rename to crates/atuin-client/src/utils.rs diff --git a/atuin-client/tests/data/xonsh-history.sqlite b/crates/atuin-client/tests/data/xonsh-history.sqlite similarity index 100% rename from atuin-client/tests/data/xonsh-history.sqlite rename to crates/atuin-client/tests/data/xonsh-history.sqlite diff --git a/atuin-client/tests/data/xonsh/xonsh-82eafbf5-9f43-489a-80d2-61c7dc6ef542.json b/crates/atuin-client/tests/data/xonsh/xonsh-82eafbf5-9f43-489a-80d2-61c7dc6ef542.json similarity index 100% rename from atuin-client/tests/data/xonsh/xonsh-82eafbf5-9f43-489a-80d2-61c7dc6ef542.json rename to crates/atuin-client/tests/data/xonsh/xonsh-82eafbf5-9f43-489a-80d2-61c7dc6ef542.json diff --git a/atuin-client/tests/data/xonsh/xonsh-de16af90-9148-4461-8df3-5b5659c6420d.json b/crates/atuin-client/tests/data/xonsh/xonsh-de16af90-9148-4461-8df3-5b5659c6420d.json similarity index 100% rename from atuin-client/tests/data/xonsh/xonsh-de16af90-9148-4461-8df3-5b5659c6420d.json rename to crates/atuin-client/tests/data/xonsh/xonsh-de16af90-9148-4461-8df3-5b5659c6420d.json diff --git a/atuin-common/Cargo.toml b/crates/atuin-common/Cargo.toml similarity index 100% rename from atuin-common/Cargo.toml rename to crates/atuin-common/Cargo.toml diff --git a/atuin-common/src/api.rs b/crates/atuin-common/src/api.rs similarity index 100% rename from atuin-common/src/api.rs rename to crates/atuin-common/src/api.rs diff --git a/atuin-common/src/calendar.rs b/crates/atuin-common/src/calendar.rs similarity index 100% rename from atuin-common/src/calendar.rs rename to crates/atuin-common/src/calendar.rs diff --git a/atuin-common/src/lib.rs b/crates/atuin-common/src/lib.rs similarity index 100% rename from atuin-common/src/lib.rs rename to crates/atuin-common/src/lib.rs diff --git a/atuin-common/src/record.rs b/crates/atuin-common/src/record.rs similarity index 100% rename from atuin-common/src/record.rs rename to crates/atuin-common/src/record.rs diff --git a/atuin-common/src/shell.rs b/crates/atuin-common/src/shell.rs similarity index 100% rename from atuin-common/src/shell.rs rename to crates/atuin-common/src/shell.rs diff --git a/atuin-common/src/utils.rs b/crates/atuin-common/src/utils.rs similarity index 100% rename from atuin-common/src/utils.rs rename to crates/atuin-common/src/utils.rs diff --git a/atuin-dotfiles/Cargo.toml b/crates/atuin-dotfiles/Cargo.toml similarity index 100% rename from atuin-dotfiles/Cargo.toml rename to crates/atuin-dotfiles/Cargo.toml diff --git a/atuin-dotfiles/src/lib.rs b/crates/atuin-dotfiles/src/lib.rs similarity index 100% rename from atuin-dotfiles/src/lib.rs rename to crates/atuin-dotfiles/src/lib.rs diff --git a/atuin-dotfiles/src/shell.rs b/crates/atuin-dotfiles/src/shell.rs similarity index 100% rename from atuin-dotfiles/src/shell.rs rename to crates/atuin-dotfiles/src/shell.rs diff --git a/atuin-dotfiles/src/shell/bash.rs b/crates/atuin-dotfiles/src/shell/bash.rs similarity index 100% rename from atuin-dotfiles/src/shell/bash.rs rename to crates/atuin-dotfiles/src/shell/bash.rs diff --git a/atuin-dotfiles/src/shell/fish.rs b/crates/atuin-dotfiles/src/shell/fish.rs similarity index 100% rename from atuin-dotfiles/src/shell/fish.rs rename to crates/atuin-dotfiles/src/shell/fish.rs diff --git a/atuin-dotfiles/src/shell/xonsh.rs b/crates/atuin-dotfiles/src/shell/xonsh.rs similarity index 100% rename from atuin-dotfiles/src/shell/xonsh.rs rename to crates/atuin-dotfiles/src/shell/xonsh.rs diff --git a/atuin-dotfiles/src/shell/zsh.rs b/crates/atuin-dotfiles/src/shell/zsh.rs similarity index 100% rename from atuin-dotfiles/src/shell/zsh.rs rename to crates/atuin-dotfiles/src/shell/zsh.rs diff --git a/atuin-dotfiles/src/store.rs b/crates/atuin-dotfiles/src/store.rs similarity index 100% rename from atuin-dotfiles/src/store.rs rename to crates/atuin-dotfiles/src/store.rs diff --git a/atuin-server-database/Cargo.toml b/crates/atuin-server-database/Cargo.toml similarity index 100% rename from atuin-server-database/Cargo.toml rename to crates/atuin-server-database/Cargo.toml diff --git a/atuin-server-database/src/calendar.rs b/crates/atuin-server-database/src/calendar.rs similarity index 100% rename from atuin-server-database/src/calendar.rs rename to crates/atuin-server-database/src/calendar.rs diff --git a/atuin-server-database/src/lib.rs b/crates/atuin-server-database/src/lib.rs similarity index 100% rename from atuin-server-database/src/lib.rs rename to crates/atuin-server-database/src/lib.rs diff --git a/atuin-server-database/src/models.rs b/crates/atuin-server-database/src/models.rs similarity index 100% rename from atuin-server-database/src/models.rs rename to crates/atuin-server-database/src/models.rs diff --git a/atuin-server-postgres/Cargo.toml b/crates/atuin-server-postgres/Cargo.toml similarity index 100% rename from atuin-server-postgres/Cargo.toml rename to crates/atuin-server-postgres/Cargo.toml diff --git a/atuin-server-postgres/build.rs b/crates/atuin-server-postgres/build.rs similarity index 100% rename from atuin-server-postgres/build.rs rename to crates/atuin-server-postgres/build.rs diff --git a/atuin-server-postgres/migrations/20210425153745_create_history.sql b/crates/atuin-server-postgres/migrations/20210425153745_create_history.sql similarity index 100% rename from atuin-server-postgres/migrations/20210425153745_create_history.sql rename to crates/atuin-server-postgres/migrations/20210425153745_create_history.sql diff --git a/atuin-server-postgres/migrations/20210425153757_create_users.sql b/crates/atuin-server-postgres/migrations/20210425153757_create_users.sql similarity index 100% rename from atuin-server-postgres/migrations/20210425153757_create_users.sql rename to crates/atuin-server-postgres/migrations/20210425153757_create_users.sql diff --git a/atuin-server-postgres/migrations/20210425153800_create_sessions.sql b/crates/atuin-server-postgres/migrations/20210425153800_create_sessions.sql similarity index 100% rename from atuin-server-postgres/migrations/20210425153800_create_sessions.sql rename to crates/atuin-server-postgres/migrations/20210425153800_create_sessions.sql diff --git a/atuin-server-postgres/migrations/20220419082412_add_count_trigger.sql b/crates/atuin-server-postgres/migrations/20220419082412_add_count_trigger.sql similarity index 100% rename from atuin-server-postgres/migrations/20220419082412_add_count_trigger.sql rename to crates/atuin-server-postgres/migrations/20220419082412_add_count_trigger.sql diff --git a/atuin-server-postgres/migrations/20220421073605_fix_count_trigger_delete.sql b/crates/atuin-server-postgres/migrations/20220421073605_fix_count_trigger_delete.sql similarity index 100% rename from atuin-server-postgres/migrations/20220421073605_fix_count_trigger_delete.sql rename to crates/atuin-server-postgres/migrations/20220421073605_fix_count_trigger_delete.sql diff --git a/atuin-server-postgres/migrations/20220421174016_larger-commands.sql b/crates/atuin-server-postgres/migrations/20220421174016_larger-commands.sql similarity index 100% rename from atuin-server-postgres/migrations/20220421174016_larger-commands.sql rename to crates/atuin-server-postgres/migrations/20220421174016_larger-commands.sql diff --git a/atuin-server-postgres/migrations/20220426172813_user-created-at.sql b/crates/atuin-server-postgres/migrations/20220426172813_user-created-at.sql similarity index 100% rename from atuin-server-postgres/migrations/20220426172813_user-created-at.sql rename to crates/atuin-server-postgres/migrations/20220426172813_user-created-at.sql diff --git a/atuin-server-postgres/migrations/20220505082442_create-events.sql b/crates/atuin-server-postgres/migrations/20220505082442_create-events.sql similarity index 100% rename from atuin-server-postgres/migrations/20220505082442_create-events.sql rename to crates/atuin-server-postgres/migrations/20220505082442_create-events.sql diff --git a/atuin-server-postgres/migrations/20220610074049_history-length.sql b/crates/atuin-server-postgres/migrations/20220610074049_history-length.sql similarity index 100% rename from atuin-server-postgres/migrations/20220610074049_history-length.sql rename to crates/atuin-server-postgres/migrations/20220610074049_history-length.sql diff --git a/atuin-server-postgres/migrations/20230315220537_drop-events.sql b/crates/atuin-server-postgres/migrations/20230315220537_drop-events.sql similarity index 100% rename from atuin-server-postgres/migrations/20230315220537_drop-events.sql rename to crates/atuin-server-postgres/migrations/20230315220537_drop-events.sql diff --git a/atuin-server-postgres/migrations/20230315224203_create-deleted.sql b/crates/atuin-server-postgres/migrations/20230315224203_create-deleted.sql similarity index 100% rename from atuin-server-postgres/migrations/20230315224203_create-deleted.sql rename to crates/atuin-server-postgres/migrations/20230315224203_create-deleted.sql diff --git a/atuin-server-postgres/migrations/20230515221038_trigger-delete-only.sql b/crates/atuin-server-postgres/migrations/20230515221038_trigger-delete-only.sql similarity index 100% rename from atuin-server-postgres/migrations/20230515221038_trigger-delete-only.sql rename to crates/atuin-server-postgres/migrations/20230515221038_trigger-delete-only.sql diff --git a/atuin-server-postgres/migrations/20230623070418_records.sql b/crates/atuin-server-postgres/migrations/20230623070418_records.sql similarity index 100% rename from atuin-server-postgres/migrations/20230623070418_records.sql rename to crates/atuin-server-postgres/migrations/20230623070418_records.sql diff --git a/atuin-server-postgres/migrations/20231202170508_create-store.sql b/crates/atuin-server-postgres/migrations/20231202170508_create-store.sql similarity index 100% rename from atuin-server-postgres/migrations/20231202170508_create-store.sql rename to crates/atuin-server-postgres/migrations/20231202170508_create-store.sql diff --git a/atuin-server-postgres/migrations/20231203124112_create-store-idx.sql b/crates/atuin-server-postgres/migrations/20231203124112_create-store-idx.sql similarity index 100% rename from atuin-server-postgres/migrations/20231203124112_create-store-idx.sql rename to crates/atuin-server-postgres/migrations/20231203124112_create-store-idx.sql diff --git a/atuin-server-postgres/migrations/20240108124837_drop-some-defaults.sql b/crates/atuin-server-postgres/migrations/20240108124837_drop-some-defaults.sql similarity index 100% rename from atuin-server-postgres/migrations/20240108124837_drop-some-defaults.sql rename to crates/atuin-server-postgres/migrations/20240108124837_drop-some-defaults.sql diff --git a/atuin-server-postgres/src/lib.rs b/crates/atuin-server-postgres/src/lib.rs similarity index 100% rename from atuin-server-postgres/src/lib.rs rename to crates/atuin-server-postgres/src/lib.rs diff --git a/atuin-server-postgres/src/wrappers.rs b/crates/atuin-server-postgres/src/wrappers.rs similarity index 100% rename from atuin-server-postgres/src/wrappers.rs rename to crates/atuin-server-postgres/src/wrappers.rs diff --git a/atuin-server/Cargo.toml b/crates/atuin-server/Cargo.toml similarity index 100% rename from atuin-server/Cargo.toml rename to crates/atuin-server/Cargo.toml diff --git a/atuin-server/server.toml b/crates/atuin-server/server.toml similarity index 100% rename from atuin-server/server.toml rename to crates/atuin-server/server.toml diff --git a/atuin-server/src/handlers/history.rs b/crates/atuin-server/src/handlers/history.rs similarity index 100% rename from atuin-server/src/handlers/history.rs rename to crates/atuin-server/src/handlers/history.rs diff --git a/atuin-server/src/handlers/mod.rs b/crates/atuin-server/src/handlers/mod.rs similarity index 100% rename from atuin-server/src/handlers/mod.rs rename to crates/atuin-server/src/handlers/mod.rs diff --git a/atuin-server/src/handlers/record.rs b/crates/atuin-server/src/handlers/record.rs similarity index 100% rename from atuin-server/src/handlers/record.rs rename to crates/atuin-server/src/handlers/record.rs diff --git a/atuin-server/src/handlers/status.rs b/crates/atuin-server/src/handlers/status.rs similarity index 100% rename from atuin-server/src/handlers/status.rs rename to crates/atuin-server/src/handlers/status.rs diff --git a/atuin-server/src/handlers/user.rs b/crates/atuin-server/src/handlers/user.rs similarity index 100% rename from atuin-server/src/handlers/user.rs rename to crates/atuin-server/src/handlers/user.rs diff --git a/atuin-server/src/handlers/v0/me.rs b/crates/atuin-server/src/handlers/v0/me.rs similarity index 100% rename from atuin-server/src/handlers/v0/me.rs rename to crates/atuin-server/src/handlers/v0/me.rs diff --git a/atuin-server/src/handlers/v0/mod.rs b/crates/atuin-server/src/handlers/v0/mod.rs similarity index 100% rename from atuin-server/src/handlers/v0/mod.rs rename to crates/atuin-server/src/handlers/v0/mod.rs diff --git a/atuin-server/src/handlers/v0/record.rs b/crates/atuin-server/src/handlers/v0/record.rs similarity index 100% rename from atuin-server/src/handlers/v0/record.rs rename to crates/atuin-server/src/handlers/v0/record.rs diff --git a/atuin-server/src/handlers/v0/store.rs b/crates/atuin-server/src/handlers/v0/store.rs similarity index 100% rename from atuin-server/src/handlers/v0/store.rs rename to crates/atuin-server/src/handlers/v0/store.rs diff --git a/atuin-server/src/lib.rs b/crates/atuin-server/src/lib.rs similarity index 100% rename from atuin-server/src/lib.rs rename to crates/atuin-server/src/lib.rs diff --git a/atuin-server/src/metrics.rs b/crates/atuin-server/src/metrics.rs similarity index 100% rename from atuin-server/src/metrics.rs rename to crates/atuin-server/src/metrics.rs diff --git a/atuin-server/src/router.rs b/crates/atuin-server/src/router.rs similarity index 100% rename from atuin-server/src/router.rs rename to crates/atuin-server/src/router.rs diff --git a/atuin-server/src/settings.rs b/crates/atuin-server/src/settings.rs similarity index 100% rename from atuin-server/src/settings.rs rename to crates/atuin-server/src/settings.rs diff --git a/atuin-server/src/utils.rs b/crates/atuin-server/src/utils.rs similarity index 100% rename from atuin-server/src/utils.rs rename to crates/atuin-server/src/utils.rs diff --git a/atuin/Cargo.toml b/crates/atuin/Cargo.toml similarity index 100% rename from atuin/Cargo.toml rename to crates/atuin/Cargo.toml diff --git a/atuin/LICENSE b/crates/atuin/LICENSE similarity index 100% rename from atuin/LICENSE rename to crates/atuin/LICENSE diff --git a/atuin/README.md b/crates/atuin/README.md similarity index 100% rename from atuin/README.md rename to crates/atuin/README.md diff --git a/atuin/build.rs b/crates/atuin/build.rs similarity index 100% rename from atuin/build.rs rename to crates/atuin/build.rs diff --git a/crates/atuin/src/command/CONTRIBUTORS b/crates/atuin/src/command/CONTRIBUTORS new file mode 120000 index 00000000..1ca4115a --- /dev/null +++ b/crates/atuin/src/command/CONTRIBUTORS @@ -0,0 +1 @@ +../../../../CONTRIBUTORS \ No newline at end of file diff --git a/atuin/src/command/client.rs b/crates/atuin/src/command/client.rs similarity index 100% rename from atuin/src/command/client.rs rename to crates/atuin/src/command/client.rs diff --git a/atuin/src/command/client/account.rs b/crates/atuin/src/command/client/account.rs similarity index 100% rename from atuin/src/command/client/account.rs rename to crates/atuin/src/command/client/account.rs diff --git a/atuin/src/command/client/account/change_password.rs b/crates/atuin/src/command/client/account/change_password.rs similarity index 100% rename from atuin/src/command/client/account/change_password.rs rename to crates/atuin/src/command/client/account/change_password.rs diff --git a/atuin/src/command/client/account/delete.rs b/crates/atuin/src/command/client/account/delete.rs similarity index 100% rename from atuin/src/command/client/account/delete.rs rename to crates/atuin/src/command/client/account/delete.rs diff --git a/atuin/src/command/client/account/login.rs b/crates/atuin/src/command/client/account/login.rs similarity index 100% rename from atuin/src/command/client/account/login.rs rename to crates/atuin/src/command/client/account/login.rs diff --git a/atuin/src/command/client/account/logout.rs b/crates/atuin/src/command/client/account/logout.rs similarity index 100% rename from atuin/src/command/client/account/logout.rs rename to crates/atuin/src/command/client/account/logout.rs diff --git a/atuin/src/command/client/account/register.rs b/crates/atuin/src/command/client/account/register.rs similarity index 100% rename from atuin/src/command/client/account/register.rs rename to crates/atuin/src/command/client/account/register.rs diff --git a/atuin/src/command/client/default_config.rs b/crates/atuin/src/command/client/default_config.rs similarity index 100% rename from atuin/src/command/client/default_config.rs rename to crates/atuin/src/command/client/default_config.rs diff --git a/atuin/src/command/client/doctor.rs b/crates/atuin/src/command/client/doctor.rs similarity index 100% rename from atuin/src/command/client/doctor.rs rename to crates/atuin/src/command/client/doctor.rs diff --git a/atuin/src/command/client/dotfiles.rs b/crates/atuin/src/command/client/dotfiles.rs similarity index 100% rename from atuin/src/command/client/dotfiles.rs rename to crates/atuin/src/command/client/dotfiles.rs diff --git a/atuin/src/command/client/dotfiles/alias.rs b/crates/atuin/src/command/client/dotfiles/alias.rs similarity index 100% rename from atuin/src/command/client/dotfiles/alias.rs rename to crates/atuin/src/command/client/dotfiles/alias.rs diff --git a/atuin/src/command/client/history.rs b/crates/atuin/src/command/client/history.rs similarity index 100% rename from atuin/src/command/client/history.rs rename to crates/atuin/src/command/client/history.rs diff --git a/atuin/src/command/client/import.rs b/crates/atuin/src/command/client/import.rs similarity index 100% rename from atuin/src/command/client/import.rs rename to crates/atuin/src/command/client/import.rs diff --git a/atuin/src/command/client/info.rs b/crates/atuin/src/command/client/info.rs similarity index 100% rename from atuin/src/command/client/info.rs rename to crates/atuin/src/command/client/info.rs diff --git a/atuin/src/command/client/init.rs b/crates/atuin/src/command/client/init.rs similarity index 100% rename from atuin/src/command/client/init.rs rename to crates/atuin/src/command/client/init.rs diff --git a/atuin/src/command/client/init/bash.rs b/crates/atuin/src/command/client/init/bash.rs similarity index 100% rename from atuin/src/command/client/init/bash.rs rename to crates/atuin/src/command/client/init/bash.rs diff --git a/atuin/src/command/client/init/fish.rs b/crates/atuin/src/command/client/init/fish.rs similarity index 100% rename from atuin/src/command/client/init/fish.rs rename to crates/atuin/src/command/client/init/fish.rs diff --git a/atuin/src/command/client/init/xonsh.rs b/crates/atuin/src/command/client/init/xonsh.rs similarity index 100% rename from atuin/src/command/client/init/xonsh.rs rename to crates/atuin/src/command/client/init/xonsh.rs diff --git a/atuin/src/command/client/init/zsh.rs b/crates/atuin/src/command/client/init/zsh.rs similarity index 100% rename from atuin/src/command/client/init/zsh.rs rename to crates/atuin/src/command/client/init/zsh.rs diff --git a/atuin/src/command/client/kv.rs b/crates/atuin/src/command/client/kv.rs similarity index 100% rename from atuin/src/command/client/kv.rs rename to crates/atuin/src/command/client/kv.rs diff --git a/atuin/src/command/client/search.rs b/crates/atuin/src/command/client/search.rs similarity index 100% rename from atuin/src/command/client/search.rs rename to crates/atuin/src/command/client/search.rs diff --git a/atuin/src/command/client/search/cursor.rs b/crates/atuin/src/command/client/search/cursor.rs similarity index 100% rename from atuin/src/command/client/search/cursor.rs rename to crates/atuin/src/command/client/search/cursor.rs diff --git a/atuin/src/command/client/search/duration.rs b/crates/atuin/src/command/client/search/duration.rs similarity index 100% rename from atuin/src/command/client/search/duration.rs rename to crates/atuin/src/command/client/search/duration.rs diff --git a/atuin/src/command/client/search/engines.rs b/crates/atuin/src/command/client/search/engines.rs similarity index 100% rename from atuin/src/command/client/search/engines.rs rename to crates/atuin/src/command/client/search/engines.rs diff --git a/atuin/src/command/client/search/engines/db.rs b/crates/atuin/src/command/client/search/engines/db.rs similarity index 100% rename from atuin/src/command/client/search/engines/db.rs rename to crates/atuin/src/command/client/search/engines/db.rs diff --git a/atuin/src/command/client/search/engines/skim.rs b/crates/atuin/src/command/client/search/engines/skim.rs similarity index 100% rename from atuin/src/command/client/search/engines/skim.rs rename to crates/atuin/src/command/client/search/engines/skim.rs diff --git a/atuin/src/command/client/search/history_list.rs b/crates/atuin/src/command/client/search/history_list.rs similarity index 100% rename from atuin/src/command/client/search/history_list.rs rename to crates/atuin/src/command/client/search/history_list.rs diff --git a/atuin/src/command/client/search/inspector.rs b/crates/atuin/src/command/client/search/inspector.rs similarity index 100% rename from atuin/src/command/client/search/inspector.rs rename to crates/atuin/src/command/client/search/inspector.rs diff --git a/atuin/src/command/client/search/interactive.rs b/crates/atuin/src/command/client/search/interactive.rs similarity index 100% rename from atuin/src/command/client/search/interactive.rs rename to crates/atuin/src/command/client/search/interactive.rs diff --git a/atuin/src/command/client/search/sort.rs b/crates/atuin/src/command/client/search/sort.rs similarity index 100% rename from atuin/src/command/client/search/sort.rs rename to crates/atuin/src/command/client/search/sort.rs diff --git a/atuin/src/command/client/stats.rs b/crates/atuin/src/command/client/stats.rs similarity index 100% rename from atuin/src/command/client/stats.rs rename to crates/atuin/src/command/client/stats.rs diff --git a/atuin/src/command/client/store.rs b/crates/atuin/src/command/client/store.rs similarity index 100% rename from atuin/src/command/client/store.rs rename to crates/atuin/src/command/client/store.rs diff --git a/atuin/src/command/client/store/pull.rs b/crates/atuin/src/command/client/store/pull.rs similarity index 100% rename from atuin/src/command/client/store/pull.rs rename to crates/atuin/src/command/client/store/pull.rs diff --git a/atuin/src/command/client/store/purge.rs b/crates/atuin/src/command/client/store/purge.rs similarity index 100% rename from atuin/src/command/client/store/purge.rs rename to crates/atuin/src/command/client/store/purge.rs diff --git a/atuin/src/command/client/store/push.rs b/crates/atuin/src/command/client/store/push.rs similarity index 100% rename from atuin/src/command/client/store/push.rs rename to crates/atuin/src/command/client/store/push.rs diff --git a/atuin/src/command/client/store/rebuild.rs b/crates/atuin/src/command/client/store/rebuild.rs similarity index 100% rename from atuin/src/command/client/store/rebuild.rs rename to crates/atuin/src/command/client/store/rebuild.rs diff --git a/atuin/src/command/client/store/rekey.rs b/crates/atuin/src/command/client/store/rekey.rs similarity index 100% rename from atuin/src/command/client/store/rekey.rs rename to crates/atuin/src/command/client/store/rekey.rs diff --git a/atuin/src/command/client/store/verify.rs b/crates/atuin/src/command/client/store/verify.rs similarity index 100% rename from atuin/src/command/client/store/verify.rs rename to crates/atuin/src/command/client/store/verify.rs diff --git a/atuin/src/command/client/sync.rs b/crates/atuin/src/command/client/sync.rs similarity index 100% rename from atuin/src/command/client/sync.rs rename to crates/atuin/src/command/client/sync.rs diff --git a/atuin/src/command/client/sync/status.rs b/crates/atuin/src/command/client/sync/status.rs similarity index 100% rename from atuin/src/command/client/sync/status.rs rename to crates/atuin/src/command/client/sync/status.rs diff --git a/atuin/src/command/contributors.rs b/crates/atuin/src/command/contributors.rs similarity index 100% rename from atuin/src/command/contributors.rs rename to crates/atuin/src/command/contributors.rs diff --git a/atuin/src/command/gen_completions.rs b/crates/atuin/src/command/gen_completions.rs similarity index 100% rename from atuin/src/command/gen_completions.rs rename to crates/atuin/src/command/gen_completions.rs diff --git a/atuin/src/command/mod.rs b/crates/atuin/src/command/mod.rs similarity index 100% rename from atuin/src/command/mod.rs rename to crates/atuin/src/command/mod.rs diff --git a/atuin/src/command/server.rs b/crates/atuin/src/command/server.rs similarity index 100% rename from atuin/src/command/server.rs rename to crates/atuin/src/command/server.rs diff --git a/atuin/src/main.rs b/crates/atuin/src/main.rs similarity index 100% rename from atuin/src/main.rs rename to crates/atuin/src/main.rs diff --git a/atuin/src/shell/atuin.bash b/crates/atuin/src/shell/atuin.bash similarity index 100% rename from atuin/src/shell/atuin.bash rename to crates/atuin/src/shell/atuin.bash diff --git a/atuin/src/shell/atuin.fish b/crates/atuin/src/shell/atuin.fish similarity index 100% rename from atuin/src/shell/atuin.fish rename to crates/atuin/src/shell/atuin.fish diff --git a/atuin/src/shell/atuin.nu b/crates/atuin/src/shell/atuin.nu similarity index 100% rename from atuin/src/shell/atuin.nu rename to crates/atuin/src/shell/atuin.nu diff --git a/atuin/src/shell/atuin.xsh b/crates/atuin/src/shell/atuin.xsh similarity index 100% rename from atuin/src/shell/atuin.xsh rename to crates/atuin/src/shell/atuin.xsh diff --git a/atuin/src/shell/atuin.zsh b/crates/atuin/src/shell/atuin.zsh similarity index 100% rename from atuin/src/shell/atuin.zsh rename to crates/atuin/src/shell/atuin.zsh diff --git a/atuin/src/sync.rs b/crates/atuin/src/sync.rs similarity index 100% rename from atuin/src/sync.rs rename to crates/atuin/src/sync.rs diff --git a/atuin/tests/common/mod.rs b/crates/atuin/tests/common/mod.rs similarity index 100% rename from atuin/tests/common/mod.rs rename to crates/atuin/tests/common/mod.rs diff --git a/atuin/tests/sync.rs b/crates/atuin/tests/sync.rs similarity index 100% rename from atuin/tests/sync.rs rename to crates/atuin/tests/sync.rs diff --git a/atuin/tests/users.rs b/crates/atuin/tests/users.rs similarity index 100% rename from atuin/tests/users.rs rename to crates/atuin/tests/users.rs