diff --git a/Cargo.lock b/Cargo.lock index 4fdae80..70d7329 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1297,6 +1297,14 @@ dependencies = [ "thiserror 2.0.11", ] +[[package]] +name = "rotom_discord_bot" +version = "0.1.0" +dependencies = [ + "rotom_core", + "rotom_database", +] + [[package]] name = "rustc-demangle" version = "0.1.24" diff --git a/Cargo.toml b/Cargo.toml index e1f1b1d..aaab1f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,5 +3,5 @@ resolver = "2" members = [ "rotom_core", - "rotom_database", + "rotom_database", "rotom_discord_bot", ] diff --git a/rotom_database/Cargo.toml b/rotom_database/Cargo.toml index 214a36d..ca10854 100644 --- a/rotom_database/Cargo.toml +++ b/rotom_database/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] async-trait = "0.1.85" -diesel = { version = "2.2.6", default_features = false } +diesel = { version = "2.2.6", default-features = false } diesel-async = { version = "0.5.2", features = ["bb8"] } diesel_migrations = "2.2.0" rotom_core = { path = "../rotom_core" } diff --git a/rotom_discord_bot/Cargo.toml b/rotom_discord_bot/Cargo.toml new file mode 100644 index 0000000..082136a --- /dev/null +++ b/rotom_discord_bot/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "rotom_discord_bot" +version = "0.1.0" +edition = "2021" + +[dependencies] +rotom_core = { path = "../rotom_core" } +rotom_database = { path = "../rotom_database", default-features = false } + +[features] +default = ["mysql", "postgres", "sqlite"] +mysql = ["rotom_database/mysql"] +postgres = ["rotom_database/postgres"] +sqlite = ["rotom_database/sqlite"] diff --git a/rotom_discord_bot/src/main.rs b/rotom_discord_bot/src/main.rs new file mode 100644 index 0000000..f328e4d --- /dev/null +++ b/rotom_discord_bot/src/main.rs @@ -0,0 +1 @@ +fn main() {}