diff --git a/Cargo.toml b/Cargo.toml index 82869dff..7d3193af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [workspace] members = [ - "crates/cot", - "crates/cot-cli", - "crates/cot-codegen", - "crates/cot-macros", - "crates/cot-core", + "cot", + "cot-cli", + "cot-codegen", + "cot-macros", + "cot-core", # Examples "examples/admin", "examples/custom-error-pages", @@ -77,10 +77,10 @@ clap = { version = "4.5.60", features = ["deprecated"] } clap-verbosity-flag = { version = "3", default-features = false } clap_complete = "4" clap_mangen = "0.2.31" -cot = { version = "0.5.0", path = "crates/cot" } -cot_core = { version = "0.5.0", path = "crates/cot-core" } -cot_codegen = { version = "0.5.0", path = "crates/cot-codegen" } -cot_macros = { version = "0.5.0", path = "crates/cot-macros" } +cot = { version = "0.5.0", path = "cot" } +cot_core = { version = "0.5.0", path = "cot-core" } +cot_codegen = { version = "0.5.0", path = "cot-codegen" } +cot_macros = { version = "0.5.0", path = "cot-macros" } criterion = "0.8" darling = "0.23" deadpool-redis = { version = "0.23", default-features = false } diff --git a/crates/cot-cli/CHANGELOG.md b/cot-cli/CHANGELOG.md similarity index 100% rename from crates/cot-cli/CHANGELOG.md rename to cot-cli/CHANGELOG.md diff --git a/crates/cot-cli/Cargo.toml b/cot-cli/Cargo.toml similarity index 100% rename from crates/cot-cli/Cargo.toml rename to cot-cli/Cargo.toml diff --git a/crates/cot-cli/src/args.rs b/cot-cli/src/args.rs similarity index 100% rename from crates/cot-cli/src/args.rs rename to cot-cli/src/args.rs diff --git a/crates/cot-cli/src/handlers.rs b/cot-cli/src/handlers.rs similarity index 100% rename from crates/cot-cli/src/handlers.rs rename to cot-cli/src/handlers.rs diff --git a/crates/cot-cli/src/lib.rs b/cot-cli/src/lib.rs similarity index 100% rename from crates/cot-cli/src/lib.rs rename to cot-cli/src/lib.rs diff --git a/crates/cot-cli/src/main.rs b/cot-cli/src/main.rs similarity index 100% rename from crates/cot-cli/src/main.rs rename to cot-cli/src/main.rs diff --git a/crates/cot-cli/src/migration_generator.rs b/cot-cli/src/migration_generator.rs similarity index 100% rename from crates/cot-cli/src/migration_generator.rs rename to cot-cli/src/migration_generator.rs diff --git a/crates/cot-cli/src/new_project.rs b/cot-cli/src/new_project.rs similarity index 100% rename from crates/cot-cli/src/new_project.rs rename to cot-cli/src/new_project.rs diff --git a/crates/cot-cli/src/project_template/.cargo/config.toml b/cot-cli/src/project_template/.cargo/config.toml similarity index 100% rename from crates/cot-cli/src/project_template/.cargo/config.toml rename to cot-cli/src/project_template/.cargo/config.toml diff --git a/crates/cot-cli/src/project_template/.gitignore b/cot-cli/src/project_template/.gitignore similarity index 100% rename from crates/cot-cli/src/project_template/.gitignore rename to cot-cli/src/project_template/.gitignore diff --git a/crates/cot-cli/src/project_template/Cargo.lock.template b/cot-cli/src/project_template/Cargo.lock.template similarity index 100% rename from crates/cot-cli/src/project_template/Cargo.lock.template rename to cot-cli/src/project_template/Cargo.lock.template diff --git a/crates/cot-cli/src/project_template/Cargo.toml.template b/cot-cli/src/project_template/Cargo.toml.template similarity index 100% rename from crates/cot-cli/src/project_template/Cargo.toml.template rename to cot-cli/src/project_template/Cargo.toml.template diff --git a/crates/cot-cli/src/project_template/bacon.toml b/cot-cli/src/project_template/bacon.toml similarity index 100% rename from crates/cot-cli/src/project_template/bacon.toml rename to cot-cli/src/project_template/bacon.toml diff --git a/crates/cot-cli/src/project_template/config/dev.toml b/cot-cli/src/project_template/config/dev.toml similarity index 100% rename from crates/cot-cli/src/project_template/config/dev.toml rename to cot-cli/src/project_template/config/dev.toml diff --git a/crates/cot-cli/src/project_template/config/prod.toml.example b/cot-cli/src/project_template/config/prod.toml.example similarity index 100% rename from crates/cot-cli/src/project_template/config/prod.toml.example rename to cot-cli/src/project_template/config/prod.toml.example diff --git a/crates/cot-cli/src/project_template/src/main.rs b/cot-cli/src/project_template/src/main.rs similarity index 100% rename from crates/cot-cli/src/project_template/src/main.rs rename to cot-cli/src/project_template/src/main.rs diff --git a/crates/cot-cli/src/project_template/src/migrations.rs b/cot-cli/src/project_template/src/migrations.rs similarity index 100% rename from crates/cot-cli/src/project_template/src/migrations.rs rename to cot-cli/src/project_template/src/migrations.rs diff --git a/crates/cot-cli/src/project_template/static/css/main.css b/cot-cli/src/project_template/static/css/main.css similarity index 100% rename from crates/cot-cli/src/project_template/static/css/main.css rename to cot-cli/src/project_template/static/css/main.css diff --git a/crates/cot-cli/src/project_template/templates/index.html b/cot-cli/src/project_template/templates/index.html similarity index 100% rename from crates/cot-cli/src/project_template/templates/index.html rename to cot-cli/src/project_template/templates/index.html diff --git a/crates/cot-cli/src/test_utils.rs b/cot-cli/src/test_utils.rs similarity index 100% rename from crates/cot-cli/src/test_utils.rs rename to cot-cli/src/test_utils.rs diff --git a/crates/cot-cli/src/utils.rs b/cot-cli/src/utils.rs similarity index 100% rename from crates/cot-cli/src/utils.rs rename to cot-cli/src/utils.rs diff --git a/crates/cot-cli/tests/cli.rs b/cot-cli/tests/cli.rs similarity index 100% rename from crates/cot-cli/tests/cli.rs rename to cot-cli/tests/cli.rs diff --git a/crates/cot-cli/tests/manpages.rs b/cot-cli/tests/manpages.rs similarity index 100% rename from crates/cot-cli/tests/manpages.rs rename to cot-cli/tests/manpages.rs diff --git a/crates/cot-cli/tests/migration_generator.rs b/cot-cli/tests/migration_generator.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator.rs rename to cot-cli/tests/migration_generator.rs diff --git a/crates/cot-cli/tests/migration_generator/create_model.rs b/cot-cli/tests/migration_generator/create_model.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator/create_model.rs rename to cot-cli/tests/migration_generator/create_model.rs diff --git a/crates/cot-cli/tests/migration_generator/foreign_key.rs b/cot-cli/tests/migration_generator/foreign_key.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator/foreign_key.rs rename to cot-cli/tests/migration_generator/foreign_key.rs diff --git a/crates/cot-cli/tests/migration_generator/foreign_key_cycle.rs b/cot-cli/tests/migration_generator/foreign_key_cycle.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator/foreign_key_cycle.rs rename to cot-cli/tests/migration_generator/foreign_key_cycle.rs diff --git a/crates/cot-cli/tests/migration_generator/foreign_key_two_migrations/step_1.rs b/cot-cli/tests/migration_generator/foreign_key_two_migrations/step_1.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator/foreign_key_two_migrations/step_1.rs rename to cot-cli/tests/migration_generator/foreign_key_two_migrations/step_1.rs diff --git a/crates/cot-cli/tests/migration_generator/foreign_key_two_migrations/step_2.rs b/cot-cli/tests/migration_generator/foreign_key_two_migrations/step_2.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator/foreign_key_two_migrations/step_2.rs rename to cot-cli/tests/migration_generator/foreign_key_two_migrations/step_2.rs diff --git a/crates/cot-cli/tests/migration_generator/keywords.rs b/cot-cli/tests/migration_generator/keywords.rs similarity index 100% rename from crates/cot-cli/tests/migration_generator/keywords.rs rename to cot-cli/tests/migration_generator/keywords.rs diff --git a/crates/cot-cli/tests/new_project.rs b/cot-cli/tests/new_project.rs similarity index 100% rename from crates/cot-cli/tests/new_project.rs rename to cot-cli/tests/new_project.rs diff --git a/crates/cot-cli/tests/resources/example_database_model.rs b/cot-cli/tests/resources/example_database_model.rs similarity index 100% rename from crates/cot-cli/tests/resources/example_database_model.rs rename to cot-cli/tests/resources/example_database_model.rs diff --git a/crates/cot-cli/tests/snapshot_testing/cli/mod.rs b/cot-cli/tests/snapshot_testing/cli/mod.rs similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/mod.rs rename to cot-cli/tests/snapshot_testing/cli/mod.rs diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_bash.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_bash.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_bash.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_bash.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_elvish.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_elvish.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_elvish.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_elvish.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_fish.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_fish.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_fish.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_fish.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_missing_shell.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_missing_shell.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_missing_shell.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_missing_shell.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_powershell.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_powershell.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_powershell.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_powershell.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_zsh.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_zsh.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_zsh.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__completions_zsh.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__manpages.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__manpages.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__manpages.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__manpages.snap diff --git a/crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__no_args.snap b/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__no_args.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__no_args.snap rename to cot-cli/tests/snapshot_testing/cli/snapshots/cli__snapshot_testing__cli__no_args.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/mod.rs b/cot-cli/tests/snapshot_testing/help/mod.rs similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/mod.rs rename to cot-cli/tests/snapshot_testing/help/mod.rs diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_completions.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_completions.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_completions.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_completions.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_manpages.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_manpages.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_manpages.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_cli_manpages.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_list.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_list.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_list.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_list.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_make.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_make.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_make.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_migration_make.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_new.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_new.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_new.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__help_new.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__long_help.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__long_help.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__long_help.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__long_help.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__no_args.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__no_args.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__no_args.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__no_args.snap diff --git a/crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__short_help.snap b/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__short_help.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__short_help.snap rename to cot-cli/tests/snapshot_testing/help/snapshots/cli__snapshot_testing__help__short_help.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/mod.rs b/cot-cli/tests/snapshot_testing/migration/mod.rs similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/mod.rs rename to cot-cli/tests/snapshot_testing/migration/mod.rs diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-2.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-2.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-3.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-3.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-4.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-4.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-5.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-5.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-6.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-6.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_empty.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-2.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-2.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-3.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-3.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-4.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-4.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-5.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-5.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-6.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-6.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_list_existing.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-2.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-2.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-3.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-3.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-4.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-4.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-5.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-5.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-6.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-6.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_existing_model.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-2.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-2.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-3.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-3.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-4.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-4.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-5.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-5.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-6.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-6.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_make_no_models.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-2.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-2.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-3.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-3.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-4.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-4.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-5.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-5.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-6.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-6.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new.snap b/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new.snap rename to cot-cli/tests/snapshot_testing/migration/snapshots/cli__snapshot_testing__migration__migration_new.snap diff --git a/crates/cot-cli/tests/snapshot_testing/mod.rs b/cot-cli/tests/snapshot_testing/mod.rs similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/mod.rs rename to cot-cli/tests/snapshot_testing/mod.rs diff --git a/crates/cot-cli/tests/snapshot_testing/new/mod.rs b/cot-cli/tests/snapshot_testing/new/mod.rs similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/mod.rs rename to cot-cli/tests/snapshot_testing/new/mod.rs diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-2.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-2.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-3.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-3.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-4.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-4.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-5.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-5.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-6.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-6.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-2.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-2.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-2.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-2.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-3.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-3.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-3.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-3.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-4.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-4.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-4.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-4.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-5.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-5.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-5.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-5.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-6.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-6.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-6.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name-6.snap diff --git a/crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name.snap b/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name.snap similarity index 100% rename from crates/cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name.snap rename to cot-cli/tests/snapshot_testing/new/snapshots/cli__snapshot_testing__new__create_new_project_with_custom_name.snap diff --git a/crates/cot-codegen/Cargo.toml b/cot-codegen/Cargo.toml similarity index 100% rename from crates/cot-codegen/Cargo.toml rename to cot-codegen/Cargo.toml diff --git a/crates/cot-codegen/src/expr.rs b/cot-codegen/src/expr.rs similarity index 100% rename from crates/cot-codegen/src/expr.rs rename to cot-codegen/src/expr.rs diff --git a/crates/cot-codegen/src/lib.rs b/cot-codegen/src/lib.rs similarity index 100% rename from crates/cot-codegen/src/lib.rs rename to cot-codegen/src/lib.rs diff --git a/crates/cot-codegen/src/model.rs b/cot-codegen/src/model.rs similarity index 100% rename from crates/cot-codegen/src/model.rs rename to cot-codegen/src/model.rs diff --git a/crates/cot-codegen/src/symbol_resolver.rs b/cot-codegen/src/symbol_resolver.rs similarity index 100% rename from crates/cot-codegen/src/symbol_resolver.rs rename to cot-codegen/src/symbol_resolver.rs diff --git a/crates/cot-core/Cargo.toml b/cot-core/Cargo.toml similarity index 100% rename from crates/cot-core/Cargo.toml rename to cot-core/Cargo.toml diff --git a/crates/cot-core/src/body.rs b/cot-core/src/body.rs similarity index 100% rename from crates/cot-core/src/body.rs rename to cot-core/src/body.rs diff --git a/crates/cot-core/src/error.rs b/cot-core/src/error.rs similarity index 100% rename from crates/cot-core/src/error.rs rename to cot-core/src/error.rs diff --git a/crates/cot-core/src/error/backtrace.rs b/cot-core/src/error/backtrace.rs similarity index 100% rename from crates/cot-core/src/error/backtrace.rs rename to cot-core/src/error/backtrace.rs diff --git a/crates/cot-core/src/error/error_impl.rs b/cot-core/src/error/error_impl.rs similarity index 100% rename from crates/cot-core/src/error/error_impl.rs rename to cot-core/src/error/error_impl.rs diff --git a/crates/cot-core/src/error/method_not_allowed.rs b/cot-core/src/error/method_not_allowed.rs similarity index 100% rename from crates/cot-core/src/error/method_not_allowed.rs rename to cot-core/src/error/method_not_allowed.rs diff --git a/crates/cot-core/src/error/uncaught_panic.rs b/cot-core/src/error/uncaught_panic.rs similarity index 100% rename from crates/cot-core/src/error/uncaught_panic.rs rename to cot-core/src/error/uncaught_panic.rs diff --git a/crates/cot-core/src/handler.rs b/cot-core/src/handler.rs similarity index 100% rename from crates/cot-core/src/handler.rs rename to cot-core/src/handler.rs diff --git a/crates/cot-core/src/headers.rs b/cot-core/src/headers.rs similarity index 100% rename from crates/cot-core/src/headers.rs rename to cot-core/src/headers.rs diff --git a/crates/cot-core/src/html.rs b/cot-core/src/html.rs similarity index 100% rename from crates/cot-core/src/html.rs rename to cot-core/src/html.rs diff --git a/crates/cot-core/src/json.rs b/cot-core/src/json.rs similarity index 100% rename from crates/cot-core/src/json.rs rename to cot-core/src/json.rs diff --git a/crates/cot-core/src/lib.rs b/cot-core/src/lib.rs similarity index 100% rename from crates/cot-core/src/lib.rs rename to cot-core/src/lib.rs diff --git a/crates/cot-core/src/middleware.rs b/cot-core/src/middleware.rs similarity index 100% rename from crates/cot-core/src/middleware.rs rename to cot-core/src/middleware.rs diff --git a/crates/cot-core/src/request.rs b/cot-core/src/request.rs similarity index 100% rename from crates/cot-core/src/request.rs rename to cot-core/src/request.rs diff --git a/crates/cot-core/src/request/extractors.rs b/cot-core/src/request/extractors.rs similarity index 100% rename from crates/cot-core/src/request/extractors.rs rename to cot-core/src/request/extractors.rs diff --git a/crates/cot-core/src/request/path_params_deserializer.rs b/cot-core/src/request/path_params_deserializer.rs similarity index 100% rename from crates/cot-core/src/request/path_params_deserializer.rs rename to cot-core/src/request/path_params_deserializer.rs diff --git a/crates/cot-core/src/response.rs b/cot-core/src/response.rs similarity index 100% rename from crates/cot-core/src/response.rs rename to cot-core/src/response.rs diff --git a/crates/cot-core/src/response/into_response.rs b/cot-core/src/response/into_response.rs similarity index 100% rename from crates/cot-core/src/response/into_response.rs rename to cot-core/src/response/into_response.rs diff --git a/crates/cot-macros/Cargo.toml b/cot-macros/Cargo.toml similarity index 100% rename from crates/cot-macros/Cargo.toml rename to cot-macros/Cargo.toml diff --git a/crates/cot-macros/src/admin.rs b/cot-macros/src/admin.rs similarity index 100% rename from crates/cot-macros/src/admin.rs rename to cot-macros/src/admin.rs diff --git a/crates/cot-macros/src/api_response_enum.rs b/cot-macros/src/api_response_enum.rs similarity index 100% rename from crates/cot-macros/src/api_response_enum.rs rename to cot-macros/src/api_response_enum.rs diff --git a/crates/cot-macros/src/cache.rs b/cot-macros/src/cache.rs similarity index 100% rename from crates/cot-macros/src/cache.rs rename to cot-macros/src/cache.rs diff --git a/crates/cot-macros/src/dbtest.rs b/cot-macros/src/dbtest.rs similarity index 100% rename from crates/cot-macros/src/dbtest.rs rename to cot-macros/src/dbtest.rs diff --git a/crates/cot-macros/src/form.rs b/cot-macros/src/form.rs similarity index 100% rename from crates/cot-macros/src/form.rs rename to cot-macros/src/form.rs diff --git a/crates/cot-macros/src/from_request.rs b/cot-macros/src/from_request.rs similarity index 100% rename from crates/cot-macros/src/from_request.rs rename to cot-macros/src/from_request.rs diff --git a/crates/cot-macros/src/lib.rs b/cot-macros/src/lib.rs similarity index 100% rename from crates/cot-macros/src/lib.rs rename to cot-macros/src/lib.rs diff --git a/crates/cot-macros/src/main_fn.rs b/cot-macros/src/main_fn.rs similarity index 100% rename from crates/cot-macros/src/main_fn.rs rename to cot-macros/src/main_fn.rs diff --git a/crates/cot-macros/src/migration_op.rs b/cot-macros/src/migration_op.rs similarity index 100% rename from crates/cot-macros/src/migration_op.rs rename to cot-macros/src/migration_op.rs diff --git a/crates/cot-macros/src/model.rs b/cot-macros/src/model.rs similarity index 100% rename from crates/cot-macros/src/model.rs rename to cot-macros/src/model.rs diff --git a/crates/cot-macros/src/query.rs b/cot-macros/src/query.rs similarity index 100% rename from crates/cot-macros/src/query.rs rename to cot-macros/src/query.rs diff --git a/crates/cot-macros/src/select_as_form_field.rs b/cot-macros/src/select_as_form_field.rs similarity index 100% rename from crates/cot-macros/src/select_as_form_field.rs rename to cot-macros/src/select_as_form_field.rs diff --git a/crates/cot-macros/src/select_choice.rs b/cot-macros/src/select_choice.rs similarity index 100% rename from crates/cot-macros/src/select_choice.rs rename to cot-macros/src/select_choice.rs diff --git a/crates/cot-macros/tests/compile_tests.rs b/cot-macros/tests/compile_tests.rs similarity index 100% rename from crates/cot-macros/tests/compile_tests.rs rename to cot-macros/tests/compile_tests.rs diff --git a/crates/cot-macros/tests/ui/attr_main.rs b/cot-macros/tests/ui/attr_main.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_main.rs rename to cot-macros/tests/ui/attr_main.rs diff --git a/crates/cot-macros/tests/ui/attr_main_args.rs b/cot-macros/tests/ui/attr_main_args.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_main_args.rs rename to cot-macros/tests/ui/attr_main_args.rs diff --git a/crates/cot-macros/tests/ui/attr_main_args.stderr b/cot-macros/tests/ui/attr_main_args.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_main_args.stderr rename to cot-macros/tests/ui/attr_main_args.stderr diff --git a/crates/cot-macros/tests/ui/attr_migration_op.rs b/cot-macros/tests/ui/attr_migration_op.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_migration_op.rs rename to cot-macros/tests/ui/attr_migration_op.rs diff --git a/crates/cot-macros/tests/ui/attr_migration_op_not_async.rs b/cot-macros/tests/ui/attr_migration_op_not_async.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_migration_op_not_async.rs rename to cot-macros/tests/ui/attr_migration_op_not_async.rs diff --git a/crates/cot-macros/tests/ui/attr_migration_op_not_async.stderr b/cot-macros/tests/ui/attr_migration_op_not_async.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_migration_op_not_async.stderr rename to cot-macros/tests/ui/attr_migration_op_not_async.stderr diff --git a/crates/cot-macros/tests/ui/attr_migration_op_return_type_invalid.rs b/cot-macros/tests/ui/attr_migration_op_return_type_invalid.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_migration_op_return_type_invalid.rs rename to cot-macros/tests/ui/attr_migration_op_return_type_invalid.rs diff --git a/crates/cot-macros/tests/ui/attr_migration_op_return_type_invalid.stderr b/cot-macros/tests/ui/attr_migration_op_return_type_invalid.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_migration_op_return_type_invalid.stderr rename to cot-macros/tests/ui/attr_migration_op_return_type_invalid.stderr diff --git a/crates/cot-macros/tests/ui/attr_model.rs b/cot-macros/tests/ui/attr_model.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model.rs rename to cot-macros/tests/ui/attr_model.rs diff --git a/crates/cot-macros/tests/ui/attr_model_enum.rs b/cot-macros/tests/ui/attr_model_enum.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_enum.rs rename to cot-macros/tests/ui/attr_model_enum.rs diff --git a/crates/cot-macros/tests/ui/attr_model_enum.stderr b/cot-macros/tests/ui/attr_model_enum.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_enum.stderr rename to cot-macros/tests/ui/attr_model_enum.stderr diff --git a/crates/cot-macros/tests/ui/attr_model_generic.rs b/cot-macros/tests/ui/attr_model_generic.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_generic.rs rename to cot-macros/tests/ui/attr_model_generic.rs diff --git a/crates/cot-macros/tests/ui/attr_model_generic.stderr b/cot-macros/tests/ui/attr_model_generic.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_generic.stderr rename to cot-macros/tests/ui/attr_model_generic.stderr diff --git a/crates/cot-macros/tests/ui/attr_model_migration_invalid_name.rs b/cot-macros/tests/ui/attr_model_migration_invalid_name.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_migration_invalid_name.rs rename to cot-macros/tests/ui/attr_model_migration_invalid_name.rs diff --git a/crates/cot-macros/tests/ui/attr_model_migration_invalid_name.stderr b/cot-macros/tests/ui/attr_model_migration_invalid_name.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_migration_invalid_name.stderr rename to cot-macros/tests/ui/attr_model_migration_invalid_name.stderr diff --git a/crates/cot-macros/tests/ui/attr_model_multiple_pks.rs b/cot-macros/tests/ui/attr_model_multiple_pks.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_multiple_pks.rs rename to cot-macros/tests/ui/attr_model_multiple_pks.rs diff --git a/crates/cot-macros/tests/ui/attr_model_multiple_pks.stderr b/cot-macros/tests/ui/attr_model_multiple_pks.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_multiple_pks.stderr rename to cot-macros/tests/ui/attr_model_multiple_pks.stderr diff --git a/crates/cot-macros/tests/ui/attr_model_no_pk.rs b/cot-macros/tests/ui/attr_model_no_pk.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_no_pk.rs rename to cot-macros/tests/ui/attr_model_no_pk.rs diff --git a/crates/cot-macros/tests/ui/attr_model_no_pk.stderr b/cot-macros/tests/ui/attr_model_no_pk.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_no_pk.stderr rename to cot-macros/tests/ui/attr_model_no_pk.stderr diff --git a/crates/cot-macros/tests/ui/attr_model_tuple.rs b/cot-macros/tests/ui/attr_model_tuple.rs similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_tuple.rs rename to cot-macros/tests/ui/attr_model_tuple.rs diff --git a/crates/cot-macros/tests/ui/attr_model_tuple.stderr b/cot-macros/tests/ui/attr_model_tuple.stderr similarity index 100% rename from crates/cot-macros/tests/ui/attr_model_tuple.stderr rename to cot-macros/tests/ui/attr_model_tuple.stderr diff --git a/crates/cot-macros/tests/ui/derive_admin_model.rs b/cot-macros/tests/ui/derive_admin_model.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_admin_model.rs rename to cot-macros/tests/ui/derive_admin_model.rs diff --git a/crates/cot-macros/tests/ui/derive_admin_model_derive_first.rs b/cot-macros/tests/ui/derive_admin_model_derive_first.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_admin_model_derive_first.rs rename to cot-macros/tests/ui/derive_admin_model_derive_first.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response.rs b/cot-macros/tests/ui/derive_api_operation_response.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response.rs rename to cot-macros/tests/ui/derive_api_operation_response.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_enum.rs b/cot-macros/tests/ui/derive_api_operation_response_enum.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_enum.rs rename to cot-macros/tests/ui/derive_api_operation_response_enum.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_enum.stderr b/cot-macros/tests/ui/derive_api_operation_response_enum.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_enum.stderr rename to cot-macros/tests/ui/derive_api_operation_response_enum.stderr diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.rs b/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.rs rename to cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.stderr b/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.stderr rename to cot-macros/tests/ui/derive_api_operation_response_invalid_variant_multi_tuple.stderr diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.rs b/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.rs rename to cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.stderr b/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.stderr rename to cot-macros/tests/ui/derive_api_operation_response_invalid_variant_struct.stderr diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.rs b/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.rs rename to cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.stderr b/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.stderr rename to cot-macros/tests/ui/derive_api_operation_response_invalid_variant_unit.stderr diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.rs b/cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.rs rename to cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.rs diff --git a/crates/cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.stderr b/cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.stderr rename to cot-macros/tests/ui/derive_api_operation_response_missing_trait_impl.stderr diff --git a/crates/cot-macros/tests/ui/derive_form.rs b/cot-macros/tests/ui/derive_form.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_form.rs rename to cot-macros/tests/ui/derive_form.rs diff --git a/crates/cot-macros/tests/ui/derive_from_request_head.rs b/cot-macros/tests/ui/derive_from_request_head.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_from_request_head.rs rename to cot-macros/tests/ui/derive_from_request_head.rs diff --git a/crates/cot-macros/tests/ui/derive_from_request_head_enum.rs b/cot-macros/tests/ui/derive_from_request_head_enum.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_from_request_head_enum.rs rename to cot-macros/tests/ui/derive_from_request_head_enum.rs diff --git a/crates/cot-macros/tests/ui/derive_from_request_head_enum.stderr b/cot-macros/tests/ui/derive_from_request_head_enum.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_from_request_head_enum.stderr rename to cot-macros/tests/ui/derive_from_request_head_enum.stderr diff --git a/crates/cot-macros/tests/ui/derive_into_response.rs b/cot-macros/tests/ui/derive_into_response.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response.rs rename to cot-macros/tests/ui/derive_into_response.rs diff --git a/crates/cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.rs b/cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.rs rename to cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.rs diff --git a/crates/cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.stderr b/cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.stderr rename to cot-macros/tests/ui/derive_into_response_invalid_variant_multi_tuple.stderr diff --git a/crates/cot-macros/tests/ui/derive_into_response_invalid_variant_struct.rs b/cot-macros/tests/ui/derive_into_response_invalid_variant_struct.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_invalid_variant_struct.rs rename to cot-macros/tests/ui/derive_into_response_invalid_variant_struct.rs diff --git a/crates/cot-macros/tests/ui/derive_into_response_invalid_variant_struct.stderr b/cot-macros/tests/ui/derive_into_response_invalid_variant_struct.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_invalid_variant_struct.stderr rename to cot-macros/tests/ui/derive_into_response_invalid_variant_struct.stderr diff --git a/crates/cot-macros/tests/ui/derive_into_response_invalid_variant_unit.rs b/cot-macros/tests/ui/derive_into_response_invalid_variant_unit.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_invalid_variant_unit.rs rename to cot-macros/tests/ui/derive_into_response_invalid_variant_unit.rs diff --git a/crates/cot-macros/tests/ui/derive_into_response_invalid_variant_unit.stderr b/cot-macros/tests/ui/derive_into_response_invalid_variant_unit.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_invalid_variant_unit.stderr rename to cot-macros/tests/ui/derive_into_response_invalid_variant_unit.stderr diff --git a/crates/cot-macros/tests/ui/derive_into_response_missing_trait_impl.rs b/cot-macros/tests/ui/derive_into_response_missing_trait_impl.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_missing_trait_impl.rs rename to cot-macros/tests/ui/derive_into_response_missing_trait_impl.rs diff --git a/crates/cot-macros/tests/ui/derive_into_response_missing_trait_impl.stderr b/cot-macros/tests/ui/derive_into_response_missing_trait_impl.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_missing_trait_impl.stderr rename to cot-macros/tests/ui/derive_into_response_missing_trait_impl.stderr diff --git a/crates/cot-macros/tests/ui/derive_into_response_struct.rs b/cot-macros/tests/ui/derive_into_response_struct.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_struct.rs rename to cot-macros/tests/ui/derive_into_response_struct.rs diff --git a/crates/cot-macros/tests/ui/derive_into_response_struct.stderr b/cot-macros/tests/ui/derive_into_response_struct.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_into_response_struct.stderr rename to cot-macros/tests/ui/derive_into_response_struct.stderr diff --git a/crates/cot-macros/tests/ui/derive_select_as_form_field.rs b/cot-macros/tests/ui/derive_select_as_form_field.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_as_form_field.rs rename to cot-macros/tests/ui/derive_select_as_form_field.rs diff --git a/crates/cot-macros/tests/ui/derive_select_as_form_field_struct.rs b/cot-macros/tests/ui/derive_select_as_form_field_struct.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_as_form_field_struct.rs rename to cot-macros/tests/ui/derive_select_as_form_field_struct.rs diff --git a/crates/cot-macros/tests/ui/derive_select_as_form_field_struct.stderr b/cot-macros/tests/ui/derive_select_as_form_field_struct.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_as_form_field_struct.stderr rename to cot-macros/tests/ui/derive_select_as_form_field_struct.stderr diff --git a/crates/cot-macros/tests/ui/derive_select_choice.rs b/cot-macros/tests/ui/derive_select_choice.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice.rs rename to cot-macros/tests/ui/derive_select_choice.rs diff --git a/crates/cot-macros/tests/ui/derive_select_choice_empty_enum.rs b/cot-macros/tests/ui/derive_select_choice_empty_enum.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice_empty_enum.rs rename to cot-macros/tests/ui/derive_select_choice_empty_enum.rs diff --git a/crates/cot-macros/tests/ui/derive_select_choice_empty_enum.stderr b/cot-macros/tests/ui/derive_select_choice_empty_enum.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice_empty_enum.stderr rename to cot-macros/tests/ui/derive_select_choice_empty_enum.stderr diff --git a/crates/cot-macros/tests/ui/derive_select_choice_enum_with_data.rs b/cot-macros/tests/ui/derive_select_choice_enum_with_data.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice_enum_with_data.rs rename to cot-macros/tests/ui/derive_select_choice_enum_with_data.rs diff --git a/crates/cot-macros/tests/ui/derive_select_choice_enum_with_data.stderr b/cot-macros/tests/ui/derive_select_choice_enum_with_data.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice_enum_with_data.stderr rename to cot-macros/tests/ui/derive_select_choice_enum_with_data.stderr diff --git a/crates/cot-macros/tests/ui/derive_select_choice_struct.rs b/cot-macros/tests/ui/derive_select_choice_struct.rs similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice_struct.rs rename to cot-macros/tests/ui/derive_select_choice_struct.rs diff --git a/crates/cot-macros/tests/ui/derive_select_choice_struct.stderr b/cot-macros/tests/ui/derive_select_choice_struct.stderr similarity index 100% rename from crates/cot-macros/tests/ui/derive_select_choice_struct.stderr rename to cot-macros/tests/ui/derive_select_choice_struct.stderr diff --git a/crates/cot-macros/tests/ui/func_query.rs b/cot-macros/tests/ui/func_query.rs similarity index 100% rename from crates/cot-macros/tests/ui/func_query.rs rename to cot-macros/tests/ui/func_query.rs diff --git a/crates/cot-macros/tests/ui/func_query_double_field.rs b/cot-macros/tests/ui/func_query_double_field.rs similarity index 100% rename from crates/cot-macros/tests/ui/func_query_double_field.rs rename to cot-macros/tests/ui/func_query_double_field.rs diff --git a/crates/cot-macros/tests/ui/func_query_double_field.stderr b/cot-macros/tests/ui/func_query_double_field.stderr similarity index 100% rename from crates/cot-macros/tests/ui/func_query_double_field.stderr rename to cot-macros/tests/ui/func_query_double_field.stderr diff --git a/crates/cot-macros/tests/ui/func_query_double_op.rs b/cot-macros/tests/ui/func_query_double_op.rs similarity index 100% rename from crates/cot-macros/tests/ui/func_query_double_op.rs rename to cot-macros/tests/ui/func_query_double_op.rs diff --git a/crates/cot-macros/tests/ui/func_query_double_op.stderr b/cot-macros/tests/ui/func_query_double_op.stderr similarity index 100% rename from crates/cot-macros/tests/ui/func_query_double_op.stderr rename to cot-macros/tests/ui/func_query_double_op.stderr diff --git a/crates/cot-macros/tests/ui/func_query_invalid_field.rs b/cot-macros/tests/ui/func_query_invalid_field.rs similarity index 100% rename from crates/cot-macros/tests/ui/func_query_invalid_field.rs rename to cot-macros/tests/ui/func_query_invalid_field.rs diff --git a/crates/cot-macros/tests/ui/func_query_invalid_field.stderr b/cot-macros/tests/ui/func_query_invalid_field.stderr similarity index 100% rename from crates/cot-macros/tests/ui/func_query_invalid_field.stderr rename to cot-macros/tests/ui/func_query_invalid_field.stderr diff --git a/crates/cot-macros/tests/ui/func_query_method_call_on_db_field.rs b/cot-macros/tests/ui/func_query_method_call_on_db_field.rs similarity index 100% rename from crates/cot-macros/tests/ui/func_query_method_call_on_db_field.rs rename to cot-macros/tests/ui/func_query_method_call_on_db_field.rs diff --git a/crates/cot-macros/tests/ui/func_query_method_call_on_db_field.stderr b/cot-macros/tests/ui/func_query_method_call_on_db_field.stderr similarity index 100% rename from crates/cot-macros/tests/ui/func_query_method_call_on_db_field.stderr rename to cot-macros/tests/ui/func_query_method_call_on_db_field.stderr diff --git a/crates/cot-macros/tests/ui/func_query_starting_op.rs b/cot-macros/tests/ui/func_query_starting_op.rs similarity index 100% rename from crates/cot-macros/tests/ui/func_query_starting_op.rs rename to cot-macros/tests/ui/func_query_starting_op.rs diff --git a/crates/cot-macros/tests/ui/func_query_starting_op.stderr b/cot-macros/tests/ui/func_query_starting_op.stderr similarity index 100% rename from crates/cot-macros/tests/ui/func_query_starting_op.stderr rename to cot-macros/tests/ui/func_query_starting_op.stderr diff --git a/crates/cot/Cargo.toml b/cot/Cargo.toml similarity index 100% rename from crates/cot/Cargo.toml rename to cot/Cargo.toml diff --git a/crates/cot/benches/bench_utils.rs b/cot/benches/bench_utils.rs similarity index 100% rename from crates/cot/benches/bench_utils.rs rename to cot/benches/bench_utils.rs diff --git a/crates/cot/benches/router.rs b/cot/benches/router.rs similarity index 100% rename from crates/cot/benches/router.rs rename to cot/benches/router.rs diff --git a/crates/cot/build.rs b/cot/build.rs similarity index 100% rename from crates/cot/build.rs rename to cot/build.rs diff --git a/crates/cot/scss/admin/admin.scss b/cot/scss/admin/admin.scss similarity index 100% rename from crates/cot/scss/admin/admin.scss rename to cot/scss/admin/admin.scss diff --git a/crates/cot/scss/error.scss b/cot/scss/error.scss similarity index 100% rename from crates/cot/scss/error.scss rename to cot/scss/error.scss diff --git a/crates/cot/src/admin.rs b/cot/src/admin.rs similarity index 100% rename from crates/cot/src/admin.rs rename to cot/src/admin.rs diff --git a/crates/cot/src/auth.rs b/cot/src/auth.rs similarity index 100% rename from crates/cot/src/auth.rs rename to cot/src/auth.rs diff --git a/crates/cot/src/auth/db.rs b/cot/src/auth/db.rs similarity index 100% rename from crates/cot/src/auth/db.rs rename to cot/src/auth/db.rs diff --git a/crates/cot/src/auth/db/migrations.rs b/cot/src/auth/db/migrations.rs similarity index 100% rename from crates/cot/src/auth/db/migrations.rs rename to cot/src/auth/db/migrations.rs diff --git a/crates/cot/src/auth/db/migrations/m_0001_initial.rs b/cot/src/auth/db/migrations/m_0001_initial.rs similarity index 100% rename from crates/cot/src/auth/db/migrations/m_0001_initial.rs rename to cot/src/auth/db/migrations/m_0001_initial.rs diff --git a/crates/cot/src/cache.rs b/cot/src/cache.rs similarity index 100% rename from crates/cot/src/cache.rs rename to cot/src/cache.rs diff --git a/crates/cot/src/cache/store.rs b/cot/src/cache/store.rs similarity index 100% rename from crates/cot/src/cache/store.rs rename to cot/src/cache/store.rs diff --git a/crates/cot/src/cache/store/memory.rs b/cot/src/cache/store/memory.rs similarity index 100% rename from crates/cot/src/cache/store/memory.rs rename to cot/src/cache/store/memory.rs diff --git a/crates/cot/src/cache/store/redis.rs b/cot/src/cache/store/redis.rs similarity index 100% rename from crates/cot/src/cache/store/redis.rs rename to cot/src/cache/store/redis.rs diff --git a/crates/cot/src/cli.rs b/cot/src/cli.rs similarity index 100% rename from crates/cot/src/cli.rs rename to cot/src/cli.rs diff --git a/crates/cot/src/common_types.rs b/cot/src/common_types.rs similarity index 100% rename from crates/cot/src/common_types.rs rename to cot/src/common_types.rs diff --git a/crates/cot/src/config.rs b/cot/src/config.rs similarity index 100% rename from crates/cot/src/config.rs rename to cot/src/config.rs diff --git a/crates/cot/src/db.rs b/cot/src/db.rs similarity index 100% rename from crates/cot/src/db.rs rename to cot/src/db.rs diff --git a/crates/cot/src/db/fields.rs b/cot/src/db/fields.rs similarity index 100% rename from crates/cot/src/db/fields.rs rename to cot/src/db/fields.rs diff --git a/crates/cot/src/db/fields/chrono_fields.rs b/cot/src/db/fields/chrono_fields.rs similarity index 100% rename from crates/cot/src/db/fields/chrono_fields.rs rename to cot/src/db/fields/chrono_fields.rs diff --git a/crates/cot/src/db/fields/chrono_wrapper.rs b/cot/src/db/fields/chrono_wrapper.rs similarity index 100% rename from crates/cot/src/db/fields/chrono_wrapper.rs rename to cot/src/db/fields/chrono_wrapper.rs diff --git a/crates/cot/src/db/impl_mysql.rs b/cot/src/db/impl_mysql.rs similarity index 100% rename from crates/cot/src/db/impl_mysql.rs rename to cot/src/db/impl_mysql.rs diff --git a/crates/cot/src/db/impl_postgres.rs b/cot/src/db/impl_postgres.rs similarity index 100% rename from crates/cot/src/db/impl_postgres.rs rename to cot/src/db/impl_postgres.rs diff --git a/crates/cot/src/db/impl_sqlite.rs b/cot/src/db/impl_sqlite.rs similarity index 100% rename from crates/cot/src/db/impl_sqlite.rs rename to cot/src/db/impl_sqlite.rs diff --git a/crates/cot/src/db/migrations.rs b/cot/src/db/migrations.rs similarity index 100% rename from crates/cot/src/db/migrations.rs rename to cot/src/db/migrations.rs diff --git a/crates/cot/src/db/migrations/sorter.rs b/cot/src/db/migrations/sorter.rs similarity index 100% rename from crates/cot/src/db/migrations/sorter.rs rename to cot/src/db/migrations/sorter.rs diff --git a/crates/cot/src/db/query.rs b/cot/src/db/query.rs similarity index 100% rename from crates/cot/src/db/query.rs rename to cot/src/db/query.rs diff --git a/crates/cot/src/db/relations.rs b/cot/src/db/relations.rs similarity index 100% rename from crates/cot/src/db/relations.rs rename to cot/src/db/relations.rs diff --git a/crates/cot/src/db/sea_query_db.rs b/cot/src/db/sea_query_db.rs similarity index 100% rename from crates/cot/src/db/sea_query_db.rs rename to cot/src/db/sea_query_db.rs diff --git a/crates/cot/src/email.rs b/cot/src/email.rs similarity index 100% rename from crates/cot/src/email.rs rename to cot/src/email.rs diff --git a/crates/cot/src/email/transport.rs b/cot/src/email/transport.rs similarity index 100% rename from crates/cot/src/email/transport.rs rename to cot/src/email/transport.rs diff --git a/crates/cot/src/email/transport/console.rs b/cot/src/email/transport/console.rs similarity index 100% rename from crates/cot/src/email/transport/console.rs rename to cot/src/email/transport/console.rs diff --git a/crates/cot/src/email/transport/smtp.rs b/cot/src/email/transport/smtp.rs similarity index 100% rename from crates/cot/src/email/transport/smtp.rs rename to cot/src/email/transport/smtp.rs diff --git a/crates/cot/src/error.rs b/cot/src/error.rs similarity index 100% rename from crates/cot/src/error.rs rename to cot/src/error.rs diff --git a/crates/cot/src/error/handler.rs b/cot/src/error/handler.rs similarity index 100% rename from crates/cot/src/error/handler.rs rename to cot/src/error/handler.rs diff --git a/crates/cot/src/error/not_found.rs b/cot/src/error/not_found.rs similarity index 100% rename from crates/cot/src/error/not_found.rs rename to cot/src/error/not_found.rs diff --git a/crates/cot/src/error_page.rs b/cot/src/error_page.rs similarity index 100% rename from crates/cot/src/error_page.rs rename to cot/src/error_page.rs diff --git a/crates/cot/src/form.rs b/cot/src/form.rs similarity index 100% rename from crates/cot/src/form.rs rename to cot/src/form.rs diff --git a/crates/cot/src/form/field_value.rs b/cot/src/form/field_value.rs similarity index 100% rename from crates/cot/src/form/field_value.rs rename to cot/src/form/field_value.rs diff --git a/crates/cot/src/form/fields.rs b/cot/src/form/fields.rs similarity index 100% rename from crates/cot/src/form/fields.rs rename to cot/src/form/fields.rs diff --git a/crates/cot/src/form/fields/attrs.rs b/cot/src/form/fields/attrs.rs similarity index 100% rename from crates/cot/src/form/fields/attrs.rs rename to cot/src/form/fields/attrs.rs diff --git a/crates/cot/src/form/fields/chrono.rs b/cot/src/form/fields/chrono.rs similarity index 100% rename from crates/cot/src/form/fields/chrono.rs rename to cot/src/form/fields/chrono.rs diff --git a/crates/cot/src/form/fields/files.rs b/cot/src/form/fields/files.rs similarity index 100% rename from crates/cot/src/form/fields/files.rs rename to cot/src/form/fields/files.rs diff --git a/crates/cot/src/form/fields/select.rs b/cot/src/form/fields/select.rs similarity index 100% rename from crates/cot/src/form/fields/select.rs rename to cot/src/form/fields/select.rs diff --git a/crates/cot/src/lib.rs b/cot/src/lib.rs similarity index 100% rename from crates/cot/src/lib.rs rename to cot/src/lib.rs diff --git a/crates/cot/src/middleware.rs b/cot/src/middleware.rs similarity index 100% rename from crates/cot/src/middleware.rs rename to cot/src/middleware.rs diff --git a/crates/cot/src/middleware/live_reload.rs b/cot/src/middleware/live_reload.rs similarity index 100% rename from crates/cot/src/middleware/live_reload.rs rename to cot/src/middleware/live_reload.rs diff --git a/crates/cot/src/openapi.rs b/cot/src/openapi.rs similarity index 100% rename from crates/cot/src/openapi.rs rename to cot/src/openapi.rs diff --git a/crates/cot/src/openapi/swagger_ui.rs b/cot/src/openapi/swagger_ui.rs similarity index 100% rename from crates/cot/src/openapi/swagger_ui.rs rename to cot/src/openapi/swagger_ui.rs diff --git a/crates/cot/src/private.rs b/cot/src/private.rs similarity index 100% rename from crates/cot/src/private.rs rename to cot/src/private.rs diff --git a/crates/cot/src/project.rs b/cot/src/project.rs similarity index 100% rename from crates/cot/src/project.rs rename to cot/src/project.rs diff --git a/crates/cot/src/request.rs b/cot/src/request.rs similarity index 100% rename from crates/cot/src/request.rs rename to cot/src/request.rs diff --git a/crates/cot/src/request/extractors.rs b/cot/src/request/extractors.rs similarity index 100% rename from crates/cot/src/request/extractors.rs rename to cot/src/request/extractors.rs diff --git a/crates/cot/src/router.rs b/cot/src/router.rs similarity index 100% rename from crates/cot/src/router.rs rename to cot/src/router.rs diff --git a/crates/cot/src/router/method.rs b/cot/src/router/method.rs similarity index 100% rename from crates/cot/src/router/method.rs rename to cot/src/router/method.rs diff --git a/crates/cot/src/router/method/openapi.rs b/cot/src/router/method/openapi.rs similarity index 100% rename from crates/cot/src/router/method/openapi.rs rename to cot/src/router/method/openapi.rs diff --git a/crates/cot/src/router/path.rs b/cot/src/router/path.rs similarity index 100% rename from crates/cot/src/router/path.rs rename to cot/src/router/path.rs diff --git a/crates/cot/src/serializers.rs b/cot/src/serializers.rs similarity index 100% rename from crates/cot/src/serializers.rs rename to cot/src/serializers.rs diff --git a/crates/cot/src/session.rs b/cot/src/session.rs similarity index 100% rename from crates/cot/src/session.rs rename to cot/src/session.rs diff --git a/crates/cot/src/session/db.rs b/cot/src/session/db.rs similarity index 100% rename from crates/cot/src/session/db.rs rename to cot/src/session/db.rs diff --git a/crates/cot/src/session/db/migrations.rs b/cot/src/session/db/migrations.rs similarity index 100% rename from crates/cot/src/session/db/migrations.rs rename to cot/src/session/db/migrations.rs diff --git a/crates/cot/src/session/db/migrations/m_0001_initial.rs b/cot/src/session/db/migrations/m_0001_initial.rs similarity index 100% rename from crates/cot/src/session/db/migrations/m_0001_initial.rs rename to cot/src/session/db/migrations/m_0001_initial.rs diff --git a/crates/cot/src/session/store.rs b/cot/src/session/store.rs similarity index 100% rename from crates/cot/src/session/store.rs rename to cot/src/session/store.rs diff --git a/crates/cot/src/session/store/db.rs b/cot/src/session/store/db.rs similarity index 100% rename from crates/cot/src/session/store/db.rs rename to cot/src/session/store/db.rs diff --git a/crates/cot/src/session/store/file.rs b/cot/src/session/store/file.rs similarity index 100% rename from crates/cot/src/session/store/file.rs rename to cot/src/session/store/file.rs diff --git a/crates/cot/src/session/store/memory.rs b/cot/src/session/store/memory.rs similarity index 100% rename from crates/cot/src/session/store/memory.rs rename to cot/src/session/store/memory.rs diff --git a/crates/cot/src/session/store/redis.rs b/cot/src/session/store/redis.rs similarity index 100% rename from crates/cot/src/session/store/redis.rs rename to cot/src/session/store/redis.rs diff --git a/crates/cot/src/static_files.rs b/cot/src/static_files.rs similarity index 100% rename from crates/cot/src/static_files.rs rename to cot/src/static_files.rs diff --git a/crates/cot/src/test.rs b/cot/src/test.rs similarity index 100% rename from crates/cot/src/test.rs rename to cot/src/test.rs diff --git a/crates/cot/src/utils.rs b/cot/src/utils.rs similarity index 100% rename from crates/cot/src/utils.rs rename to cot/src/utils.rs diff --git a/crates/cot/src/utils/accept_header_parser.rs b/cot/src/utils/accept_header_parser.rs similarity index 100% rename from crates/cot/src/utils/accept_header_parser.rs rename to cot/src/utils/accept_header_parser.rs diff --git a/crates/cot/src/utils/chrono.rs b/cot/src/utils/chrono.rs similarity index 100% rename from crates/cot/src/utils/chrono.rs rename to cot/src/utils/chrono.rs diff --git a/crates/cot/src/utils/graph.rs b/cot/src/utils/graph.rs similarity index 100% rename from crates/cot/src/utils/graph.rs rename to cot/src/utils/graph.rs diff --git a/crates/cot/static/test/test.txt b/cot/static/test/test.txt similarity index 100% rename from crates/cot/static/test/test.txt rename to cot/static/test/test.txt diff --git a/crates/cot/templates/500.html b/cot/templates/500.html similarity index 100% rename from crates/cot/templates/500.html rename to cot/templates/500.html diff --git a/crates/cot/templates/admin/base.html b/cot/templates/admin/base.html similarity index 100% rename from crates/cot/templates/admin/base.html rename to cot/templates/admin/base.html diff --git a/crates/cot/templates/admin/icons/pencil.svg b/cot/templates/admin/icons/pencil.svg similarity index 100% rename from crates/cot/templates/admin/icons/pencil.svg rename to cot/templates/admin/icons/pencil.svg diff --git a/crates/cot/templates/admin/icons/plus.svg b/cot/templates/admin/icons/plus.svg similarity index 100% rename from crates/cot/templates/admin/icons/plus.svg rename to cot/templates/admin/icons/plus.svg diff --git a/crates/cot/templates/admin/icons/trash.svg b/cot/templates/admin/icons/trash.svg similarity index 100% rename from crates/cot/templates/admin/icons/trash.svg rename to cot/templates/admin/icons/trash.svg diff --git a/crates/cot/templates/admin/login.html b/cot/templates/admin/login.html similarity index 100% rename from crates/cot/templates/admin/login.html rename to cot/templates/admin/login.html diff --git a/crates/cot/templates/admin/model.html b/cot/templates/admin/model.html similarity index 100% rename from crates/cot/templates/admin/model.html rename to cot/templates/admin/model.html diff --git a/crates/cot/templates/admin/model_edit.html b/cot/templates/admin/model_edit.html similarity index 100% rename from crates/cot/templates/admin/model_edit.html rename to cot/templates/admin/model_edit.html diff --git a/crates/cot/templates/admin/model_list.html b/cot/templates/admin/model_list.html similarity index 100% rename from crates/cot/templates/admin/model_list.html rename to cot/templates/admin/model_list.html diff --git a/crates/cot/templates/admin/model_remove.html b/cot/templates/admin/model_remove.html similarity index 100% rename from crates/cot/templates/admin/model_remove.html rename to cot/templates/admin/model_remove.html diff --git a/crates/cot/templates/default_error.css b/cot/templates/default_error.css similarity index 100% rename from crates/cot/templates/default_error.css rename to cot/templates/default_error.css diff --git a/crates/cot/templates/default_error.html b/cot/templates/default_error.html similarity index 100% rename from crates/cot/templates/default_error.html rename to cot/templates/default_error.html diff --git a/crates/cot/templates/error.html b/cot/templates/error.html similarity index 100% rename from crates/cot/templates/error.html rename to cot/templates/error.html diff --git a/crates/cot/templates/fail.html b/cot/templates/fail.html similarity index 100% rename from crates/cot/templates/fail.html rename to cot/templates/fail.html diff --git a/crates/cot/tests/admin.rs b/cot/tests/admin.rs similarity index 100% rename from crates/cot/tests/admin.rs rename to cot/tests/admin.rs diff --git a/crates/cot/tests/auth.rs b/cot/tests/auth.rs similarity index 100% rename from crates/cot/tests/auth.rs rename to cot/tests/auth.rs diff --git a/crates/cot/tests/compile_tests.rs b/cot/tests/compile_tests.rs similarity index 100% rename from crates/cot/tests/compile_tests.rs rename to cot/tests/compile_tests.rs diff --git a/crates/cot/tests/db.rs b/cot/tests/db.rs similarity index 100% rename from crates/cot/tests/db.rs rename to cot/tests/db.rs diff --git a/crates/cot/tests/extractors.rs b/cot/tests/extractors.rs similarity index 100% rename from crates/cot/tests/extractors.rs rename to cot/tests/extractors.rs diff --git a/crates/cot/tests/form.rs b/cot/tests/form.rs similarity index 100% rename from crates/cot/tests/form.rs rename to cot/tests/form.rs diff --git a/crates/cot/tests/from_request.rs b/cot/tests/from_request.rs similarity index 100% rename from crates/cot/tests/from_request.rs rename to cot/tests/from_request.rs diff --git a/crates/cot/tests/openapi.rs b/cot/tests/openapi.rs similarity index 100% rename from crates/cot/tests/openapi.rs rename to cot/tests/openapi.rs diff --git a/crates/cot/tests/project.rs b/cot/tests/project.rs similarity index 100% rename from crates/cot/tests/project.rs rename to cot/tests/project.rs diff --git a/crates/cot/tests/router.rs b/cot/tests/router.rs similarity index 100% rename from crates/cot/tests/router.rs rename to cot/tests/router.rs diff --git a/crates/cot/tests/select_choice.rs b/cot/tests/select_choice.rs similarity index 100% rename from crates/cot/tests/select_choice.rs rename to cot/tests/select_choice.rs diff --git a/crates/cot/tests/session_store.rs b/cot/tests/session_store.rs similarity index 100% rename from crates/cot/tests/session_store.rs rename to cot/tests/session_store.rs diff --git a/crates/cot/tests/ui/unimplemented_admin_model.rs b/cot/tests/ui/unimplemented_admin_model.rs similarity index 100% rename from crates/cot/tests/ui/unimplemented_admin_model.rs rename to cot/tests/ui/unimplemented_admin_model.rs diff --git a/crates/cot/tests/ui/unimplemented_admin_model.stderr b/cot/tests/ui/unimplemented_admin_model.stderr similarity index 100% rename from crates/cot/tests/ui/unimplemented_admin_model.stderr rename to cot/tests/ui/unimplemented_admin_model.stderr diff --git a/crates/cot/tests/ui/unimplemented_db_model.rs b/cot/tests/ui/unimplemented_db_model.rs similarity index 100% rename from crates/cot/tests/ui/unimplemented_db_model.rs rename to cot/tests/ui/unimplemented_db_model.rs diff --git a/crates/cot/tests/ui/unimplemented_db_model.stderr b/cot/tests/ui/unimplemented_db_model.stderr similarity index 100% rename from crates/cot/tests/ui/unimplemented_db_model.stderr rename to cot/tests/ui/unimplemented_db_model.stderr diff --git a/crates/cot/tests/ui/unimplemented_form.rs b/cot/tests/ui/unimplemented_form.rs similarity index 100% rename from crates/cot/tests/ui/unimplemented_form.rs rename to cot/tests/ui/unimplemented_form.rs diff --git a/crates/cot/tests/ui/unimplemented_form.stderr b/cot/tests/ui/unimplemented_form.stderr similarity index 100% rename from crates/cot/tests/ui/unimplemented_form.stderr rename to cot/tests/ui/unimplemented_form.stderr diff --git a/crates/cot/tests/ui/unimplemented_request_handler.rs b/cot/tests/ui/unimplemented_request_handler.rs similarity index 100% rename from crates/cot/tests/ui/unimplemented_request_handler.rs rename to cot/tests/ui/unimplemented_request_handler.rs diff --git a/crates/cot/tests/ui/unimplemented_request_handler.stderr b/cot/tests/ui/unimplemented_request_handler.stderr similarity index 100% rename from crates/cot/tests/ui/unimplemented_request_handler.stderr rename to cot/tests/ui/unimplemented_request_handler.stderr diff --git a/examples/admin/Cargo.toml b/examples/admin/Cargo.toml index 85df3f6c..1814559e 100644 --- a/examples/admin/Cargo.toml +++ b/examples/admin/Cargo.toml @@ -8,4 +8,4 @@ edition = "2024" [dependencies] async-trait = "0.1" -cot = { path = "../../crates/cot", features = ["live-reload"] } +cot = { path = "../../cot", features = ["live-reload"] } diff --git a/examples/custom-error-pages/Cargo.toml b/examples/custom-error-pages/Cargo.toml index a1a2511c..211cfdf8 100644 --- a/examples/custom-error-pages/Cargo.toml +++ b/examples/custom-error-pages/Cargo.toml @@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot" } +cot = { path = "../../cot" } diff --git a/examples/custom-task/Cargo.toml b/examples/custom-task/Cargo.toml index 89350442..ec3d3529 100644 --- a/examples/custom-task/Cargo.toml +++ b/examples/custom-task/Cargo.toml @@ -9,4 +9,4 @@ edition = "2024" [dependencies] async-trait = "0.1" clap = { version = "4", features = ["derive"] } -cot = { path = "../../crates/cot" } +cot = { path = "../../cot" } diff --git a/examples/file-upload/Cargo.toml b/examples/file-upload/Cargo.toml index 4a57fa88..7825c33b 100644 --- a/examples/file-upload/Cargo.toml +++ b/examples/file-upload/Cargo.toml @@ -8,4 +8,4 @@ edition = "2024" [dependencies] base64 = "0.22" -cot = { path = "../../crates/cot" } +cot = { path = "../../cot" } diff --git a/examples/forms/Cargo.toml b/examples/forms/Cargo.toml index 53854d5a..e1360c5f 100644 --- a/examples/forms/Cargo.toml +++ b/examples/forms/Cargo.toml @@ -6,6 +6,6 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot" , features = ["full"]} +cot = { path = "../../cot" , features = ["full"]} chrono = "0.4.44" chrono-tz = "0.10.4" diff --git a/examples/hello-world/Cargo.toml b/examples/hello-world/Cargo.toml index 020db3cd..1b50bef0 100644 --- a/examples/hello-world/Cargo.toml +++ b/examples/hello-world/Cargo.toml @@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot" } +cot = { path = "../../cot" } diff --git a/examples/json/Cargo.toml b/examples/json/Cargo.toml index 2cc772a0..8f921cdd 100644 --- a/examples/json/Cargo.toml +++ b/examples/json/Cargo.toml @@ -7,6 +7,6 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot", features = ["openapi", "swagger-ui"] } +cot = { path = "../../cot", features = ["openapi", "swagger-ui"] } serde = "1" schemars = "0.9" diff --git a/examples/send-email/Cargo.toml b/examples/send-email/Cargo.toml index 20b827a2..c7b4ac12 100644 --- a/examples/send-email/Cargo.toml +++ b/examples/send-email/Cargo.toml @@ -7,5 +7,5 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot", features = ["email", "live-reload"] } +cot = { path = "../../cot", features = ["email", "live-reload"] } serde = { version = "1", features = ["derive"] } diff --git a/examples/sessions/Cargo.toml b/examples/sessions/Cargo.toml index 5f0db456..6fbcc24d 100644 --- a/examples/sessions/Cargo.toml +++ b/examples/sessions/Cargo.toml @@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot" } +cot = { path = "../../cot" } diff --git a/examples/todo-list/Cargo.toml b/examples/todo-list/Cargo.toml index 4c93bd4f..2b41c275 100644 --- a/examples/todo-list/Cargo.toml +++ b/examples/todo-list/Cargo.toml @@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0" edition = "2024" [dependencies] -cot = { path = "../../crates/cot" } +cot = { path = "../../cot" }