#google-cloud #cloud #metadata #compute #google #engine #api-bindings

gcemeta

This library provides access to Google Compute Engine metadata service

9 releases

0.3.0 Aug 28, 2024
0.2.3 May 21, 2022
0.2.2 Oct 2, 2021
0.2.1 May 5, 2021
0.1.0 Mar 7, 2020

#2081 in Web programming

Download history 3902/week @ 2024-08-17 4574/week @ 2024-08-24 5242/week @ 2024-08-31 3607/week @ 2024-09-07 2459/week @ 2024-09-14 3547/week @ 2024-09-21 4032/week @ 2024-09-28 3283/week @ 2024-10-05 3425/week @ 2024-10-12 3094/week @ 2024-10-19 2694/week @ 2024-10-26 2822/week @ 2024-11-02 2289/week @ 2024-11-09 1912/week @ 2024-11-16 2369/week @ 2024-11-23 1834/week @ 2024-11-30

8,829 downloads per month
Used in 18 crates (2 directly)

MIT/Apache

18KB
297 lines

gcemeta

ci pub Rust Documentation Latest Version

This library provides access to GCE metadata service.

Example

use gcemeta::Client;

let client = Client::new();
println!("on gce = {:?}", client.on_gce().await?);
println!("project id = {:?}", client.project_id().await?);

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.


lib.rs:

This library provides access to GCE metadata service.

Example

use gcemeta::Client;

async fn example() {
    let client = Client::new();
    println!("on gce = {:?}", client.on_gce().await);
    println!("project id = {:?}", client.project_id().await);
}

Dependencies

~5–14MB
~179K SLoC