#consul #api #typed #interact #io

rs-consul

This crate provides access to a set of strongly typed apis to interact with consul (https://www.consul.io/)

11 releases (6 breaking)

0.7.0 Jul 24, 2024
0.5.0 Nov 20, 2023
0.3.0 Jun 19, 2023
0.2.3 Aug 25, 2022
0.2.0 Jul 21, 2021

#132 in Web programming

Download history 10289/week @ 2024-07-27 7168/week @ 2024-08-03 8330/week @ 2024-08-10 10047/week @ 2024-08-17 9857/week @ 2024-08-24 10067/week @ 2024-08-31 9618/week @ 2024-09-07 7445/week @ 2024-09-14 10276/week @ 2024-09-21 10197/week @ 2024-09-28 11602/week @ 2024-10-05 13631/week @ 2024-10-12 14760/week @ 2024-10-19 10306/week @ 2024-10-26 11501/week @ 2024-11-02 7624/week @ 2024-11-09

46,629 downloads per month
Used in 2 crates

Custom license

88KB
1.5K SLoC

rs-consul

Crates.io: rs-consul Documentation Main

This crate provides access to a set of strongly typed apis to interact with consul (https://www.consul.io/)

Installation

Simply include the rs-consul in your Cargo dependencies.

[dependencies]
rs-consul = "0.4.0"

Development

cargo build

Tests

Local Consul

Start consul locally with a docker image.

docker-compose up -d

CI Consul

In CI, we start a service container for the test.

Running Tests

cargo test

Contributions

For contributions, please:

  1. Make a pull request
  2. Make sure the tests pass
  3. Add a bullet to the Changelog

License

rs-consul is available under the MIT license. See LICENSE for details.

Dependencies

~18–29MB
~526K SLoC