#firebase #fcm #gcp #http-api #google #api

fcm_v1

a simple Rust FCM server library (HTTP v1 API)

3 releases (breaking)

0.3.0 Apr 22, 2023
0.2.1 Apr 19, 2023
0.2.0 Feb 25, 2023
0.1.0 Feb 24, 2023

#8 in #fcm

Download history 11/week @ 2024-06-21 23/week @ 2024-06-28 38/week @ 2024-07-12 23/week @ 2024-07-19 16/week @ 2024-07-26 5/week @ 2024-08-02 9/week @ 2024-08-09 1/week @ 2024-08-16 11/week @ 2024-08-23 28/week @ 2024-08-30 41/week @ 2024-09-06 10/week @ 2024-09-13 28/week @ 2024-09-20 65/week @ 2024-09-27 71/week @ 2024-10-04

179 downloads per month

MIT license

25KB
471 lines

fcm_v1

fcm_v1 is a simple Rust Firebase Cloud Messaging (FCM) server library, compatible with the HTTP v1 API.

Goals

The main goals for this library are simplicity and completeness. It should be simple enough that anyone should be able to use it without squinting at the docs for too long, yet complete enough to support the full API.

Contributing

All forms of contribution (pull requests, issues, etc.) are gladly welcomed!


lib.rs:

fcm_v1

A type-safe way to call the Firebase Cloud Messaging (FCM) HTTP v1 API.

OAuth 2.0 authentication is performed via the yup-oauth2 crate. Currently, we request the "https://www.googleapis.com/auth/firebase.messaging" scope in order to send messages.

Dependencies

~17–30MB
~569K SLoC