use workspaces

This commit is contained in:
Denis-Cosmin Nutiu 2024-12-23 13:56:10 +02:00
parent c3440a66c0
commit 71f97c0763
6 changed files with 20 additions and 14 deletions

View file

@ -2,6 +2,7 @@
<module type="EMPTY_MODULE" version="4"> <module type="EMPTY_MODULE" version="4">
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/scrapper/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
</content> </content>

View file

@ -1,14 +1,5 @@
[package] [workspace]
name = "bluesky-bot" members = [
version = "0.1.0" "scrapper",
edition = "2021" ]
resolver = "2"
[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"

14
scrapper/Cargo.toml Normal file
View file

@ -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"