#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

#125 in Web programming

Download history 8510/week @ 2024-08-11 10122/week @ 2024-08-18 9595/week @ 2024-08-25 10040/week @ 2024-09-01 9841/week @ 2024-09-08 7312/week @ 2024-09-15 10315/week @ 2024-09-22 10238/week @ 2024-09-29 11633/week @ 2024-10-06 13978/week @ 2024-10-13 14257/week @ 2024-10-20 10387/week @ 2024-10-27 11848/week @ 2024-11-03 9006/week @ 2024-11-10 10991/week @ 2024-11-17 11734/week @ 2024-11-24

43,830 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
~520K SLoC