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

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

#124 in Web programming

Download history 12042/week @ 2024-11-21 12580/week @ 2024-11-28 17704/week @ 2024-12-05 16638/week @ 2024-12-12 6619/week @ 2024-12-19 1206/week @ 2024-12-26 12141/week @ 2025-01-02 19686/week @ 2025-01-09 16484/week @ 2025-01-16 18551/week @ 2025-01-23 20763/week @ 2025-01-30 25195/week @ 2025-02-06 17149/week @ 2025-02-13 17729/week @ 2025-02-20 16878/week @ 2025-02-27 14336/week @ 2025-03-06

71,533 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–31MB
~552K SLoC