#nomad #consul #api #typed #interact #io #nomadproject

rs-nomad

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

12 releases (breaking)

0.9.0 Apr 27, 2024
0.7.1 Nov 21, 2023
0.5.0 Jul 23, 2023

#574 in Network programming

Download history 1089/week @ 2024-02-02 1672/week @ 2024-02-09 2211/week @ 2024-02-16 1762/week @ 2024-02-23 2045/week @ 2024-03-01 1091/week @ 2024-03-08 1028/week @ 2024-03-15 2030/week @ 2024-03-22 3377/week @ 2024-03-29 2746/week @ 2024-04-05 2050/week @ 2024-04-12 2554/week @ 2024-04-19 3045/week @ 2024-04-26 1936/week @ 2024-05-03 1730/week @ 2024-05-10 1667/week @ 2024-05-17

8,582 downloads per month

Custom license

135KB
2K SLoC

Rust 2K SLoC // 0.1% comments Shell 121 SLoC // 0.2% comments HCL 104 SLoC // 0.0% comments Bitbake 27 SLoC // 0.1% comments

Nomad

rs-nomad

Crates.io: rs-consul Documentation Main

This crate provides access to a set of strongly typed apis to interact with nomad

Installation

Simply include rs-nomad in your Cargo dependencies.

[dependencies]
rs-nomad = "0.1.0"

Development

cargo build

Tests

Local Nomad

Start rs-nomad locally with a docker image.

make run-test-env

CI Nomad

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

~10–22MB
~340K SLoC