Commit graph

10 commits

Author SHA1 Message Date
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 05ad7b2f3a Revert change to take payload in inbox, it wasnt necessary. 2022-11-15 23:18:28 +01:00
Felix Ableitner 11fcb62416 Take dev::Payload for inbox which is more flexible 2022-11-14 16:11:36 +01:00
Nutomic 3a8dd5c6db
In inbox, verify that http signature digest was verified (ref #1) (#6) 2022-11-14 14:23:06 +00: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 68e4cce4ec Improve api for send_activity() 2022-06-03 14:00:16 +02:00
Felix Ableitner 31da95af95 Remove generic param error from receive_activity() 2022-06-02 18:23:27 +02:00
Felix Ableitner 5ba09005af Remove generic Error param from ObjectId functions 2022-06-02 14:42:29 +02:00
Felix Ableitner 73d34d8011 Improved url verification, explicit debug mode 2022-06-02 14:40:54 +02:00
Felix Ableitner 5e4bd751aa Initial commit 2022-06-02 13:26:05 +02:00