pierresouchay / consul-rust

Rust client libray for Consul HTTP API
Apache License 2.0
92 stars 48 forks source link

Add ClientBuilder::new_from_consul_host() #57

Closed tomers closed 3 years ago

tomers commented 3 years ago

I needed this functionality, since in my use case there's an env-var which contains only host name (e.g. 172.17.0.1) without specifying the port. Also, I read the env-var and default to a different value than 127.0.0.1.

tomers commented 3 years ago

These failures are due to clippy warnings that are fixed by https://github.com/pierresouchay/consul-rust/pull/58. This PR is blocked by #58.

tomers commented 3 years ago

@pierresouchay could you please deploy a new release with all these recent changes? thanks

pierresouchay commented 3 years ago

@tomers done