#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/)

14 releases (7 breaking)

0.8.2 Nov 23, 2024
0.7.0 Jul 24, 2024
0.5.0 Nov 20, 2023
0.3.0 Jun 19, 2023
0.2.0 Jul 21, 2021

#129 in Web programming

Download history 9993/week @ 2024-08-21 9876/week @ 2024-08-28 10522/week @ 2024-09-04 8228/week @ 2024-09-11 8181/week @ 2024-09-18 10943/week @ 2024-09-25 11202/week @ 2024-10-02 10879/week @ 2024-10-09 16491/week @ 2024-10-16 12437/week @ 2024-10-23 11207/week @ 2024-10-30 9604/week @ 2024-11-06 10385/week @ 2024-11-13 11283/week @ 2024-11-20 11679/week @ 2024-11-27 13703/week @ 2024-12-04

48,898 downloads per month
Used in 2 crates

Custom license

92KB
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
~522K SLoC