apns2-rust
A Rust crate for sending push notifications to iOS devices via the APNS http/2 API.
Usage
Cargo.toml:
[]
= "*"
= "*"
extern crate apns2;
extern crate failure;
use Error;
Client
Sadly, no native http/2 Rust libraries are mature enough to be used, so this crate currently uses cURL via rust-curl. Once the ecosystem catches up, a native Rust solution will be used.
Todo
- Add JWT authentication token support
- Add async tokio implementation with tokio-curl
License
This library is dual-licensed under Apache and MIT.
Check the license files in this repo for details.