about summary refs log tree commit diff
path: root/src/media
Commit message (Collapse)AuthorAgeFilesLines
* media endpoint: small code cleanupVika9 days2-8/+5
| | | | Change-Id: I10d8ffd53bd3c02d6de3ba4520ab859c18697c61
* Set MSRV to 1.75, remove #[async_trait] declarations whenever possibleVika2024-08-262-15/+15
| | | | | | | Axum still uses `async_trait`, let them do whatever they want. I will no longer be subject to the humiliation of trying to dig through lifetime errors and unreadable declarations. Also I don't fucking care about MSRV, I'm not a library. If you don't have modern Rust, get one.
* Appease most clippy warningsVika2024-08-261-4/+4
| | | | | | The warnings only remain in places where I need them to remain, because I either need a reminder to implement something, or I need to refactor and simplify the code in question.
* 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.
* treewide: create a common method for state initializationVika2024-08-012-6/+7
| | | | | Now the database objects can be uniformly created from a URI. They can also optionally do sanity checks and one-time initialization.
* lint: no extra whitespace on line endingsVika2024-01-291-3/+3
|
* Moved the entire Kittybox tree into the rootVika2023-07-293-0/+752
|
* 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)