WalletConnect / a2

An Asynchronous Apple Push Notification (apns2) Client for Rust
MIT License
136 stars 47 forks source link

a2

CI Status MIT licensed crates.io docs.rs

HTTP/2 Apple Push Notification Service for Rust using Tokio and async sending.

Requirements

Needs a Tokio executor version 1.0 or later and Rust compiler version 1.60.0 or later.

Features

Examples

The library supports connecting to Apple Push Notification service either using a certificate with a password or a private key with a team id and key id. Both are available from your Apple account and with both it is possible to send push notifications to one application.

To see it used in a real project, take a look to the Echo Server, which is a project by WalletConnect to handle incoming webhooks and converting them to push notifications.

Gotchas

We've been pushing some millions of notifications daily through this library and are quite happy with it. Some things to know, if you're evaluating the library for production use:

Tests

cargo test