#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

#132 in Web programming

Download history 10966/week @ 2024-09-26 11617/week @ 2024-10-03 11739/week @ 2024-10-10 16010/week @ 2024-10-17 11582/week @ 2024-10-24 10849/week @ 2024-10-31 9535/week @ 2024-11-07 10925/week @ 2024-11-14 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 19630/week @ 2025-01-09

42,800 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
~523K SLoC