Rust implementation

TODO: Make sure that JSON file writes are equivalent for less commit noise
This commit is contained in:
Brandon Rozek 2024-07-07 21:20:50 -07:00
parent d0571cfc2a
commit bc01b85f87
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
7 changed files with 1989 additions and 7 deletions

20
.scripts/Cargo.toml Normal file
View file

@ -0,0 +1,20 @@
[package]
name = "website-toots"
version = "0.1.0"
edition = "2021"
[dependencies]
tera = "1"
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
regex = "1.10.5"
[[bin]]
name = "retrieve_toots"
path = "src/retrieve_toots.rs"
[[bin]]
name = "generate_md"
path = "src/generate_md.rs"