From cc6402d03f969641b396da993bf1e67a6d76cb32 Mon Sep 17 00:00:00 2001 From: expl Date: Wed, 25 Mar 2026 18:08:40 +0900 Subject: [PATCH] 4.2.1 release --- README.md | 15 +-------------- lib/Cargo.toml | 2 +- lib/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index c02bf93..691f5b8 100644 --- a/README.md +++ b/README.md @@ -48,19 +48,6 @@ use rs_firebase_admin_sdk::{ // Supply the Firebase project ID directly instead of reading GOOGLE_CLOUD_PROJECT let live_app = App::live_with_project_id("my-firebase-project-id").await.unwrap(); - -let auth_admin = live_app.auth(); - -let user = auth_admin.get_user( - UserIdentifiers::builder() - .with_email("me@email.com".into()) - .build() -) -.await -.expect("Error while fetching user") -.expect("User does not exist"); - -println!("User id: {}", user.uid); ``` -For more examples please see https://github.com/expl/rs-firebase-admin-sdk/tree/main/examples \ No newline at end of file +For more examples please see https://github.com/expl/rs-firebase-admin-sdk/tree/main/examples diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 1a2acd8..af7be04 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rs-firebase-admin-sdk" -version = "4.2.0" +version = "4.2.1" rust-version = "1.88" edition = "2024" authors = ["Kostas Petrikas"] diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 130ee2a..e205089 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -105,7 +105,7 @@ impl App { .change_context(credentials::GCPCredentialsError) } - // /// Create cookie token verifier + /// Create cookie token verifier #[cfg(feature = "tokens")] pub async fn cookie_token_verifier( &self,