Split the worker to a sub package

This commit is contained in:
2024-09-27 22:28:23 +02:00
parent 36468e4baf
commit d84918851b
2 changed files with 31 additions and 4 deletions

View File

@ -29,15 +29,17 @@ maintenance = { status = "passively-maintained" }
name = "snow-scanner"
path = "src/main.rs"
[[bin]]
name = "snow-scanner-worker"
path = "src/worker/worker.rs"
[workspace]
members = [
"src/worker"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log2 = "0.1.11"
ws2 = "0.2.5"
log2 = "0.1.11"
actix-web = "4"
actix-files = "0.6.6"
# mariadb-dev on Alpine