#google-cloud #metadata #engine #compute

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

#51 in #compute

Download history 2064/week @ 2024-11-30 1925/week @ 2024-12-07 2024/week @ 2024-12-14 1789/week @ 2024-12-21 2216/week @ 2024-12-28 2312/week @ 2025-01-04 2013/week @ 2025-01-11 2297/week @ 2025-01-18 2481/week @ 2025-01-25 1838/week @ 2025-02-01 1986/week @ 2025-02-08 2441/week @ 2025-02-15 2035/week @ 2025-02-22 2114/week @ 2025-03-01 1950/week @ 2025-03-08 2264/week @ 2025-03-15

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