#io #consul #rs-consul

rs-consul

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

15 releases (8 breaking)

0.9.0 Feb 12, 2025
0.8.2 Nov 23, 2024
0.7.0 Jul 24, 2024
0.5.0 Nov 20, 2023
0.2.0 Jul 21, 2021

#215 in Debugging

Download history 20168/week @ 2025-01-08 16334/week @ 2025-01-15 18239/week @ 2025-01-22 20064/week @ 2025-01-29 24679/week @ 2025-02-05 19436/week @ 2025-02-12 18078/week @ 2025-02-19 15761/week @ 2025-02-26 18149/week @ 2025-03-05 24181/week @ 2025-03-12 23988/week @ 2025-03-19 22083/week @ 2025-03-26 21720/week @ 2025-04-02 20767/week @ 2025-04-09 16898/week @ 2025-04-16 13972/week @ 2025-04-23

77,121 downloads per month
Used in 2 crates

MIT 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

~20–32MB
~554K SLoC