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

#1481 in HTTP server

Download history 231/week @ 2025-05-31 260/week @ 2025-06-07 330/week @ 2025-06-14 346/week @ 2025-06-21 675/week @ 2025-06-28 500/week @ 2025-07-05 547/week @ 2025-07-12 236/week @ 2025-07-19 558/week @ 2025-07-26 478/week @ 2025-08-02 691/week @ 2025-08-09 1047/week @ 2025-08-16 1086/week @ 2025-08-23 1295/week @ 2025-08-30 988/week @ 2025-09-06 695/week @ 2025-09-13

4,212 downloads per month
Used in revolt-database

MIT license

25KB
471 lines

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.


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!

Dependencies

~19–32MB
~579K SLoC