From 76e00991d918620bfe12912ae44f60969d15394b Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Fri, 27 Dec 2024 11:10:48 +0200 Subject: [PATCH] add bot crate --- .idea/bluesky-bot.iml | 1 + Cargo.toml | 3 ++- bot/Cargo.toml | 8 ++++++++ bot/src/main.rs | 4 ++++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 bot/Cargo.toml create mode 100644 bot/src/main.rs diff --git a/.idea/bluesky-bot.iml b/.idea/bluesky-bot.iml index b4d9f0b..d2718dd 100644 --- a/.idea/bluesky-bot.iml +++ b/.idea/bluesky-bot.iml @@ -6,6 +6,7 @@ + diff --git a/Cargo.toml b/Cargo.toml index 80622dd..f4bd2ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ members = [ "post", "infrastructure", - "scrapper", + "scrapper", + "bot", ] resolver = "2" diff --git a/bot/Cargo.toml b/bot/Cargo.toml new file mode 100644 index 0000000..d9d79dc --- /dev/null +++ b/bot/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "bot" +version = "0.1.0" +edition = "2021" + +[dependencies] +tokio = { version = "1", features = ["full"] } + diff --git a/bot/src/main.rs b/bot/src/main.rs new file mode 100644 index 0000000..7e3d561 --- /dev/null +++ b/bot/src/main.rs @@ -0,0 +1,4 @@ +#[tokio::main] +async fn main() { + println!("Hello, world!"); +}