7 releases (breaking)

0.6.0 Jun 28, 2021
0.5.0 Dec 23, 2020
0.4.0 Jul 19, 2020
0.3.1 Jun 27, 2020
0.1.0 May 31, 2020

#782 in Debugging

29 downloads per month

MIT/Apache

30KB
710 lines

Ops

Build Status Latest Version Latest Docs

Rust implementation of operational-endpoints-spec making it easy to add the standard endpoints to your application.

Usage

use ops::{StatusBuilder, server};

#[tokio::main]
async fn main() {
    let status = StatusBuilder::always("my app", "a description");

    let server = server("0.0.0.0:3000".parse().unwrap(), status);

    server.await.unwrap();
}

Examples

See the examples folder for runnable examples.

License

Licensed under either of:

at your option.

Dependencies

~4–17MB
~223K SLoC