Crates.io | pushyapi |
lib.rs | pushyapi |
version | |
source | src |
created_at | 2023-06-21 08:33:44.012615+00 |
updated_at | 2025-03-26 10:42:27.200206+00 |
description | A simple unofficial API wrapper for Pushy |
homepage | |
repository | https://gitlab.com/waynes-crates/pushyapi |
max_upload_size | |
id | 896001 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
unofficial pushy.me (https://pushy.me) wrapper
let pushy_ids: Vec<String> = vec!["id1","id2"];
let data: SomeStruct = your_struct_creation
data.insert(String::from("message"), String::from("Message"));
match pushyapi::send_message_json(pushy_ids, data, None).await {
Ok(response) => {
log::debug(format!("Pushy Response: {:?}", response));
},
Err(error) => {
log::error(format!("Failed to send pushy message: {}", error.to_string()));
}
}