#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

#333 in Network programming

Download history 1776/week @ 2023-12-23 3117/week @ 2023-12-30 7121/week @ 2024-01-06 7147/week @ 2024-01-13 8861/week @ 2024-01-20 7563/week @ 2024-01-27 3808/week @ 2024-02-03 8143/week @ 2024-02-10 8475/week @ 2024-02-17 8551/week @ 2024-02-24 9682/week @ 2024-03-02 10101/week @ 2024-03-09 8023/week @ 2024-03-16 8930/week @ 2024-03-23 10055/week @ 2024-03-30 8208/week @ 2024-04-06

37,266 downloads per month
Used in consul-kv-trigger

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–27MB
~501K SLoC