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

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

#545 in Network programming

Download history 1726/week @ 2024-01-04 1435/week @ 2024-01-11 1490/week @ 2024-01-18 1273/week @ 2024-01-25 1132/week @ 2024-02-01 1742/week @ 2024-02-08 1902/week @ 2024-02-15 2205/week @ 2024-02-22 1848/week @ 2024-02-29 1177/week @ 2024-03-07 1113/week @ 2024-03-14 1708/week @ 2024-03-21 3442/week @ 2024-03-28 2741/week @ 2024-04-04 2293/week @ 2024-04-11 2502/week @ 2024-04-18

11,501 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
~339K SLoC