A library for sending iOS and Android push notifications with Amazon Simple Notification Servce (SNS).
```rust use snspushnotifications::{Push, Region, SnsClient};
let client = SnsClient::new_checked(Region::EuWest1)?;
let endpointarn = client.registerdevice( // not an actual token "123coi12j3vi12u3o1k23pb12e0jqpfw79g7w6fyi2o4jg293urf9q7ct9x1oi2h", // not an actual platform arn "arn:aws:sns:eu-west-1:000000000000:app/APNS/my-rusty-app", )?;
client.sendpush( &Push::Alert { text: "Hello, World!".tostring(), badge: Some(1), }, &endpoint_arn, )?;
```
License: MIT