From 98b07908b370e50033485b9a090ee545c366f0c3 Mon Sep 17 00:00:00 2001 From: Danny Tatom Date: Fri, 20 Sep 2024 18:10:51 -0700 Subject: [PATCH] chore: move things around --- Cargo.toml | 3 +-- devbox.json | 6 ++---- {api => mist/api}/Cargo.toml | 0 {api => mist/api}/src/app.rs | 0 {api => mist/api}/src/handlers.rs | 0 {api => mist/api}/src/handlers/keys.rs | 0 {api => mist/api}/src/handlers/keys/create.rs | 0 {api => mist/api}/src/handlers/keys/destroy.rs | 0 {api => mist/api}/src/handlers/keys/get.rs | 0 {api => mist/api}/src/handlers/keys/list.rs | 0 {api => mist/api}/src/handlers/keys/preferred.rs | 0 {api => mist/api}/src/handlers/keys/update.rs | 0 {api => mist/api}/src/handlers/keys/value.rs | 0 {api => mist/api}/src/handlers/services.rs | 0 {api => mist/api}/src/handlers/services/create.rs | 0 {api => mist/api}/src/handlers/services/destroy.rs | 0 {api => mist/api}/src/handlers/services/get.rs | 0 {api => mist/api}/src/handlers/services/list.rs | 0 {api => mist/api}/src/handlers/services/update.rs | 0 {api => mist/api}/src/lib.rs | 0 {api => mist/api}/src/middleware.rs | 0 {api => mist/api}/src/middleware/auth.rs | 0 {api => mist/api}/src/state.rs | 0 {authn => mist/authn}/Cargo.toml | 0 {authn => mist/authn}/src/app.rs | 0 {authn => mist/authn}/src/crypto.rs | 0 {authn => mist/authn}/src/crypto/oidc.rs | 0 {authn => mist/authn}/src/handlers.rs | 0 {authn => mist/authn}/src/handlers/create.rs | 0 {authn => mist/authn}/src/handlers/hook.rs | 0 {authn => mist/authn}/src/handlers/kill.rs | 0 {authn => mist/authn}/src/handlers/verify.rs | 0 {authn => mist/authn}/src/handlers/wait.rs | 0 {authn => mist/authn}/src/handlers/who.rs | 0 {authn => mist/authn}/src/lib.rs | 0 {authn => mist/authn}/src/state.rs | 0 {authn => mist/authn}/src/webhooks.rs | 0 {common => mist/common}/Cargo.toml | 0 {common => mist/common}/src/crypto.rs | 0 {common => mist/common}/src/env.rs | 0 {common => mist/common}/src/error.rs | 0 {common => mist/common}/src/lib.rs | 0 {db => mist/db}/.sqlx/lib.rs | 0 ...97a81a447e9cdceea1dcf074c062edc410988ceef7add624a9a.json | 0 ...363478d09617ac58883fd0f7f0d2ef588417fc8d16ed22b19f1.json | 0 ...ac829b7e5327e49915f3a9c1fe0718133dec0d4d99ffc9e2e8d.json | 0 ...8c042afb9afb48e2a7556215d9f8af7d6738ce9f88ce0bf4879.json | 0 ...5e57b37282ed3ac1b79113441156dc9166c83a0a93e91c12229.json | 0 ...4985f250a57eca7b7d7e3636a48fc23d59b292b6a1cb158398d.json | 0 ...cbb72c41bf0de202998f5a5f3722dff3d407b655c94d44e28de.json | 0 ...7831588b600bd2567ba8acc7d853453a323a1c8bd1661861718.json | 0 ...ddfc6dfdcf1d68730a5dcc07cddbcae5823e1a1cf11f20d446f.json | 0 ...3b89bccef580303d6b543ac4be91c7cb6066766fc2b05b39d3b.json | 0 ...efb59bfb73cf69054190098399644896f17e67f4c5d6e6fbaf3.json | 0 ...8d544b9f7a50bef04ba8a3ad371b81a64acc47b6bb436952f44.json | 0 ...02be3a5d7c8008644107bcdd1e954fe5a1c577185f318c0c1e5.json | 0 ...b1f9e978fdac43dac0b0af70f27a28df80e8344d3a3e257ddf7.json | 0 ...98b8b0be76c7d039eb20361e31c299b26efd170279c9a03d20d.json | 0 ...06dbf68028d6683e6262e5610882fdb3d35d95ba187a22d3292.json | 0 ...c2ba3115bf6cc9a0677e44edd481daf0526bb3e4ac229e2838f.json | 0 ...be6d71a1314e3ba4738a9313550ceff8486a753715bc60ee005.json | 0 ...241ad53f7a9cec851a8d95bc19c3b091f38f1ec34121ed83a70.json | 0 {db => mist/db}/Cargo.toml | 0 .../20240904163543_create_extension_uuid.down.sql | 0 .../migrations/20240904163543_create_extension_uuid.up.sql | 0 .../20240904191026_create_set_updated_at_func.down.sql | 0 .../20240904191026_create_set_updated_at_func.up.sql | 0 .../db}/migrations/20240904191112_create_services.down.sql | 0 .../db}/migrations/20240904191112_create_services.up.sql | 0 .../db}/migrations/20240907144956_create_keys.down.sql | 0 .../db}/migrations/20240907144956_create_keys.up.sql | 0 .../db}/migrations/20240908190419_create_users.down.sql | 0 .../db}/migrations/20240908190419_create_users.up.sql | 0 .../migrations/20240908190542_create_identifiers.down.sql | 0 .../db}/migrations/20240908190542_create_identifiers.up.sql | 0 .../migrations/20240908211024_create_definitions.down.sql | 0 .../db}/migrations/20240908211024_create_definitions.up.sql | 0 {db => mist/db}/schema.sql | 0 {db => mist/db}/sql/definitions/create.sql | 0 {db => mist/db}/sql/identifiers/create.sql | 0 {db => mist/db}/sql/identifiers/get_by_value.sql | 0 {db => mist/db}/sql/keys/bump-priority.sql | 0 {db => mist/db}/sql/keys/create.sql | 0 {db => mist/db}/sql/keys/destroy.sql | 0 {db => mist/db}/sql/keys/get.sql | 0 {db => mist/db}/sql/keys/list.sql | 0 {db => mist/db}/sql/keys/preferred.sql | 0 {db => mist/db}/sql/keys/update.sql | 0 {db => mist/db}/sql/services/create.sql | 0 {db => mist/db}/sql/services/destroy.sql | 0 {db => mist/db}/sql/services/get.sql | 0 {db => mist/db}/sql/services/get_by_name.sql | 0 {db => mist/db}/sql/services/get_default_definition.sql | 0 {db => mist/db}/sql/services/list.sql | 0 {db => mist/db}/sql/services/update.sql | 0 {db => mist/db}/sql/users/create.sql | 0 {db => mist/db}/sql/users/get.sql | 0 {db => mist/db}/src/lib.rs | 0 {db => mist/db}/src/models.rs | 0 {db => mist/db}/src/models/definition.rs | 0 {db => mist/db}/src/models/identifier.rs | 0 {db => mist/db}/src/models/key.rs | 0 {db => mist/db}/src/models/service.rs | 0 {db => mist/db}/src/models/user.rs | 0 {db => mist/db}/src/repos.rs | 0 {db => mist/db}/src/repos/identifiers.rs | 0 {db => mist/db}/src/repos/keys.rs | 0 {db => mist/db}/src/repos/services.rs | 0 {db => mist/db}/src/repos/users.rs | 0 {runner => mist/runner}/Cargo.toml | 0 {runner => mist/runner}/src/main.rs | 0 111 files changed, 3 insertions(+), 6 deletions(-) rename {api => mist/api}/Cargo.toml (100%) rename {api => mist/api}/src/app.rs (100%) rename {api => mist/api}/src/handlers.rs (100%) rename {api => mist/api}/src/handlers/keys.rs (100%) rename {api => mist/api}/src/handlers/keys/create.rs (100%) rename {api => mist/api}/src/handlers/keys/destroy.rs (100%) rename {api => mist/api}/src/handlers/keys/get.rs (100%) rename {api => mist/api}/src/handlers/keys/list.rs (100%) rename {api => mist/api}/src/handlers/keys/preferred.rs (100%) rename {api => mist/api}/src/handlers/keys/update.rs (100%) rename {api => mist/api}/src/handlers/keys/value.rs (100%) rename {api => mist/api}/src/handlers/services.rs (100%) rename {api => mist/api}/src/handlers/services/create.rs (100%) rename {api => mist/api}/src/handlers/services/destroy.rs (100%) rename {api => mist/api}/src/handlers/services/get.rs (100%) rename {api => mist/api}/src/handlers/services/list.rs (100%) rename {api => mist/api}/src/handlers/services/update.rs (100%) rename {api => mist/api}/src/lib.rs (100%) rename {api => mist/api}/src/middleware.rs (100%) rename {api => mist/api}/src/middleware/auth.rs (100%) rename {api => mist/api}/src/state.rs (100%) rename {authn => mist/authn}/Cargo.toml (100%) rename {authn => mist/authn}/src/app.rs (100%) rename {authn => mist/authn}/src/crypto.rs (100%) rename {authn => mist/authn}/src/crypto/oidc.rs (100%) rename {authn => mist/authn}/src/handlers.rs (100%) rename {authn => mist/authn}/src/handlers/create.rs (100%) rename {authn => mist/authn}/src/handlers/hook.rs (100%) rename {authn => mist/authn}/src/handlers/kill.rs (100%) rename {authn => mist/authn}/src/handlers/verify.rs (100%) rename {authn => mist/authn}/src/handlers/wait.rs (100%) rename {authn => mist/authn}/src/handlers/who.rs (100%) rename {authn => mist/authn}/src/lib.rs (100%) rename {authn => mist/authn}/src/state.rs (100%) rename {authn => mist/authn}/src/webhooks.rs (100%) rename {common => mist/common}/Cargo.toml (100%) rename {common => mist/common}/src/crypto.rs (100%) rename {common => mist/common}/src/env.rs (100%) rename {common => mist/common}/src/error.rs (100%) rename {common => mist/common}/src/lib.rs (100%) rename {db => mist/db}/.sqlx/lib.rs (100%) rename {db => mist/db}/.sqlx/query-07c48a8ec4d9b97a81a447e9cdceea1dcf074c062edc410988ceef7add624a9a.json (100%) rename {db => mist/db}/.sqlx/query-1df948bdf5841363478d09617ac58883fd0f7f0d2ef588417fc8d16ed22b19f1.json (100%) rename {db => mist/db}/.sqlx/query-23db55b81f4dfac829b7e5327e49915f3a9c1fe0718133dec0d4d99ffc9e2e8d.json (100%) rename {db => mist/db}/.sqlx/query-3e0695d175a688c042afb9afb48e2a7556215d9f8af7d6738ce9f88ce0bf4879.json (100%) rename {db => mist/db}/.sqlx/query-48c5001d8a5b15e57b37282ed3ac1b79113441156dc9166c83a0a93e91c12229.json (100%) rename {db => mist/db}/.sqlx/query-5eddd4e88b12c4985f250a57eca7b7d7e3636a48fc23d59b292b6a1cb158398d.json (100%) rename {db => mist/db}/.sqlx/query-6f48db2b0e00fcbb72c41bf0de202998f5a5f3722dff3d407b655c94d44e28de.json (100%) rename {db => mist/db}/.sqlx/query-70b2732d03b4f7831588b600bd2567ba8acc7d853453a323a1c8bd1661861718.json (100%) rename {db => mist/db}/.sqlx/query-788d7402d01f7ddfc6dfdcf1d68730a5dcc07cddbcae5823e1a1cf11f20d446f.json (100%) rename {db => mist/db}/.sqlx/query-83b6c2df5ddea3b89bccef580303d6b543ac4be91c7cb6066766fc2b05b39d3b.json (100%) rename {db => mist/db}/.sqlx/query-8b6b93c868f78efb59bfb73cf69054190098399644896f17e67f4c5d6e6fbaf3.json (100%) rename {db => mist/db}/.sqlx/query-92525eeb0416a8d544b9f7a50bef04ba8a3ad371b81a64acc47b6bb436952f44.json (100%) rename {db => mist/db}/.sqlx/query-92b4489cd70f402be3a5d7c8008644107bcdd1e954fe5a1c577185f318c0c1e5.json (100%) rename {db => mist/db}/.sqlx/query-96121cb75106fb1f9e978fdac43dac0b0af70f27a28df80e8344d3a3e257ddf7.json (100%) rename {db => mist/db}/.sqlx/query-a4dbf9f8dea8898b8b0be76c7d039eb20361e31c299b26efd170279c9a03d20d.json (100%) rename {db => mist/db}/.sqlx/query-e754fd6f1206706dbf68028d6683e6262e5610882fdb3d35d95ba187a22d3292.json (100%) rename {db => mist/db}/.sqlx/query-f36efd4d9f41dc2ba3115bf6cc9a0677e44edd481daf0526bb3e4ac229e2838f.json (100%) rename {db => mist/db}/.sqlx/query-f586092886b4dbe6d71a1314e3ba4738a9313550ceff8486a753715bc60ee005.json (100%) rename {db => mist/db}/.sqlx/query-f641e6a140722241ad53f7a9cec851a8d95bc19c3b091f38f1ec34121ed83a70.json (100%) rename {db => mist/db}/Cargo.toml (100%) rename {db => mist/db}/migrations/20240904163543_create_extension_uuid.down.sql (100%) rename {db => mist/db}/migrations/20240904163543_create_extension_uuid.up.sql (100%) rename {db => mist/db}/migrations/20240904191026_create_set_updated_at_func.down.sql (100%) rename {db => mist/db}/migrations/20240904191026_create_set_updated_at_func.up.sql (100%) rename {db => mist/db}/migrations/20240904191112_create_services.down.sql (100%) rename {db => mist/db}/migrations/20240904191112_create_services.up.sql (100%) rename {db => mist/db}/migrations/20240907144956_create_keys.down.sql (100%) rename {db => mist/db}/migrations/20240907144956_create_keys.up.sql (100%) rename {db => mist/db}/migrations/20240908190419_create_users.down.sql (100%) rename {db => mist/db}/migrations/20240908190419_create_users.up.sql (100%) rename {db => mist/db}/migrations/20240908190542_create_identifiers.down.sql (100%) rename {db => mist/db}/migrations/20240908190542_create_identifiers.up.sql (100%) rename {db => mist/db}/migrations/20240908211024_create_definitions.down.sql (100%) rename {db => mist/db}/migrations/20240908211024_create_definitions.up.sql (100%) rename {db => mist/db}/schema.sql (100%) rename {db => mist/db}/sql/definitions/create.sql (100%) rename {db => mist/db}/sql/identifiers/create.sql (100%) rename {db => mist/db}/sql/identifiers/get_by_value.sql (100%) rename {db => mist/db}/sql/keys/bump-priority.sql (100%) rename {db => mist/db}/sql/keys/create.sql (100%) rename {db => mist/db}/sql/keys/destroy.sql (100%) rename {db => mist/db}/sql/keys/get.sql (100%) rename {db => mist/db}/sql/keys/list.sql (100%) rename {db => mist/db}/sql/keys/preferred.sql (100%) rename {db => mist/db}/sql/keys/update.sql (100%) rename {db => mist/db}/sql/services/create.sql (100%) rename {db => mist/db}/sql/services/destroy.sql (100%) rename {db => mist/db}/sql/services/get.sql (100%) rename {db => mist/db}/sql/services/get_by_name.sql (100%) rename {db => mist/db}/sql/services/get_default_definition.sql (100%) rename {db => mist/db}/sql/services/list.sql (100%) rename {db => mist/db}/sql/services/update.sql (100%) rename {db => mist/db}/sql/users/create.sql (100%) rename {db => mist/db}/sql/users/get.sql (100%) rename {db => mist/db}/src/lib.rs (100%) rename {db => mist/db}/src/models.rs (100%) rename {db => mist/db}/src/models/definition.rs (100%) rename {db => mist/db}/src/models/identifier.rs (100%) rename {db => mist/db}/src/models/key.rs (100%) rename {db => mist/db}/src/models/service.rs (100%) rename {db => mist/db}/src/models/user.rs (100%) rename {db => mist/db}/src/repos.rs (100%) rename {db => mist/db}/src/repos/identifiers.rs (100%) rename {db => mist/db}/src/repos/keys.rs (100%) rename {db => mist/db}/src/repos/services.rs (100%) rename {db => mist/db}/src/repos/users.rs (100%) rename {runner => mist/runner}/Cargo.toml (100%) rename {runner => mist/runner}/src/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 7c52cdf..64c6e7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,5 @@ [workspace] -members = ["api", "authn", "common", "db", "runner"] -exclude = ["demo"] +members = ["mist/*"] resolver = "2" [workspace.package] diff --git a/devbox.json b/devbox.json index b81a686..c54673e 100644 --- a/devbox.json +++ b/devbox.json @@ -21,16 +21,14 @@ "sqlx-cli": "latest", "toml-cli": "latest", "darwin.apple_sdk.frameworks.SystemConfiguration": { - "platforms": [ - "x86_64-darwin", - "aarch64-darwin" - ] + "platforms": ["x86_64-darwin", "aarch64-darwin"] } }, "shell": { "init_hook": [ "rustup override set $(toml get --raw $DEVBOX_PROJECT_ROOT/rust-toolchain.toml toolchain.channel)", "test -f .devbox/virtenv/postgresql_16/data/PG_VERSION && test -d .devbox/virtenv/postgresql_16/data/base || initdb", + "pre-commit install", "sh dev/devbox/hello.sh" ] } diff --git a/api/Cargo.toml b/mist/api/Cargo.toml similarity index 100% rename from api/Cargo.toml rename to mist/api/Cargo.toml diff --git a/api/src/app.rs b/mist/api/src/app.rs similarity index 100% rename from api/src/app.rs rename to mist/api/src/app.rs diff --git a/api/src/handlers.rs b/mist/api/src/handlers.rs similarity index 100% rename from api/src/handlers.rs rename to mist/api/src/handlers.rs diff --git a/api/src/handlers/keys.rs b/mist/api/src/handlers/keys.rs similarity index 100% rename from api/src/handlers/keys.rs rename to mist/api/src/handlers/keys.rs diff --git a/api/src/handlers/keys/create.rs b/mist/api/src/handlers/keys/create.rs similarity index 100% rename from api/src/handlers/keys/create.rs rename to mist/api/src/handlers/keys/create.rs diff --git a/api/src/handlers/keys/destroy.rs b/mist/api/src/handlers/keys/destroy.rs similarity index 100% rename from api/src/handlers/keys/destroy.rs rename to mist/api/src/handlers/keys/destroy.rs diff --git a/api/src/handlers/keys/get.rs b/mist/api/src/handlers/keys/get.rs similarity index 100% rename from api/src/handlers/keys/get.rs rename to mist/api/src/handlers/keys/get.rs diff --git a/api/src/handlers/keys/list.rs b/mist/api/src/handlers/keys/list.rs similarity index 100% rename from api/src/handlers/keys/list.rs rename to mist/api/src/handlers/keys/list.rs diff --git a/api/src/handlers/keys/preferred.rs b/mist/api/src/handlers/keys/preferred.rs similarity index 100% rename from api/src/handlers/keys/preferred.rs rename to mist/api/src/handlers/keys/preferred.rs diff --git a/api/src/handlers/keys/update.rs b/mist/api/src/handlers/keys/update.rs similarity index 100% rename from api/src/handlers/keys/update.rs rename to mist/api/src/handlers/keys/update.rs diff --git a/api/src/handlers/keys/value.rs b/mist/api/src/handlers/keys/value.rs similarity index 100% rename from api/src/handlers/keys/value.rs rename to mist/api/src/handlers/keys/value.rs diff --git a/api/src/handlers/services.rs b/mist/api/src/handlers/services.rs similarity index 100% rename from api/src/handlers/services.rs rename to mist/api/src/handlers/services.rs diff --git a/api/src/handlers/services/create.rs b/mist/api/src/handlers/services/create.rs similarity index 100% rename from api/src/handlers/services/create.rs rename to mist/api/src/handlers/services/create.rs diff --git a/api/src/handlers/services/destroy.rs b/mist/api/src/handlers/services/destroy.rs similarity index 100% rename from api/src/handlers/services/destroy.rs rename to mist/api/src/handlers/services/destroy.rs diff --git a/api/src/handlers/services/get.rs b/mist/api/src/handlers/services/get.rs similarity index 100% rename from api/src/handlers/services/get.rs rename to mist/api/src/handlers/services/get.rs diff --git a/api/src/handlers/services/list.rs b/mist/api/src/handlers/services/list.rs similarity index 100% rename from api/src/handlers/services/list.rs rename to mist/api/src/handlers/services/list.rs diff --git a/api/src/handlers/services/update.rs b/mist/api/src/handlers/services/update.rs similarity index 100% rename from api/src/handlers/services/update.rs rename to mist/api/src/handlers/services/update.rs diff --git a/api/src/lib.rs b/mist/api/src/lib.rs similarity index 100% rename from api/src/lib.rs rename to mist/api/src/lib.rs diff --git a/api/src/middleware.rs b/mist/api/src/middleware.rs similarity index 100% rename from api/src/middleware.rs rename to mist/api/src/middleware.rs diff --git a/api/src/middleware/auth.rs b/mist/api/src/middleware/auth.rs similarity index 100% rename from api/src/middleware/auth.rs rename to mist/api/src/middleware/auth.rs diff --git a/api/src/state.rs b/mist/api/src/state.rs similarity index 100% rename from api/src/state.rs rename to mist/api/src/state.rs diff --git a/authn/Cargo.toml b/mist/authn/Cargo.toml similarity index 100% rename from authn/Cargo.toml rename to mist/authn/Cargo.toml diff --git a/authn/src/app.rs b/mist/authn/src/app.rs similarity index 100% rename from authn/src/app.rs rename to mist/authn/src/app.rs diff --git a/authn/src/crypto.rs b/mist/authn/src/crypto.rs similarity index 100% rename from authn/src/crypto.rs rename to mist/authn/src/crypto.rs diff --git a/authn/src/crypto/oidc.rs b/mist/authn/src/crypto/oidc.rs similarity index 100% rename from authn/src/crypto/oidc.rs rename to mist/authn/src/crypto/oidc.rs diff --git a/authn/src/handlers.rs b/mist/authn/src/handlers.rs similarity index 100% rename from authn/src/handlers.rs rename to mist/authn/src/handlers.rs diff --git a/authn/src/handlers/create.rs b/mist/authn/src/handlers/create.rs similarity index 100% rename from authn/src/handlers/create.rs rename to mist/authn/src/handlers/create.rs diff --git a/authn/src/handlers/hook.rs b/mist/authn/src/handlers/hook.rs similarity index 100% rename from authn/src/handlers/hook.rs rename to mist/authn/src/handlers/hook.rs diff --git a/authn/src/handlers/kill.rs b/mist/authn/src/handlers/kill.rs similarity index 100% rename from authn/src/handlers/kill.rs rename to mist/authn/src/handlers/kill.rs diff --git a/authn/src/handlers/verify.rs b/mist/authn/src/handlers/verify.rs similarity index 100% rename from authn/src/handlers/verify.rs rename to mist/authn/src/handlers/verify.rs diff --git a/authn/src/handlers/wait.rs b/mist/authn/src/handlers/wait.rs similarity index 100% rename from authn/src/handlers/wait.rs rename to mist/authn/src/handlers/wait.rs diff --git a/authn/src/handlers/who.rs b/mist/authn/src/handlers/who.rs similarity index 100% rename from authn/src/handlers/who.rs rename to mist/authn/src/handlers/who.rs diff --git a/authn/src/lib.rs b/mist/authn/src/lib.rs similarity index 100% rename from authn/src/lib.rs rename to mist/authn/src/lib.rs diff --git a/authn/src/state.rs b/mist/authn/src/state.rs similarity index 100% rename from authn/src/state.rs rename to mist/authn/src/state.rs diff --git a/authn/src/webhooks.rs b/mist/authn/src/webhooks.rs similarity index 100% rename from authn/src/webhooks.rs rename to mist/authn/src/webhooks.rs diff --git a/common/Cargo.toml b/mist/common/Cargo.toml similarity index 100% rename from common/Cargo.toml rename to mist/common/Cargo.toml diff --git a/common/src/crypto.rs b/mist/common/src/crypto.rs similarity index 100% rename from common/src/crypto.rs rename to mist/common/src/crypto.rs diff --git a/common/src/env.rs b/mist/common/src/env.rs similarity index 100% rename from common/src/env.rs rename to mist/common/src/env.rs diff --git a/common/src/error.rs b/mist/common/src/error.rs similarity index 100% rename from common/src/error.rs rename to mist/common/src/error.rs diff --git a/common/src/lib.rs b/mist/common/src/lib.rs similarity index 100% rename from common/src/lib.rs rename to mist/common/src/lib.rs diff --git a/db/.sqlx/lib.rs b/mist/db/.sqlx/lib.rs similarity index 100% rename from db/.sqlx/lib.rs rename to mist/db/.sqlx/lib.rs diff --git a/db/.sqlx/query-07c48a8ec4d9b97a81a447e9cdceea1dcf074c062edc410988ceef7add624a9a.json b/mist/db/.sqlx/query-07c48a8ec4d9b97a81a447e9cdceea1dcf074c062edc410988ceef7add624a9a.json similarity index 100% rename from db/.sqlx/query-07c48a8ec4d9b97a81a447e9cdceea1dcf074c062edc410988ceef7add624a9a.json rename to mist/db/.sqlx/query-07c48a8ec4d9b97a81a447e9cdceea1dcf074c062edc410988ceef7add624a9a.json diff --git a/db/.sqlx/query-1df948bdf5841363478d09617ac58883fd0f7f0d2ef588417fc8d16ed22b19f1.json b/mist/db/.sqlx/query-1df948bdf5841363478d09617ac58883fd0f7f0d2ef588417fc8d16ed22b19f1.json similarity index 100% rename from db/.sqlx/query-1df948bdf5841363478d09617ac58883fd0f7f0d2ef588417fc8d16ed22b19f1.json rename to mist/db/.sqlx/query-1df948bdf5841363478d09617ac58883fd0f7f0d2ef588417fc8d16ed22b19f1.json diff --git a/db/.sqlx/query-23db55b81f4dfac829b7e5327e49915f3a9c1fe0718133dec0d4d99ffc9e2e8d.json b/mist/db/.sqlx/query-23db55b81f4dfac829b7e5327e49915f3a9c1fe0718133dec0d4d99ffc9e2e8d.json similarity index 100% rename from db/.sqlx/query-23db55b81f4dfac829b7e5327e49915f3a9c1fe0718133dec0d4d99ffc9e2e8d.json rename to mist/db/.sqlx/query-23db55b81f4dfac829b7e5327e49915f3a9c1fe0718133dec0d4d99ffc9e2e8d.json diff --git a/db/.sqlx/query-3e0695d175a688c042afb9afb48e2a7556215d9f8af7d6738ce9f88ce0bf4879.json b/mist/db/.sqlx/query-3e0695d175a688c042afb9afb48e2a7556215d9f8af7d6738ce9f88ce0bf4879.json similarity index 100% rename from db/.sqlx/query-3e0695d175a688c042afb9afb48e2a7556215d9f8af7d6738ce9f88ce0bf4879.json rename to mist/db/.sqlx/query-3e0695d175a688c042afb9afb48e2a7556215d9f8af7d6738ce9f88ce0bf4879.json diff --git a/db/.sqlx/query-48c5001d8a5b15e57b37282ed3ac1b79113441156dc9166c83a0a93e91c12229.json b/mist/db/.sqlx/query-48c5001d8a5b15e57b37282ed3ac1b79113441156dc9166c83a0a93e91c12229.json similarity index 100% rename from db/.sqlx/query-48c5001d8a5b15e57b37282ed3ac1b79113441156dc9166c83a0a93e91c12229.json rename to mist/db/.sqlx/query-48c5001d8a5b15e57b37282ed3ac1b79113441156dc9166c83a0a93e91c12229.json diff --git a/db/.sqlx/query-5eddd4e88b12c4985f250a57eca7b7d7e3636a48fc23d59b292b6a1cb158398d.json b/mist/db/.sqlx/query-5eddd4e88b12c4985f250a57eca7b7d7e3636a48fc23d59b292b6a1cb158398d.json similarity index 100% rename from db/.sqlx/query-5eddd4e88b12c4985f250a57eca7b7d7e3636a48fc23d59b292b6a1cb158398d.json rename to mist/db/.sqlx/query-5eddd4e88b12c4985f250a57eca7b7d7e3636a48fc23d59b292b6a1cb158398d.json diff --git a/db/.sqlx/query-6f48db2b0e00fcbb72c41bf0de202998f5a5f3722dff3d407b655c94d44e28de.json b/mist/db/.sqlx/query-6f48db2b0e00fcbb72c41bf0de202998f5a5f3722dff3d407b655c94d44e28de.json similarity index 100% rename from db/.sqlx/query-6f48db2b0e00fcbb72c41bf0de202998f5a5f3722dff3d407b655c94d44e28de.json rename to mist/db/.sqlx/query-6f48db2b0e00fcbb72c41bf0de202998f5a5f3722dff3d407b655c94d44e28de.json diff --git a/db/.sqlx/query-70b2732d03b4f7831588b600bd2567ba8acc7d853453a323a1c8bd1661861718.json b/mist/db/.sqlx/query-70b2732d03b4f7831588b600bd2567ba8acc7d853453a323a1c8bd1661861718.json similarity index 100% rename from db/.sqlx/query-70b2732d03b4f7831588b600bd2567ba8acc7d853453a323a1c8bd1661861718.json rename to mist/db/.sqlx/query-70b2732d03b4f7831588b600bd2567ba8acc7d853453a323a1c8bd1661861718.json diff --git a/db/.sqlx/query-788d7402d01f7ddfc6dfdcf1d68730a5dcc07cddbcae5823e1a1cf11f20d446f.json b/mist/db/.sqlx/query-788d7402d01f7ddfc6dfdcf1d68730a5dcc07cddbcae5823e1a1cf11f20d446f.json similarity index 100% rename from db/.sqlx/query-788d7402d01f7ddfc6dfdcf1d68730a5dcc07cddbcae5823e1a1cf11f20d446f.json rename to mist/db/.sqlx/query-788d7402d01f7ddfc6dfdcf1d68730a5dcc07cddbcae5823e1a1cf11f20d446f.json diff --git a/db/.sqlx/query-83b6c2df5ddea3b89bccef580303d6b543ac4be91c7cb6066766fc2b05b39d3b.json b/mist/db/.sqlx/query-83b6c2df5ddea3b89bccef580303d6b543ac4be91c7cb6066766fc2b05b39d3b.json similarity index 100% rename from db/.sqlx/query-83b6c2df5ddea3b89bccef580303d6b543ac4be91c7cb6066766fc2b05b39d3b.json rename to mist/db/.sqlx/query-83b6c2df5ddea3b89bccef580303d6b543ac4be91c7cb6066766fc2b05b39d3b.json diff --git a/db/.sqlx/query-8b6b93c868f78efb59bfb73cf69054190098399644896f17e67f4c5d6e6fbaf3.json b/mist/db/.sqlx/query-8b6b93c868f78efb59bfb73cf69054190098399644896f17e67f4c5d6e6fbaf3.json similarity index 100% rename from db/.sqlx/query-8b6b93c868f78efb59bfb73cf69054190098399644896f17e67f4c5d6e6fbaf3.json rename to mist/db/.sqlx/query-8b6b93c868f78efb59bfb73cf69054190098399644896f17e67f4c5d6e6fbaf3.json diff --git a/db/.sqlx/query-92525eeb0416a8d544b9f7a50bef04ba8a3ad371b81a64acc47b6bb436952f44.json b/mist/db/.sqlx/query-92525eeb0416a8d544b9f7a50bef04ba8a3ad371b81a64acc47b6bb436952f44.json similarity index 100% rename from db/.sqlx/query-92525eeb0416a8d544b9f7a50bef04ba8a3ad371b81a64acc47b6bb436952f44.json rename to mist/db/.sqlx/query-92525eeb0416a8d544b9f7a50bef04ba8a3ad371b81a64acc47b6bb436952f44.json diff --git a/db/.sqlx/query-92b4489cd70f402be3a5d7c8008644107bcdd1e954fe5a1c577185f318c0c1e5.json b/mist/db/.sqlx/query-92b4489cd70f402be3a5d7c8008644107bcdd1e954fe5a1c577185f318c0c1e5.json similarity index 100% rename from db/.sqlx/query-92b4489cd70f402be3a5d7c8008644107bcdd1e954fe5a1c577185f318c0c1e5.json rename to mist/db/.sqlx/query-92b4489cd70f402be3a5d7c8008644107bcdd1e954fe5a1c577185f318c0c1e5.json diff --git a/db/.sqlx/query-96121cb75106fb1f9e978fdac43dac0b0af70f27a28df80e8344d3a3e257ddf7.json b/mist/db/.sqlx/query-96121cb75106fb1f9e978fdac43dac0b0af70f27a28df80e8344d3a3e257ddf7.json similarity index 100% rename from db/.sqlx/query-96121cb75106fb1f9e978fdac43dac0b0af70f27a28df80e8344d3a3e257ddf7.json rename to mist/db/.sqlx/query-96121cb75106fb1f9e978fdac43dac0b0af70f27a28df80e8344d3a3e257ddf7.json diff --git a/db/.sqlx/query-a4dbf9f8dea8898b8b0be76c7d039eb20361e31c299b26efd170279c9a03d20d.json b/mist/db/.sqlx/query-a4dbf9f8dea8898b8b0be76c7d039eb20361e31c299b26efd170279c9a03d20d.json similarity index 100% rename from db/.sqlx/query-a4dbf9f8dea8898b8b0be76c7d039eb20361e31c299b26efd170279c9a03d20d.json rename to mist/db/.sqlx/query-a4dbf9f8dea8898b8b0be76c7d039eb20361e31c299b26efd170279c9a03d20d.json diff --git a/db/.sqlx/query-e754fd6f1206706dbf68028d6683e6262e5610882fdb3d35d95ba187a22d3292.json b/mist/db/.sqlx/query-e754fd6f1206706dbf68028d6683e6262e5610882fdb3d35d95ba187a22d3292.json similarity index 100% rename from db/.sqlx/query-e754fd6f1206706dbf68028d6683e6262e5610882fdb3d35d95ba187a22d3292.json rename to mist/db/.sqlx/query-e754fd6f1206706dbf68028d6683e6262e5610882fdb3d35d95ba187a22d3292.json diff --git a/db/.sqlx/query-f36efd4d9f41dc2ba3115bf6cc9a0677e44edd481daf0526bb3e4ac229e2838f.json b/mist/db/.sqlx/query-f36efd4d9f41dc2ba3115bf6cc9a0677e44edd481daf0526bb3e4ac229e2838f.json similarity index 100% rename from db/.sqlx/query-f36efd4d9f41dc2ba3115bf6cc9a0677e44edd481daf0526bb3e4ac229e2838f.json rename to mist/db/.sqlx/query-f36efd4d9f41dc2ba3115bf6cc9a0677e44edd481daf0526bb3e4ac229e2838f.json diff --git a/db/.sqlx/query-f586092886b4dbe6d71a1314e3ba4738a9313550ceff8486a753715bc60ee005.json b/mist/db/.sqlx/query-f586092886b4dbe6d71a1314e3ba4738a9313550ceff8486a753715bc60ee005.json similarity index 100% rename from db/.sqlx/query-f586092886b4dbe6d71a1314e3ba4738a9313550ceff8486a753715bc60ee005.json rename to mist/db/.sqlx/query-f586092886b4dbe6d71a1314e3ba4738a9313550ceff8486a753715bc60ee005.json diff --git a/db/.sqlx/query-f641e6a140722241ad53f7a9cec851a8d95bc19c3b091f38f1ec34121ed83a70.json b/mist/db/.sqlx/query-f641e6a140722241ad53f7a9cec851a8d95bc19c3b091f38f1ec34121ed83a70.json similarity index 100% rename from db/.sqlx/query-f641e6a140722241ad53f7a9cec851a8d95bc19c3b091f38f1ec34121ed83a70.json rename to mist/db/.sqlx/query-f641e6a140722241ad53f7a9cec851a8d95bc19c3b091f38f1ec34121ed83a70.json diff --git a/db/Cargo.toml b/mist/db/Cargo.toml similarity index 100% rename from db/Cargo.toml rename to mist/db/Cargo.toml diff --git a/db/migrations/20240904163543_create_extension_uuid.down.sql b/mist/db/migrations/20240904163543_create_extension_uuid.down.sql similarity index 100% rename from db/migrations/20240904163543_create_extension_uuid.down.sql rename to mist/db/migrations/20240904163543_create_extension_uuid.down.sql diff --git a/db/migrations/20240904163543_create_extension_uuid.up.sql b/mist/db/migrations/20240904163543_create_extension_uuid.up.sql similarity index 100% rename from db/migrations/20240904163543_create_extension_uuid.up.sql rename to mist/db/migrations/20240904163543_create_extension_uuid.up.sql diff --git a/db/migrations/20240904191026_create_set_updated_at_func.down.sql b/mist/db/migrations/20240904191026_create_set_updated_at_func.down.sql similarity index 100% rename from db/migrations/20240904191026_create_set_updated_at_func.down.sql rename to mist/db/migrations/20240904191026_create_set_updated_at_func.down.sql diff --git a/db/migrations/20240904191026_create_set_updated_at_func.up.sql b/mist/db/migrations/20240904191026_create_set_updated_at_func.up.sql similarity index 100% rename from db/migrations/20240904191026_create_set_updated_at_func.up.sql rename to mist/db/migrations/20240904191026_create_set_updated_at_func.up.sql diff --git a/db/migrations/20240904191112_create_services.down.sql b/mist/db/migrations/20240904191112_create_services.down.sql similarity index 100% rename from db/migrations/20240904191112_create_services.down.sql rename to mist/db/migrations/20240904191112_create_services.down.sql diff --git a/db/migrations/20240904191112_create_services.up.sql b/mist/db/migrations/20240904191112_create_services.up.sql similarity index 100% rename from db/migrations/20240904191112_create_services.up.sql rename to mist/db/migrations/20240904191112_create_services.up.sql diff --git a/db/migrations/20240907144956_create_keys.down.sql b/mist/db/migrations/20240907144956_create_keys.down.sql similarity index 100% rename from db/migrations/20240907144956_create_keys.down.sql rename to mist/db/migrations/20240907144956_create_keys.down.sql diff --git a/db/migrations/20240907144956_create_keys.up.sql b/mist/db/migrations/20240907144956_create_keys.up.sql similarity index 100% rename from db/migrations/20240907144956_create_keys.up.sql rename to mist/db/migrations/20240907144956_create_keys.up.sql diff --git a/db/migrations/20240908190419_create_users.down.sql b/mist/db/migrations/20240908190419_create_users.down.sql similarity index 100% rename from db/migrations/20240908190419_create_users.down.sql rename to mist/db/migrations/20240908190419_create_users.down.sql diff --git a/db/migrations/20240908190419_create_users.up.sql b/mist/db/migrations/20240908190419_create_users.up.sql similarity index 100% rename from db/migrations/20240908190419_create_users.up.sql rename to mist/db/migrations/20240908190419_create_users.up.sql diff --git a/db/migrations/20240908190542_create_identifiers.down.sql b/mist/db/migrations/20240908190542_create_identifiers.down.sql similarity index 100% rename from db/migrations/20240908190542_create_identifiers.down.sql rename to mist/db/migrations/20240908190542_create_identifiers.down.sql diff --git a/db/migrations/20240908190542_create_identifiers.up.sql b/mist/db/migrations/20240908190542_create_identifiers.up.sql similarity index 100% rename from db/migrations/20240908190542_create_identifiers.up.sql rename to mist/db/migrations/20240908190542_create_identifiers.up.sql diff --git a/db/migrations/20240908211024_create_definitions.down.sql b/mist/db/migrations/20240908211024_create_definitions.down.sql similarity index 100% rename from db/migrations/20240908211024_create_definitions.down.sql rename to mist/db/migrations/20240908211024_create_definitions.down.sql diff --git a/db/migrations/20240908211024_create_definitions.up.sql b/mist/db/migrations/20240908211024_create_definitions.up.sql similarity index 100% rename from db/migrations/20240908211024_create_definitions.up.sql rename to mist/db/migrations/20240908211024_create_definitions.up.sql diff --git a/db/schema.sql b/mist/db/schema.sql similarity index 100% rename from db/schema.sql rename to mist/db/schema.sql diff --git a/db/sql/definitions/create.sql b/mist/db/sql/definitions/create.sql similarity index 100% rename from db/sql/definitions/create.sql rename to mist/db/sql/definitions/create.sql diff --git a/db/sql/identifiers/create.sql b/mist/db/sql/identifiers/create.sql similarity index 100% rename from db/sql/identifiers/create.sql rename to mist/db/sql/identifiers/create.sql diff --git a/db/sql/identifiers/get_by_value.sql b/mist/db/sql/identifiers/get_by_value.sql similarity index 100% rename from db/sql/identifiers/get_by_value.sql rename to mist/db/sql/identifiers/get_by_value.sql diff --git a/db/sql/keys/bump-priority.sql b/mist/db/sql/keys/bump-priority.sql similarity index 100% rename from db/sql/keys/bump-priority.sql rename to mist/db/sql/keys/bump-priority.sql diff --git a/db/sql/keys/create.sql b/mist/db/sql/keys/create.sql similarity index 100% rename from db/sql/keys/create.sql rename to mist/db/sql/keys/create.sql diff --git a/db/sql/keys/destroy.sql b/mist/db/sql/keys/destroy.sql similarity index 100% rename from db/sql/keys/destroy.sql rename to mist/db/sql/keys/destroy.sql diff --git a/db/sql/keys/get.sql b/mist/db/sql/keys/get.sql similarity index 100% rename from db/sql/keys/get.sql rename to mist/db/sql/keys/get.sql diff --git a/db/sql/keys/list.sql b/mist/db/sql/keys/list.sql similarity index 100% rename from db/sql/keys/list.sql rename to mist/db/sql/keys/list.sql diff --git a/db/sql/keys/preferred.sql b/mist/db/sql/keys/preferred.sql similarity index 100% rename from db/sql/keys/preferred.sql rename to mist/db/sql/keys/preferred.sql diff --git a/db/sql/keys/update.sql b/mist/db/sql/keys/update.sql similarity index 100% rename from db/sql/keys/update.sql rename to mist/db/sql/keys/update.sql diff --git a/db/sql/services/create.sql b/mist/db/sql/services/create.sql similarity index 100% rename from db/sql/services/create.sql rename to mist/db/sql/services/create.sql diff --git a/db/sql/services/destroy.sql b/mist/db/sql/services/destroy.sql similarity index 100% rename from db/sql/services/destroy.sql rename to mist/db/sql/services/destroy.sql diff --git a/db/sql/services/get.sql b/mist/db/sql/services/get.sql similarity index 100% rename from db/sql/services/get.sql rename to mist/db/sql/services/get.sql diff --git a/db/sql/services/get_by_name.sql b/mist/db/sql/services/get_by_name.sql similarity index 100% rename from db/sql/services/get_by_name.sql rename to mist/db/sql/services/get_by_name.sql diff --git a/db/sql/services/get_default_definition.sql b/mist/db/sql/services/get_default_definition.sql similarity index 100% rename from db/sql/services/get_default_definition.sql rename to mist/db/sql/services/get_default_definition.sql diff --git a/db/sql/services/list.sql b/mist/db/sql/services/list.sql similarity index 100% rename from db/sql/services/list.sql rename to mist/db/sql/services/list.sql diff --git a/db/sql/services/update.sql b/mist/db/sql/services/update.sql similarity index 100% rename from db/sql/services/update.sql rename to mist/db/sql/services/update.sql diff --git a/db/sql/users/create.sql b/mist/db/sql/users/create.sql similarity index 100% rename from db/sql/users/create.sql rename to mist/db/sql/users/create.sql diff --git a/db/sql/users/get.sql b/mist/db/sql/users/get.sql similarity index 100% rename from db/sql/users/get.sql rename to mist/db/sql/users/get.sql diff --git a/db/src/lib.rs b/mist/db/src/lib.rs similarity index 100% rename from db/src/lib.rs rename to mist/db/src/lib.rs diff --git a/db/src/models.rs b/mist/db/src/models.rs similarity index 100% rename from db/src/models.rs rename to mist/db/src/models.rs diff --git a/db/src/models/definition.rs b/mist/db/src/models/definition.rs similarity index 100% rename from db/src/models/definition.rs rename to mist/db/src/models/definition.rs diff --git a/db/src/models/identifier.rs b/mist/db/src/models/identifier.rs similarity index 100% rename from db/src/models/identifier.rs rename to mist/db/src/models/identifier.rs diff --git a/db/src/models/key.rs b/mist/db/src/models/key.rs similarity index 100% rename from db/src/models/key.rs rename to mist/db/src/models/key.rs diff --git a/db/src/models/service.rs b/mist/db/src/models/service.rs similarity index 100% rename from db/src/models/service.rs rename to mist/db/src/models/service.rs diff --git a/db/src/models/user.rs b/mist/db/src/models/user.rs similarity index 100% rename from db/src/models/user.rs rename to mist/db/src/models/user.rs diff --git a/db/src/repos.rs b/mist/db/src/repos.rs similarity index 100% rename from db/src/repos.rs rename to mist/db/src/repos.rs diff --git a/db/src/repos/identifiers.rs b/mist/db/src/repos/identifiers.rs similarity index 100% rename from db/src/repos/identifiers.rs rename to mist/db/src/repos/identifiers.rs diff --git a/db/src/repos/keys.rs b/mist/db/src/repos/keys.rs similarity index 100% rename from db/src/repos/keys.rs rename to mist/db/src/repos/keys.rs diff --git a/db/src/repos/services.rs b/mist/db/src/repos/services.rs similarity index 100% rename from db/src/repos/services.rs rename to mist/db/src/repos/services.rs diff --git a/db/src/repos/users.rs b/mist/db/src/repos/users.rs similarity index 100% rename from db/src/repos/users.rs rename to mist/db/src/repos/users.rs diff --git a/runner/Cargo.toml b/mist/runner/Cargo.toml similarity index 100% rename from runner/Cargo.toml rename to mist/runner/Cargo.toml diff --git a/runner/src/main.rs b/mist/runner/src/main.rs similarity index 100% rename from runner/src/main.rs rename to mist/runner/src/main.rs