add bot crate

This commit is contained in:
Denis-Cosmin Nutiu 2024-12-27 11:10:48 +02:00
parent a371faf03d
commit 76e00991d9
4 changed files with 15 additions and 1 deletions

View file

@ -6,6 +6,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/post/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/post/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/infrastructure/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/infrastructure/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/bot/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />

View file

@ -2,6 +2,7 @@
members = [ members = [
"post", "post",
"infrastructure", "infrastructure",
"scrapper", "scrapper",
"bot",
] ]
resolver = "2" resolver = "2"

8
bot/Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[package]
name = "bot"
version = "0.1.0"
edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }

4
bot/src/main.rs Normal file
View file

@ -0,0 +1,4 @@
#[tokio::main]
async fn main() {
println!("Hello, world!");
}