Commit graph

33 commits

Author SHA1 Message Date
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
Felix Ableitner
5a5c015bfc No default feature, rename to actix-web, merge examples 2023-02-11 22:10:48 +09:00
aumetra
463580d734
Restrict the body sizes of responses (#23)
* Add default response body size limit

* Limit all the methods, add reqwest shim that wraps around bytes_stream

* Change image to rust:1.65-bullseye

* Use `DeserializeOwned` instead of the HRTB over `Deserialize`

* Remove the configurability, limit to 100KB

* Add documentation to body size restricted functions

* rustfmt
2023-01-28 04:45:11 +01:00
IFcoltransG
2c5a8c7004
Add keywords for crates.io discoverability (#19) 2023-01-02 12:58:25 +00:00
Paul Delafosse
9332c81458
feat: add axum compat (#12)
* feat: add actix feature flag

* (WIP)feat: add axum feature

* WIP: axum veridy digest + example

Note: this does not compile yet

* WIP

* chore: clippy lints

* Use actix rt for axum example

* ci: run example in CI for both actix and axum

* feat: add json wrapper type for axum

* docs: update readme with actix and axum feature flags

* fix: fix ci

* chore: more clippy lints

* refactor: update according to PR comment and factorize 'verify_digest'
2022-11-28 21:19:56 +00:00
Felix Ableitner
5b8ad33c60 Version 0.3.4 2022-11-23 12:25:32 +01:00
Nutomic
7bc1c4dbd9
Fix date header (#11) 2022-11-23 11:25:08 +00:00
Felix Ableitner
f59c817cc1 Version 0.3.3 2022-11-22 11:10:38 +01:00
Felix Ableitner
c57ee40092 v0.3.2 2022-11-16 10:30:29 +01:00
Felix Ableitner
8ee52826a1 v0.3.1 2022-11-14 16:11:58 +01:00
Felix Ableitner
aeba7f38bb Upgrade to 0.3.0 2022-11-14 15:26:38 +01:00
Nutomic
da32da5a67
Use enum_delegate crate (#5) 2022-11-14 12:04:36 +00:00
Felix Ableitner
dab34bc919 Version 0.2.3 2022-10-28 12:39:28 +02:00
Nutomic
472d55a69e
Async verify (#4)
* Add date header when sending activity

* Version 0.2.2

* Make verify url function async
2022-10-28 10:37:51 +00:00
Felix Ableitner
356b98bb97 Version 0.2.1 2022-09-29 23:37:25 +02:00
Felix Ableitner
4b08b671ec Upgrade dependencies 2022-09-29 23:36:50 +02:00
Felix Ableitner
583fe3574d Merge remote-tracking branch 'origin/main' 2022-06-20 13:09:17 +02:00
Felix Ableitner
698dcedefb Add documentation link to cargo.toml 2022-06-16 13:10:12 +02:00
Felix Ableitner
8d5ef9ce97 Version 0.2.0 2022-06-07 15:04:24 +02:00
Felix Ableitner
68e4cce4ec Improve api for send_activity() 2022-06-03 14:00:16 +02:00
Felix Ableitner
5e4bd751aa Initial commit 2022-06-02 13:26:05 +02:00