docs.rs failed to build consul-0.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
consul-0.4.2
consul-rust (Work In Progress)
Rust client libray for Consul HTTP API
Usage
extern crate consul;
use std::collections::HashMap;
use consul::Client;
fn main(){
let client = Client::new("127.0.0.1:8500");
let services: HashMap<String, Vec<String>> = client.catalog.services();
println!("{:?}", services);
}
For more example, see the tests .
Installation
Simply include the consul-rust in your Cargo dependencies.
[dependencies]
consul = "*"