Expand description
§FCM Rust Crate
This crate provides a Rust client for the Firebase Cloud Messaging (FCM) API V1, allowing you to send notifications and data messages to Android and iOS devices.
§Features
- FCM API V1 Support: Utilizes the latest FCM API V1 endpoint for sending messages.
- OAuth2 Authentication: Provides secure authentication using service account credentials.
- Automatic Token Management: Handles access token retrieval and refreshing seamlessly using
yup-oauth2
. - Error Handling: Includes comprehensive error handling for API requests, authentication, and deserialization.
Modules§
- Provides the
FcmClient
struct for interacting with the FCM API. - This module provides implementations for conversion and display traits related to FCM operations.
- Error types for FCM operations.
- Data models for FCM messages, requests, and responses.