about summary refs log tree commit diff
path: root/src/media/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* axum: 0.7.9 → 0.8.1Vika2025-01-011-2/+3
| | | | | | | | | | | | | Some breaking changes. For better or for worse. The optional extractor breaking change is a double-edged sword, since not all extractors can be used with `Option<T>` now, and you have to use `Result<T, T::Rejection>` even when you want to ignore an error coming from an extractor, such as `Query`. However, this allows catching errors on authorization extractors even in places where authorization is optional. Change-Id: I35f809d3adf27dbef0e7ee93dc1a7af178b7d014
* kittybox-util: bump to 0.3.0Vika2024-12-031-16/+16
| | | | | | | | Changed micropub::Error's description to Option<Cow<'static, str>> to allow for that sweet sweet memory savings from not having to heap-allocate strings for static errors. Change-Id: Ic82e5ad5cacea766ea0a7e8677ce6a7f16ae8668
* media endpoint: small code cleanupVika2024-11-131-7/+4
| | | | Change-Id: I10d8ffd53bd3c02d6de3ba4520ab859c18697c61
* kittybox-util: 0.1.0 -> 0.2.0Vika2024-08-201-1/+1
| | | | Micropub types are now more coherent and gathered in one place.
* Upgrade dependencies and fix deprecated functionalityVika2024-08-021-3/+5
| | | | | | | I think I managed to not lose any functionality from my dependencies. sqlparser remains unupgraded, but that's mostly because it is only used in one example and it's not worth it to upgrade right now.
* Migrate from axum::Extension to axum::extract::StateVika2024-08-011-15/+11
| | | | | This somehow allowed me to shrink the construction phase of Kittybox by a huge amount of code.
* Moved the entire Kittybox tree into the rootVika2023-07-291-0/+141
|
* flake.nix: reorganizeVika2022-05-241-46/+0
| | | | | | | | | | | | - Kittybox's source code is moved to a subfolder - This improves build caching by Nix since it doesn't take changes to other files into account - Package and test definitions were spun into separate files - This makes my flake.nix much easier to navigate - This also makes it somewhat possible to use without flakes (but it is still not easy, so use flakes!) - Some attributes were moved in compliance with Nix 2.8's changes to flake schema
* media: move to separate subtreeVika2022-05-101-0/+46
This will ease future extraction of the media endpoint to a separate crate. This is highly desirable since it will allow Kittybox's media endpoint to be used separately in instances where a standalone media endpoint is desirable (e.g. custom solutions using my code to polyfill for desired functionality that is undesirable to implement by oneself)