/gcemeta

This library provides access to GCE metadata service.

Primary LanguageRustApache License 2.0Apache-2.0

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.