#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 8/week @ 2023-12-18 3/week @ 2023-12-25 38/week @ 2024-01-08 24/week @ 2024-01-15 43/week @ 2024-01-22 23/week @ 2024-01-29 64/week @ 2024-02-05 31/week @ 2024-02-12 65/week @ 2024-02-19 62/week @ 2024-02-26 65/week @ 2024-03-04 34/week @ 2024-03-11 37/week @ 2024-03-18

200 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

~12–26MB
~405K SLoC