Crates.io | gcemeta |
lib.rs | gcemeta |
version | 0.2.3 |
source | src |
created_at | 2020-03-07 19:13:53.67228 |
updated_at | 2022-05-21 12:24:01.699725 |
description | This library provides access to Google Compute Engine metadata service. |
homepage | |
repository | https://github.com/mechiru/gcemeta |
max_upload_size | |
id | 216398 |
size | 43,351 |
This library provides access to GCE metadata service.
use gcemeta::Client;
let client = Client::new();
println!("on gce = {:?}", client.on_gce().await?);
println!("project id = {:?}", client.project_id().await?);
Licensed under either of Apache License, Version 2.0 or MIT license at your option.