add bot crate
This commit is contained in:
parent
a371faf03d
commit
76e00991d9
4 changed files with 15 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
<sourceFolder url="file://$MODULE_DIR$/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$/bot/src" isTestSource="false" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
|
|
|
@ -3,5 +3,6 @@ members = [
|
|||
"post",
|
||||
"infrastructure",
|
||||
"scrapper",
|
||||
"bot",
|
||||
]
|
||||
resolver = "2"
|
||||
|
|
8
bot/Cargo.toml
Normal file
8
bot/Cargo.toml
Normal 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
4
bot/src/main.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
#[tokio::main]
|
||||
async fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in a new issue