Create romtom_discord_bot_crate
This commit is contained in:
8
Cargo.lock
generated
8
Cargo.lock
generated
@@ -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"
|
||||
|
||||
@@ -3,5 +3,5 @@ resolver = "2"
|
||||
|
||||
members = [
|
||||
"rotom_core",
|
||||
"rotom_database",
|
||||
"rotom_database", "rotom_discord_bot",
|
||||
]
|
||||
|
||||
@@ -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" }
|
||||
|
||||
14
rotom_discord_bot/Cargo.toml
Normal file
14
rotom_discord_bot/Cargo.toml
Normal file
@@ -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"]
|
||||
1
rotom_discord_bot/src/main.rs
Normal file
1
rotom_discord_bot/src/main.rs
Normal file
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user