From f9d31ce114316beb838fb7a47763e7a594ff73af Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Sun, 14 May 2023 11:43:04 +0200 Subject: [PATCH] refactor: make affy main cargo project --- Cargo.toml | 13 ++++++++++++- bot/Cargo.toml | 13 ------------- {bot/src => src}/commands.rs | 0 {bot/src => src}/main.rs | 0 4 files changed, 12 insertions(+), 14 deletions(-) delete mode 100644 bot/Cargo.toml rename {bot/src => src}/commands.rs (100%) rename {bot/src => src}/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index eea9b1e..f52117f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,5 +3,16 @@ members = [ "affluences-api", "affluences-cli", - "bot", ] + +[package] +name = "affy" +version = "0.1.0" +edition = "2021" + +[dependencies] +affluences-api = { path = "./affluences-api" } +tokio = { version = "1.28.1", features = ["full"] } +chrono = "*" +uuid = "*" +poise = "0.5.5" diff --git a/bot/Cargo.toml b/bot/Cargo.toml deleted file mode 100644 index 41a372d..0000000 --- a/bot/Cargo.toml +++ /dev/null @@ -1,13 +0,0 @@ -[package] -name = "affy" -version = "0.1.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -affluences-api = { path = "../affluences-api" } -tokio = { version = "1.28.1", features = ["full"] } -chrono = "*" -uuid = "*" -poise = "0.5.5" diff --git a/bot/src/commands.rs b/src/commands.rs similarity index 100% rename from bot/src/commands.rs rename to src/commands.rs diff --git a/bot/src/main.rs b/src/main.rs similarity index 100% rename from bot/src/main.rs rename to src/main.rs