moved gen-wallpapers to its own crate, outputing json to stdout

This commit is contained in:
Philippe Loctaux 2024-04-04 23:36:05 +02:00
parent 0904feb383
commit f3a6e1c8a5
6 changed files with 868 additions and 674 deletions

View file

@ -1,3 +1,6 @@
[workspace]
members = ["crates/gen-wallpapers"]
[package]
name = "plcom"
version = "0.1.0"
@ -16,14 +19,8 @@ path = "src/gen-wallpapers.rs"
[dependencies]
rocket = "0.5"
rocket_async_compression = "0.5"
askama = { version = "0.12.1", features = ["with-rocket"] }
askama = { version = "0.12.1", features = ["with-rocket"] }
askama_rocket = "0.12.0"
chrono = "0.4.31"
minify-html = "0.11.1"
# wallpapers
nanorand = { version = "0.7.0", features = ["chacha"] }
kamadak-exif = "0.5.5"
reqwest = { version = "0.11.22", features = ["blocking", "json"] }
serde_json = "1.0.108"
dms-coordinates = "1.1.0"