From 2288cf24122e01cf0f3de0da7f1cff572723c23d Mon Sep 17 00:00:00 2001 From: beeb <703631+beeb@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:03:04 +0200 Subject: [PATCH] chore: rename folder names --- Cargo.toml | 2 +- crates/{soldeer => cli}/Cargo.toml | 2 +- crates/{soldeer => cli}/src/main.rs | 0 crates/{soldeer-commands => commands}/Cargo.toml | 2 +- crates/{soldeer-commands => commands}/src/commands/init.rs | 0 crates/{soldeer-commands => commands}/src/commands/install.rs | 0 crates/{soldeer-commands => commands}/src/commands/login.rs | 0 crates/{soldeer-commands => commands}/src/commands/mod.rs | 0 crates/{soldeer-commands => commands}/src/commands/push.rs | 0 crates/{soldeer-commands => commands}/src/commands/uninstall.rs | 0 crates/{soldeer-commands => commands}/src/commands/update.rs | 0 crates/{soldeer-commands => commands}/src/lib.rs | 0 crates/{soldeer-core => core}/Cargo.toml | 0 crates/{soldeer-core => core}/src/auth.rs | 0 crates/{soldeer-core => core}/src/config.rs | 0 crates/{soldeer-core => core}/src/download.rs | 0 crates/{soldeer-core => core}/src/errors.rs | 0 crates/{soldeer-core => core}/src/install.rs | 0 crates/{soldeer-core => core}/src/lib.rs | 0 crates/{soldeer-core => core}/src/lock.rs | 0 crates/{soldeer-core => core}/src/push.rs | 0 crates/{soldeer-core => core}/src/registry.rs | 0 crates/{soldeer-core => core}/src/remappings.rs | 0 crates/{soldeer-core => core}/src/update.rs | 0 crates/{soldeer-core => core}/src/utils.rs | 0 25 files changed, 3 insertions(+), 3 deletions(-) rename crates/{soldeer => cli}/Cargo.toml (91%) rename crates/{soldeer => cli}/src/main.rs (100%) rename crates/{soldeer-commands => commands}/Cargo.toml (92%) rename crates/{soldeer-commands => commands}/src/commands/init.rs (100%) rename crates/{soldeer-commands => commands}/src/commands/install.rs (100%) rename crates/{soldeer-commands => commands}/src/commands/login.rs (100%) rename crates/{soldeer-commands => commands}/src/commands/mod.rs (100%) rename crates/{soldeer-commands => commands}/src/commands/push.rs (100%) rename crates/{soldeer-commands => commands}/src/commands/uninstall.rs (100%) rename crates/{soldeer-commands => commands}/src/commands/update.rs (100%) rename crates/{soldeer-commands => commands}/src/lib.rs (100%) rename crates/{soldeer-core => core}/Cargo.toml (100%) rename crates/{soldeer-core => core}/src/auth.rs (100%) rename crates/{soldeer-core => core}/src/config.rs (100%) rename crates/{soldeer-core => core}/src/download.rs (100%) rename crates/{soldeer-core => core}/src/errors.rs (100%) rename crates/{soldeer-core => core}/src/install.rs (100%) rename crates/{soldeer-core => core}/src/lib.rs (100%) rename crates/{soldeer-core => core}/src/lock.rs (100%) rename crates/{soldeer-core => core}/src/push.rs (100%) rename crates/{soldeer-core => core}/src/registry.rs (100%) rename crates/{soldeer-core => core}/src/remappings.rs (100%) rename crates/{soldeer-core => core}/src/update.rs (100%) rename crates/{soldeer-core => core}/src/utils.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 921ee68..8a56080 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["crates/soldeer", "crates/soldeer-core", "crates/soldeer-commands"] +members = ["crates/cli", "crates/core", "crates/commands"] resolver = "2" [workspace.package] diff --git a/crates/soldeer/Cargo.toml b/crates/cli/Cargo.toml similarity index 91% rename from crates/soldeer/Cargo.toml rename to crates/cli/Cargo.toml index 883f760..e1f2fc5 100644 --- a/crates/soldeer/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -21,6 +21,6 @@ name = "soldeer" path = "src/main.rs" [dependencies] -soldeer-commands = { path = "../soldeer-commands" } +soldeer-commands = { path = "../commands" } tokio.workspace = true yansi = { version = "1.0.1", features = ["detect-tty", "detect-env"] } diff --git a/crates/soldeer/src/main.rs b/crates/cli/src/main.rs similarity index 100% rename from crates/soldeer/src/main.rs rename to crates/cli/src/main.rs diff --git a/crates/soldeer-commands/Cargo.toml b/crates/commands/Cargo.toml similarity index 92% rename from crates/soldeer-commands/Cargo.toml rename to crates/commands/Cargo.toml index 674d7d8..1e6bce3 100644 --- a/crates/soldeer-commands/Cargo.toml +++ b/crates/commands/Cargo.toml @@ -19,7 +19,7 @@ workspace = true [dependencies] clap.workspace = true cliclack.workspace = true -soldeer-core = { path = "../soldeer-core" } +soldeer-core = { path = "../core" } [features] default = ["rustls"] diff --git a/crates/soldeer-commands/src/commands/init.rs b/crates/commands/src/commands/init.rs similarity index 100% rename from crates/soldeer-commands/src/commands/init.rs rename to crates/commands/src/commands/init.rs diff --git a/crates/soldeer-commands/src/commands/install.rs b/crates/commands/src/commands/install.rs similarity index 100% rename from crates/soldeer-commands/src/commands/install.rs rename to crates/commands/src/commands/install.rs diff --git a/crates/soldeer-commands/src/commands/login.rs b/crates/commands/src/commands/login.rs similarity index 100% rename from crates/soldeer-commands/src/commands/login.rs rename to crates/commands/src/commands/login.rs diff --git a/crates/soldeer-commands/src/commands/mod.rs b/crates/commands/src/commands/mod.rs similarity index 100% rename from crates/soldeer-commands/src/commands/mod.rs rename to crates/commands/src/commands/mod.rs diff --git a/crates/soldeer-commands/src/commands/push.rs b/crates/commands/src/commands/push.rs similarity index 100% rename from crates/soldeer-commands/src/commands/push.rs rename to crates/commands/src/commands/push.rs diff --git a/crates/soldeer-commands/src/commands/uninstall.rs b/crates/commands/src/commands/uninstall.rs similarity index 100% rename from crates/soldeer-commands/src/commands/uninstall.rs rename to crates/commands/src/commands/uninstall.rs diff --git a/crates/soldeer-commands/src/commands/update.rs b/crates/commands/src/commands/update.rs similarity index 100% rename from crates/soldeer-commands/src/commands/update.rs rename to crates/commands/src/commands/update.rs diff --git a/crates/soldeer-commands/src/lib.rs b/crates/commands/src/lib.rs similarity index 100% rename from crates/soldeer-commands/src/lib.rs rename to crates/commands/src/lib.rs diff --git a/crates/soldeer-core/Cargo.toml b/crates/core/Cargo.toml similarity index 100% rename from crates/soldeer-core/Cargo.toml rename to crates/core/Cargo.toml diff --git a/crates/soldeer-core/src/auth.rs b/crates/core/src/auth.rs similarity index 100% rename from crates/soldeer-core/src/auth.rs rename to crates/core/src/auth.rs diff --git a/crates/soldeer-core/src/config.rs b/crates/core/src/config.rs similarity index 100% rename from crates/soldeer-core/src/config.rs rename to crates/core/src/config.rs diff --git a/crates/soldeer-core/src/download.rs b/crates/core/src/download.rs similarity index 100% rename from crates/soldeer-core/src/download.rs rename to crates/core/src/download.rs diff --git a/crates/soldeer-core/src/errors.rs b/crates/core/src/errors.rs similarity index 100% rename from crates/soldeer-core/src/errors.rs rename to crates/core/src/errors.rs diff --git a/crates/soldeer-core/src/install.rs b/crates/core/src/install.rs similarity index 100% rename from crates/soldeer-core/src/install.rs rename to crates/core/src/install.rs diff --git a/crates/soldeer-core/src/lib.rs b/crates/core/src/lib.rs similarity index 100% rename from crates/soldeer-core/src/lib.rs rename to crates/core/src/lib.rs diff --git a/crates/soldeer-core/src/lock.rs b/crates/core/src/lock.rs similarity index 100% rename from crates/soldeer-core/src/lock.rs rename to crates/core/src/lock.rs diff --git a/crates/soldeer-core/src/push.rs b/crates/core/src/push.rs similarity index 100% rename from crates/soldeer-core/src/push.rs rename to crates/core/src/push.rs diff --git a/crates/soldeer-core/src/registry.rs b/crates/core/src/registry.rs similarity index 100% rename from crates/soldeer-core/src/registry.rs rename to crates/core/src/registry.rs diff --git a/crates/soldeer-core/src/remappings.rs b/crates/core/src/remappings.rs similarity index 100% rename from crates/soldeer-core/src/remappings.rs rename to crates/core/src/remappings.rs diff --git a/crates/soldeer-core/src/update.rs b/crates/core/src/update.rs similarity index 100% rename from crates/soldeer-core/src/update.rs rename to crates/core/src/update.rs diff --git a/crates/soldeer-core/src/utils.rs b/crates/core/src/utils.rs similarity index 100% rename from crates/soldeer-core/src/utils.rs rename to crates/core/src/utils.rs