about summary refs log tree commit diff
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Bump MSRV to 1.81 due to dependency using error_in_coreVika2025-01-011-1/+1
| | | | Change-Id: I8c0ccf651d05b33fa33cbf8bb454b27ad6b9af98
* cargo update, bump msrv to match microformats crateVika2025-01-011-3/+3
| | | | | | I need to actually verify the msrv tho Change-Id: I61ce30845b9a076849ebc6adde65e58763b3741e
* Partially appease clippyVika2025-01-011-0/+3
| | | | | | | Some false positives on `serde(rename)` remain, as well as lints still requiring my attention. Change-Id: I3166771af20b2d07c6226b3b1a9d15fe36152356
* Get rid of base64 and hex in favor of data_encoding crateVika2025-01-011-2/+0
| | | | | | Less dependency duplication = more fun Change-Id: Icbd0497a68fdd5bea3757e3c62c80008b87bce96
* Use workspace dependencies to simplify dependency managementVika2025-01-011-93/+93
| | | | | | | | | | | | | This will reduce risks of dependency duplication in the tree when updating or adding new dependencies, as one could simply inherit from the workspace. `cargo-autoinherit` was considered, but it migrates EVERY single dependency, whereas I'd prefer that only reused dependencies are migrated. Additionally, it doesn't merge features automatically, requiring manual intervention anyway. Change-Id: If0dd19012c723ab71f599119d108e805b2d5e463
* microformats: 0.12.0 -> 0.14.0Vika2024-12-311-1/+1
| | | | | | | | | | Even though there is no corresponding source published to GitLab, it seems the package is fine and is still maintained. I also had to manually fix a versioning glitch because the required microformats-types version was not bumped. Change-Id: I6c052fac465f7e8c3d8cbb785f73e750c546d7a3
* Upgrade SemVer-breaking packagesVika2024-12-301-10/+9
| | | | Change-Id: I187fbf798ea6e29a8d04c4e3a894dc4a115ea9a7
* cargo upgradeVika2024-12-301-40/+40
| | | | Change-Id: I3c02e42596d9e307e4f155959ea5f1493322df82
* Fix up CLI featureVika2024-12-301-5/+3
| | | | Change-Id: Ia72ec9b7cdaae86c3f6a963f9f22c26801f56851
* fixup! microformats: 0.9.1 -> 0.12.0Vika2024-12-301-1/+1
|
* microformats: 0.9.1 -> 0.12.0Vika2024-12-301-2/+2
| | | | Change-Id: Ief031acfc014bf3b74874f778600ee214cf61301
* kittybox-util: bump to 0.3.0Vika2024-12-031-1/+1
| | | | | | | | 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
* tower-watchdog: init at 1.0.0Vika2024-11-131-1/+1
| | | | | | | Wait, is this my first self-contained crate? Not bad. I like this. Maybe I'll go publish it to crates.io? Change-Id: I340d0839746ff1cfbcc4c82c230ae2adff2a92f7
* Set MSRV to 1.75, remove #[async_trait] declarations whenever possibleVika2024-08-261-0/+1
| | | | | | | 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.
* Add HTTP fetcher cacheVika2024-08-261-0/+2
| | | | | | | It just does its thing in the background, potentially speeding up things. Maybe I could also use the underlying in-memory cache implementation (Moka) to speed up my database. I heard crates.io got some good results from that.
* kittybox-util: 0.1.0 -> 0.2.0Vika2024-08-201-2/+2
| | | | Micropub types are now more coherent and gathered in one place.
* Better match html content-typeVika2024-08-181-0/+1
|
* feat: logins!!Vika2024-08-181-1/+1
| | | | | | | | yes you can finally sign in this is also supposed to show private posts intended for you! maybe i can also reveal my email to those who sign in! :3
* Upgrade dependencies and fix deprecated functionalityVika2024-08-021-19/+19
| | | | | | | 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.
* Get cookie key from the environmentVika2024-08-011-0/+1
|
* Start working on login functionalityVika2024-07-091-1/+1
|
* kittybox-indieauth: 0.1.0 -> 0.2.0Vika2024-07-091-1/+1
| | | | | | | | | Added fundamental AutoAuth types. This library can now be used to augment existing authorization and token endpoints with AutoAuth capabilities. See https://github.com/sknebel/AutoAuth/blob/master/AutoAuth.md for the latest spec draft.
* Add licensing information to Cargo.tomlVika2024-07-081-0/+1
|
* examples/sql: make optionalVika2024-06-151-1/+6
|
* Prototype sanitizer for SQLVika2024-06-141-0/+4
| | | | | | This might allow me to use SQL syntax in Kittybox's private search interfaces, allowing for queries of incredible specificity while not allowing to query private data or inject arbitrary SQL.
* Mask sensitive headersVika2024-06-141-1/+1
|
* templates-neo: initVika2023-07-311-1/+1
| | | | | | This is an experimental approach to templates, using `yoshuawuyts`'s `html` crate. The crate itself has a promising API, but is notably incomplete.
* Moved the entire Kittybox tree into the rootVika2023-07-291-0/+158
|
* flake.nix: reorganizeVika2022-05-241-114/+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
* Cargo.toml: fix Nix builds in restricted modeVika2022-05-121-1/+1
|
* treewide: prepare for mf2 parsing and cleanup unused codeVika2022-05-121-6/+5
|
* FileStorage: fixes and regression tests for read_feed_with_limitVika2022-05-101-1/+2
| | | | Now I will know if something breaks horribly again.
* Split into different cratesVika2022-05-071-2/+11
| | | | | | | | | Templates and utility types are now separate crates to speed up compilation, linting and potential reuse/replacement. Potentially more crates could be split out/modularized, resulting in speedups, smaller binaries (whenever features are excluded) and even more reuse capabilities.
* chore: code cleanupVika2022-05-011-1/+0
|
* added tokio-console instrumentation supportVika2022-04-171-1/+3
|
* added mediatype to replace http_types::MimeVika2022-04-171-0/+1
|
* Cargo.toml: add reqwestVika2022-04-151-0/+4
| | | | It's an advanced HTTP client that can do more than vanilla Hyper does.
* Make the settings in the database a strong typeVika2022-03-231-0/+1
|
* Restored most of the functionality (except onboarding and some queries)Vika2022-03-061-0/+1
|
* metrics: new metrics collection using warp-prometheusVika2022-03-021-1/+7
|
* add compat between http_types and httpVika2022-02-211-2/+4
|
* Add a module for IndieAuth bearer token authVika2022-02-211-1/+7
| | | | | | | | | | | | | require_token() uses a token endpoint URI and an HTTP client to query the token endpoint and return a User object if the user was authorized, or rejecting with IndieAuthError if not. It is recommended to use recover() and catch the IndieAuthError at the application level to show a "not authorized" error message to the user. This function is more intended for API consumption, but is general enough to permit using in other scenarios. TODO: make a variant that returns Option<User> instead of rejecting
* WIP: convert to Tokio and WarpVika2022-02-151-11/+12
| | | | | | | | | | | Warp allows requests to be applied as "filters", allowing to flexibly split up logic and have it work in a functional style, similar to pipes. Tokio is just an alternative runtime. I thought that maybe switching runtimes and refactoring the code might allow me to fish out that pesky bug with the whole application hanging after a certain amount of requests...
* Migrate to Rust 2021Vika2021-12-071-1/+1
|
* Disable the deprecated redis featureVika2021-12-071-1/+1
|
* Added support for IndieAuth client sign inVika2021-12-061-0/+3
| | | | | | | This will allow readers to view private posts intended just for them. Additionally fixed bugs in patterns due to which webmentions might not have been sent.
* Code cleanup and small bugfixing in templatesVika2021-12-051-1/+1
|
* Deprecated Redis backend and added a database migration tool (untested, beware)Vika2021-10-271-9/+10
|
* Implemented FileStorage::get_setting and FileStorage::set_settingVika2021-09-271-0/+1
|
* Moved integration tests and allowed the binary to use file backendVika2021-09-261-2/+6
| | | | | | Now the Redis dependencies are optional and only required if you want to test the backend or actually use it in production. The app displays a hint if you try to launch with an unsupported backend.