diff --git a/.idea/bluesky-bot.iml b/.idea/bluesky-bot.iml index cf84ae4..077945f 100644 --- a/.idea/bluesky-bot.iml +++ b/.idea/bluesky-bot.iml @@ -2,6 +2,7 @@ + diff --git a/Cargo.toml b/Cargo.toml index 78b2718..a73ac4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,5 @@ -[package] -name = "bluesky-bot" -version = "0.1.0" -edition = "2021" - -[dependencies] -env_logger = "0.11.5" -tokio = { version = "1", features = ["full"] } -anyhow = "1.0" -reqwest = "0.12.9" -scraper = "0.22.0" -clokwerk = "0.4.0" -log = "0.4.22" -ctrlc = "3.4.5" +[workspace] +members = [ + "scrapper", +] +resolver = "2" \ No newline at end of file diff --git a/scrapper/Cargo.toml b/scrapper/Cargo.toml new file mode 100644 index 0000000..e6c0878 --- /dev/null +++ b/scrapper/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "scrapper" +version = "0.1.0" +edition = "2021" + +[dependencies] +env_logger = "0.11.5" +tokio = { version = "1", features = ["full"] } +anyhow = "1.0" +reqwest = "0.12.9" +scraper = "0.22.0" +clokwerk = "0.4.0" +log = "0.4.22" +ctrlc = "3.4.5" diff --git a/src/main.rs b/scrapper/src/main.rs similarity index 100% rename from src/main.rs rename to scrapper/src/main.rs diff --git a/src/scrapper.rs b/scrapper/src/scrapper.rs similarity index 100% rename from src/scrapper.rs rename to scrapper/src/scrapper.rs diff --git a/src/scrapper/gfourmedia.rs b/scrapper/src/scrapper/gfourmedia.rs similarity index 100% rename from src/scrapper/gfourmedia.rs rename to scrapper/src/scrapper/gfourmedia.rs