Crates.io | gcemeta |
lib.rs | gcemeta |
version | 0.3.0 |
source | src |
created_at | 2020-03-07 19:13:53.67228 |
updated_at | 2024-08-28 02:16:41.772417 |
description | This library provides access to Google Compute Engine metadata service. |
homepage | |
repository | https://github.com/mechiru/gcemeta |
max_upload_size | |
id | 216398 |
size | 48,530 |
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.