It's a Rust client library you can use to interact with the Pushover messaging API.
This client is unofficial and I'm in no way linked to Pushover.
Get it directly from crates.io
Cargo.toml:
[dependencies]
pushover-rs = "*"
...- A Pushover account (Create one)
- An application you have created through the dashboard (Create one now)
- Your user key
- Your app's token
See the examples folder
To run the tests, you'll need:
- Create a /testdata folder, in there:
- Put a picture called
attachment_test.jpg - Create a credentials.json with this inside:
- Put a picture called
{
"token": "your token",
"user": "your user key"
}- To recap:
/testdata
/testdata/attachment_test.jpg
/testdata/credentials.json
Please create an issue here I'll treat it as soon as possible!
The API might change or break in the future, but i'll try my best not to break anything.
- Fixed a bug that prevented sending out emergency priority messages (missing retry and expire options).
- Now setting priority to value 2 (emergency) requires setting the newly available set_retry and set_expire options.
- If not provided, default values will be used (retry: 30, expire: 10800).
- Added support for sending messages with attachments asynchronously. (new exposed method
send_with_attachment_async) - Upgraded dependencies.
Maintenance updates; upgrade of dependencies.
- Support the TTL option