Skip to content

rust-playground/relay-rs

Repository files navigation

relay-rs

This crate contains a no nonsense ordered job runner with configurable backends for optional backing storage, metrics and servers to host.

Features

Optional features:

  • metrics-prometheus: Enables emitting of Prometheus metrics via a scraping endpoint.
  • backing-sqlite: Enables an SQLite backed persistent store to handle crashes/restarts..
  • backing-postgres: Enables a Postgres backed persistent store to handle crashes/restarts.
  • backing-redis: Enables a Redis backed persistent store to handle crashes/restarts.
  • backing-dynamodb: Enables an DynamoDB backed persistent store to handle crashes/restarts.

Servers

server description
HTTP Exposes the relay service over HTTP, see here for more information.

How to build

~ cargo build -p relay-bin --release

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Proteus by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.