#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

#6 in #fcm

Download history 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 81/week @ 2024-10-04 106/week @ 2024-10-11 58/week @ 2024-10-18 46/week @ 2024-10-25 32/week @ 2024-11-01

259 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

~18–34MB
~576K SLoC