#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

#2086 in Web programming

Download history 2956/week @ 2024-09-18 3760/week @ 2024-09-25 3762/week @ 2024-10-02 2768/week @ 2024-10-09 4002/week @ 2024-10-16 2574/week @ 2024-10-23 2807/week @ 2024-10-30 2679/week @ 2024-11-06 1939/week @ 2024-11-13 2101/week @ 2024-11-20 2269/week @ 2024-11-27 2031/week @ 2024-12-04 1951/week @ 2024-12-11 2053/week @ 2024-12-18 2299/week @ 2024-12-25 1748/week @ 2025-01-01

8,430 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

~3–11MB
~138K SLoC