#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

#2152 in Web programming

Download history 2858/week @ 2024-10-21 2804/week @ 2024-10-28 2939/week @ 2024-11-04 2136/week @ 2024-11-11 1865/week @ 2024-11-18 2464/week @ 2024-11-25 1981/week @ 2024-12-02 1887/week @ 2024-12-09 2174/week @ 2024-12-16 2130/week @ 2024-12-23 1897/week @ 2024-12-30 2204/week @ 2025-01-06 1934/week @ 2025-01-13 2451/week @ 2025-01-20 2343/week @ 2025-01-27 1672/week @ 2025-02-03

8,586 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–15MB
~179K SLoC