11 unstable releases (4 breaking)

0.5.0 May 7, 2024
0.4.0 Oct 15, 2023
0.3.2 Feb 22, 2023
0.3.1 Aug 25, 2022
0.1.1 Nov 28, 2021

#2224 in Web programming

Download history 20470/week @ 2024-02-15 31840/week @ 2024-02-22 31692/week @ 2024-02-29 31454/week @ 2024-03-07 33243/week @ 2024-03-14 24075/week @ 2024-03-21 44228/week @ 2024-03-28 26816/week @ 2024-04-04 37155/week @ 2024-04-11 39454/week @ 2024-04-18 32789/week @ 2024-04-25 29890/week @ 2024-05-02 34838/week @ 2024-05-09 44962/week @ 2024-05-16 38944/week @ 2024-05-23 32846/week @ 2024-05-30

158,626 downloads per month
Used in 24 crates (4 directly)

MIT license

6KB
94 lines

google-cloud-metadata

Google Cloud Platform GCE check library.

crates.io

Installation

[dependencies]
google-cloud-metadata = <version>

Usage

use google_cloud_metadata::*;

#[tokio::test]
async fn test_on_gce() {
    // true: server is running on the GCP such as GCE and GKE.
    let result = on_gce().await;
    assert_eq!(true, result);
}

Dependencies

~6–21MB
~274K SLoC