235 Commits

Author SHA1 Message Date
Paul Makles 4f6ad1b56b chore: bump version to 0.10.1 2024-07-10 17:04:27 +01:00
Paul Makles 1deb06bc23 merge: pull request #1 from IAmTomahawkx/master
Make DefaultAlert fields public for use in Delta
2024-07-10 14:45:04 +01:00
IAmTomahawkx 139c386084 feat: make defaultalert fields public so they can be used when making Payload yourself 2024-07-09 17:38:26 -07:00
Paul Makles 15c350eb11 chore: change crate name for publishing 2024-06-26 20:38:51 +01:00
Thomas Papillon cd19187e79 feat: add support for thread-id 2024-06-26 20:38:29 +01:00
Paul Makles a3c8813b6b fix: add timer to hyper Client 2024-06-26 20:38:08 +01:00
Chris Smith bf6a588018 fix: keep connections open 2024-06-26 20:37:37 +01:00
Chris Smith b0eb7d5c7f chore: v0.10.0 2024-05-05 13:52:42 +01:00
threema-donat 8cd21fc99c feat: Add option to set a request timeout (#81) 2024-05-05 13:50:26 +01:00
dependabot[bot] e033ae4544 Bump h2 from 0.4.3 to 0.4.4 (#84)
Bumps [h2](https://github.com/hyperium/h2) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 19:22:47 -04:00
dependabot[bot] 45343dcb59 Bump rustls from 0.22.2 to 0.22.4 (#83)
Bumps [rustls](https://github.com/rustls/rustls) from 0.22.2 to 0.22.4.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.22.2...v/0.22.4)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 19:20:41 -04:00
threema-donat ed825b451a Resolve unwrap in build body and when acquiring RwLock (#79)
* fix: Use parking_lot to avoid PoisenError when acquiring a RwLock<_>

* fix: Propagate error when building a HTTP request

- Add error::Error variant
- Add test for an invalid request

* feat: Warn when unwrap is used
2024-04-26 19:15:10 -04:00
Chris Smith a3860aef18 chore: v0.9.0 2024-04-25 17:13:49 -04:00
Chris Smith fa3bf7c544 chore: update README, delete CHANGELOG 2024-04-25 17:12:41 -04:00
threema-donat a37ca93714 feat: Derive Copy for PushType (#80) 2024-04-25 17:04:18 -04:00
boxdot 2395a406f0 chore: upgrade to hyper 1.0 (#75)
* chore: upgrade to hyper 1.0

Also remove the dependency on hyper-alpn. There is no need for this
dependency since all its features are already implemented in
hyper-rustls.

Upgrade to remove duplicated dependencies:
* base64 from 0.21 -> 0.22
* pem 1.0 -> 3.0
* ring 0.16 -> 0.17

* remove commented out dep

* fix ring feature
2024-04-25 17:03:26 -04:00
Chris Smith cf9f8eecb0 chore: v0.8.1 2024-04-25 16:32:54 -04:00
threema-donat ce701eb57b fix: Add tcp feature to hyper (#77)
Prevents `executor must be set` panic when hyper with tcp enabled is not already in the dependencies of the project
2024-04-17 12:50:24 -04:00
Gabriel Féron bcef811c3a Add apns-push-type header (#74)
* Add apns-push-type header

* Add unit test and re-export PushType

* Derive PartialEq and Eq
2024-04-17 12:50:12 -04:00
Chris Smith 7922bcd02c chore: add codeowners (#78) 2024-04-16 15:04:24 -04:00
Harry Bairstow 11f3d75883 chore: v0.8.0 2023-08-29 11:24:03 +01:00
Mary 7242a9a549 feat: add support for critical alerts & include data in aps key (#71) 2023-08-01 15:46:51 +01:00
Harry Bairstow 0b29470b6d chore: ensure all dependencies are published
migrate back to crates.io release for `hyper-alpn`
2023-06-05 20:34:46 +01:00
JR Conlin 8b38de0b2f feat: add Client::certificate_parts() method (#72) 2023-06-05 20:27:24 +01:00
Rakowskiii d0236c3177 fix: hotfix 2023-03-01 17:49:44 +01:00
Harry Bairstow 910c81f673 chore: update README.md example 2023-02-19 13:42:58 +00:00
Harry Bairstow 443a6dc51b chore: Bump lockfile 2022-12-22 15:53:00 +00:00
Harry Bairstow 6c7b6054c0 chore: Bump version for release 2022-12-22 15:51:00 +00:00
JR Conlin c08f146337 feat: Misc Changes from Mozilla Services
Most changes have been captured in this PR, however some might have been missed if so please open a new PR and I'll review ASAP

Co-authored-by: Mark Drobnak <mdrobnak@mozilla.com>
Co-authored-by: Julius de Bruijn <bruijn@prisma.io>
Co-authored-by: Julius de Bruijn <julius+github@nauk.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Neswold <neswold@fnal.gov>
Co-authored-by: Alex Hortopan <alex@hortopan.com>
Co-authored-by: Harry Bairstow <h.bairstow22@gmail.com>
Co-authored-by: Austin Evans <austinjevans@me.com>
Co-authored-by: Harry Bairstow <me@harryet.xyz>
2022-12-22 15:46:22 +00:00
Harry Bairstow e975867948 v0.7 (#63) 2022-12-22 14:35:50 +00:00
Austin Evans bfe8ef3551 fix: Adds tcp feature to hyper (#61) 2022-08-15 10:36:17 +01:00
Harry Bairstow 8abd89b36e Migrate to new maintainers 2022-08-15 10:24:55 +01:00
Julius de Bruijn 48caef0f79 Bump to v0.6.2 2021-11-05 09:11:54 +01:00
Alex Hortopan da596b6d14 feat: add implementation to support safari web push (#57) 2021-11-05 09:08:03 +01:00
Julius de Bruijn 66186ca71e nix direnv/shell 2021-09-12 16:30:07 +02:00
Rich Neswold 8bcf3df664 Upgrade to base64 0.13. 2021-09-12 15:49:25 +02:00
Julius de Bruijn 533cdd057f Windows CI 2021-03-27 11:21:07 +01:00
Julius de Bruijn 286689d987 Update README.md 2021-03-27 10:46:02 +01:00
Julius de Bruijn a2ba2e0636 Update README.md 2021-03-26 19:13:16 +01:00
github-actions[bot] f2b6d6e7d4 Format Rust code using rustfmt 2021-03-26 19:12:46 +01:00
Julius de Bruijn df02b8e38a Switch to GitHub actions 2021-03-26 19:12:46 +01:00
Julius de Bruijn 8d4230889a Bump to v0.6.0 2021-03-16 13:01:00 +01:00
Julius de Bruijn adc8d38138 Update to Tokio 1.0 2021-03-16 12:59:56 +01:00
Julius de Bruijn 21da69d029 Update README.md 2021-02-12 19:00:34 +00:00
Mark Drobnak 2d826a7b08 Fix stack overflow in Error's Display impl (#47)
* Fix stack-overflow in Error's Display impl

Also removed some deprecated impls and changed the "reason" string from
the debug string to the human-readable message.

* Remove unused lifetime param

* Use thiserror and improve the details in our error
2020-12-22 13:55:13 +00:00
Mark Drobnak c7b325e1c8 Upgrade dependencies (#48) 2020-08-10 18:42:04 +00:00
Julius de Bruijn e80ce3de08 Fix warnings (#45) 2020-05-14 20:56:51 +00:00
Julius de Bruijn b2447a4313 Bump to v0.5.2 2020-05-14 22:52:49 +02:00
Jacob Haslehurst 831ac6cd74 Tweak token signature TTL to 55 minutes (#44)
This avoids triggering `TooManyProviderTokenUpdates` errors
2020-05-14 20:51:42 +00:00
Julius de Bruijn 0330dbf1e7 Fix merge problem 2019-12-17 11:12:03 +01:00