#consul #typed #api #interact #io #running

rs-consul

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

10 releases (5 breaking)

0.6.0 Apr 1, 2024
0.5.0 Nov 20, 2023
0.4.0 Aug 28, 2023
0.3.0 Jun 19, 2023
0.2.0 Jul 21, 2021

#315 in Network programming

Download history 8115/week @ 2024-01-25 4780/week @ 2024-02-01 6636/week @ 2024-02-08 7808/week @ 2024-02-15 8896/week @ 2024-02-22 9271/week @ 2024-02-29 9145/week @ 2024-03-07 9732/week @ 2024-03-14 9714/week @ 2024-03-21 8225/week @ 2024-03-28 10688/week @ 2024-04-04 9286/week @ 2024-04-11 13560/week @ 2024-04-18 16218/week @ 2024-04-25 13030/week @ 2024-05-02 12237/week @ 2024-05-09

57,252 downloads per month
Used in 2 crates

Custom license

84KB
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

~14–26MB
~494K SLoC