Commit graph

70 commits

Author SHA1 Message Date
Felix Ableitner
a0e0c54b57 Version 0.5.8 2024-07-16 12:29:56 +02:00
Nutomic
4920d1a2de
Upgrade dependencies (#120) 2024-07-16 12:29:14 +02:00
藍+85CD
472f6ffac5
chore(deps/reqwest): enable rustls-tls feature (#118) 2024-07-16 11:48:45 +02:00
藍+85CD
8f47daa2e2
refactor!: use rsa instead of openssl (#116)
* refactor!: use `rsa` instead of `openssl`

* fix: format code

* fix: format code

* fix: lint code

* fix: format code
2024-07-15 10:20:35 +02:00
Nutomic
6edbc06a78
Convert content-type to lowercase for comparison (#114)
* Convert content-type to lowercase for comparison

* rust 1.78

* clippy priority

* upgrade dep
2024-06-11 11:16:04 +02:00
Felix Ableitner
175b22006b Revert "Version 0.5.7"
This reverts commit a251140952.
2024-06-06 00:02:41 +02:00
Felix Ableitner
a251140952 Version 0.5.7 2024-06-05 23:09:53 +02:00
Felix Ableitner
16844f048a Version 0.5.6 2024-05-06 11:09:47 +02:00
Felix Ableitner
24afad7abc Version 0.5.5 2024-05-02 13:06:22 +02:00
Nutomic
c48de9e944
Upgrade dependencies (#110) 2024-05-02 06:58:08 -04:00
Felix Ableitner
ee268405f7 Version 0.5.4 2024-04-10 11:32:14 +02:00
Felix Ableitner
779313ac22 Version 0.5.3 2024-04-09 11:30:43 +02:00
Nutomic
7def01a19a
Avoid running ci checks twice (#105)
* Avoid running ci checks twice

* upgrade rust

* move clippy config to cargo.toml
2024-04-09 11:28:57 +02:00
Felix Ableitner
1b46dd6f80 Version 0.5.2 2024-03-08 15:43:43 +01:00
Felix Ableitner
147f144769 Version 0.5.1 2024-03-04 16:27:44 +01:00
Felix Ableitner
3b5e5f66ba Upgrade dependencies 2024-03-04 16:23:46 +01:00
Felix Ableitner
f907b6efa7 Version 0.5.1-beta.1 2024-01-05 16:21:20 +01:00
Felix Ableitner
3efa99514c Version 0.5.0 2024-01-02 11:40:55 +01:00
Felix Ableitner
9c3c756890 Version 0.5.0-beta.7 2023-12-20 12:28:43 +01:00
Felix Ableitner
fec0af2406 Version 0.5.0-beta.6 2023-12-12 11:42:52 +01:00
Felix Ableitner
71ece55641 Upgrade deps 2023-12-12 11:32:22 +01:00
Nutomic
24830070f6
Add diesel feature, add ObjectId::dereference_forced (#88)
* Add diesel feature

This can simplify Lemmy code and avoid converting back and forth
to DbUrl type all the time.

* Also add diesel derives for CollectionId

* Add ObjectId::dereference_forced

* no deprecated code

* fmt
2023-12-11 15:04:18 +01:00
Nutomic
1f7de85a53
Upgrade dependencies (#86) 2023-12-01 15:40:12 +01:00
Felix Ableitner
33649b43b7 Version 0.5.0-beta.5 2023-11-20 14:35:51 +01:00
cetra3
098a4299f0
Remove anyhow from trait definitions (#82) 2023-11-20 11:42:47 +01:00
Felix Ableitner
171d32720e 0.5.0-beta.4 2023-10-24 11:34:42 +02:00
Felix Ableitner
a5102d0633 Version 0.5.0-beta.3 2023-09-01 11:20:36 +02:00
Felix Ableitner
99e2226993 Version 0.5.0-beta.2 2023-09-01 11:20:07 +02:00
phiresky
51443aa57c
Remove activity queue and add raw sending (#75)
* make prepare_raw, sign_raw, send_raw functions public

* remove in-memory activity queue

* rename module

* comment

* don"t clone

* fix doc comment

* remove send_activity function

---------

Co-authored-by: Nutomic <me@nutomic.com>
2023-09-01 11:19:22 +02:00
Felix Ableitner
7bb17f21d5 0.5.0-beta.1 2023-07-26 16:27:33 +02:00
Felix Ableitner
9b5d6af8c0 Version 0.4.6 2023-07-20 16:37:20 +02:00
Colin Atkinson
d9f1a4414f
Fix regex error when actix-web feature not enabled (#56)
* Fix formatting for nightly rustfmt

https://github.com/LemmyNet/lemmy/issues/3467

* Fix regex error when actix-web feature not enabled

If the crate is built with only the axum feature, compiling the
webfinger account regex will fail with an error "Unicode-aware case
insensitivity matching is not available..." because of the missing
unicode-case feature. This doesn't happen if actix is installed because
it pulls in the regex crate with all features (via [actix-router][0]).

The failure can be demonstrated by reverting this commit's change to
Cargo.toml and running:

    cargo test --no-default-features --features=axum --doc extract_webfinger_name

Resolve this by adding the unicode-case feature to the regex dependency.

[0]: 0e8ed50e3a/actix-router/Cargo.toml (L25)
2023-07-03 15:05:18 +02:00
phiresky
b64f4a8f3f
fix: make "other" error actually transparent (#51)
* fix: make "other" error actually transparent

* cargo fmt
2023-06-29 10:19:49 +02:00
Felix Ableitner
93b7aa7979 Version 0.4.5 2023-06-27 15:42:50 +02:00
Felix Ableitner
7300940e10 Version 0.4.4 2023-06-22 09:42:27 +02:00
Felix Ableitner
607aca7739 Version 0.4.3 2023-06-22 09:21:27 +02:00
Felix Ableitner
1aa081713e Version 0.4.2 2023-06-20 12:01:38 +02:00
cetra3
c356265cf4
Remove actix-rt and replace with tokio tasks (#42)
* Remove `actix-rt` and replace with tokio tasks

* Include activity queue test

* Use older `Arc` method

* Refactor to not re-process PEM data on each request

* Add retry queue and spawn tokio tasks directly

* Fix doc error

* Remove semaphore and use join set for backpressure

* Fix debug issue with multiple mailboxes
2023-06-20 11:54:14 +02:00
Felix Ableitner
6ac6e2d90e Version 0.4.1 2023-06-12 16:25:09 +02:00
Felix Ableitner
2075e99ebb Update dependencies 2023-06-12 16:19:30 +02:00
Felix Ableitner
51613df9e3 Move actix-rt to dev-dependencies 2023-05-24 12:41:00 +02:00
Felix Ableitner
c56f526914 Add signature tests, update dependencies, remove Cargo.lock from git 2023-03-30 21:57:18 +02:00
Felix Ableitner
1669a72620 Version 0.4.0 2023-03-16 21:48:17 +01:00
Felix Ableitner
bd3f17a4df Version 0.4.0-rc3 2023-03-16 02:11:12 +01:00
Nutomic
6b3a4f8942
Add verify methods back in, some more fixes (#28) 2023-03-09 22:09:44 +01:00
Felix Ableitner
8697c3fb1c Release 0.4.0-rc1 2023-03-08 22:22:58 +01:00
Felix Ableitner
d94a2ed0fc live federation example 2023-03-08 22:16:43 +01:00
Felix Ableitner
d5ecab1b61 finish rustdoc 2023-03-04 23:20:06 +01:00
Felix Ableitner
19c459fc02 Further improvements 2023-03-02 00:19:10 +01:00
Felix Ableitner
69e77dfa74 Various improvements for usability, examples and docs 2023-02-19 21:26:01 +09:00