#nomad #consul #typed #interact #io #api #ci

rs-nomad

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

15 releases (breaking)

new 0.12.0 Nov 19, 2024
0.10.0 Jul 24, 2024
0.7.1 Nov 21, 2023
0.5.0 Jul 23, 2023

#290 in Network programming

Download history 2633/week @ 2024-07-30 1262/week @ 2024-08-06 2917/week @ 2024-08-13 2579/week @ 2024-08-20 2765/week @ 2024-08-27 2637/week @ 2024-09-03 3085/week @ 2024-09-10 3058/week @ 2024-09-17 3167/week @ 2024-09-24 2710/week @ 2024-10-01 4208/week @ 2024-10-08 4439/week @ 2024-10-15 3548/week @ 2024-10-22 2035/week @ 2024-10-29 2751/week @ 2024-11-05 3588/week @ 2024-11-12

13,042 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

~18–28MB
~510K SLoC