about summary refs log tree commit diff
path: root/kittybox-rs/src/media/storage
Commit message (Collapse)AuthorAgeFilesLines
* format using rustfmtVika2022-07-072-6/+21
|
* treewide: rewrite using AxumVika2022-07-072-0/+114
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