about summary refs log tree commit diff
path: root/kittybox-rs/src/media/storage/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* treewide: rewrite using AxumVika2022-07-071-0/+53
Axum has streaming bodies and allows to write simpler code. It also helps enforce stronger types and looks much more neat. This allows me to progress on the media endpoint and add streaming reads and writes to the MediaStore trait. Metrics are temporarily not implemented. Everything else was preserved, and the tests still pass, after adjusting for new calling conventions. TODO: create method routers for protocol endpoints