#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

#2065 in Web programming

Download history 4468/week @ 2024-07-29 5314/week @ 2024-08-05 4547/week @ 2024-08-12 3991/week @ 2024-08-19 4772/week @ 2024-08-26 5149/week @ 2024-09-02 3384/week @ 2024-09-09 2624/week @ 2024-09-16 3471/week @ 2024-09-23 4122/week @ 2024-09-30 2891/week @ 2024-10-07 3688/week @ 2024-10-14 2858/week @ 2024-10-21 2804/week @ 2024-10-28 2939/week @ 2024-11-04 2136/week @ 2024-11-11

10,933 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
~176K SLoC