pushover-rs

Crates.iopushover-rs
lib.rspushover-rs
version0.3.18
sourcesrc
created_at2021-11-02 17:26:36.908097
updated_at2024-05-19 01:04:07.688925
descriptionA Rust client for Pushover (https://www.pushover.net)
homepagehttps://github.com/Oscuro87/pushover-rs
repositoryhttps://github.com/Oscuro87/pushover-rs
max_upload_size
id475810
size80,193
Emmanuel C. (Oscuro87)

documentation

https://docs.rs/pushover-rs/latest/

README

Pushover RS

Description

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.

State: Working & Maintained

Where to get it

Get it directly from crates.io

Cargo.toml:

[dependencies]
pushover-rs = "*"
...

How to use

You need

Usage example

See the examples folder

Documentation

It's here

Run the tests

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:
{
    "token": "your token",
    "user": "your user key"
}
  • To recap:
/testdata
    /testdata/attachment_test.jpg
    /testdata/credentials.json

Note

The API might change or break in the future, but i'll try my best not to break anything.

Changelog

0.3.18

  • Support the TTL option
Commit count: 101

cargo fmt