#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

#2112 in Web programming

Download history 1862/week @ 2024-11-17 2441/week @ 2024-11-24 1988/week @ 2024-12-01 1969/week @ 2024-12-08 2066/week @ 2024-12-15 1822/week @ 2024-12-22 2189/week @ 2024-12-29 2229/week @ 2025-01-05 1980/week @ 2025-01-12 2390/week @ 2025-01-19 2420/week @ 2025-01-26 1814/week @ 2025-02-02 2031/week @ 2025-02-09 2438/week @ 2025-02-16 2091/week @ 2025-02-23 1923/week @ 2025-03-02

8,567 downloads per month
Used in 19 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