simple-metrics 0.4.1

Library to flexibly render Prometheus metrics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let
  rust_overlay = import (builtins.fetchTarball
    "https://github.com/oxalica/rust-overlay/archive/master.tar.gz");
  pkgs = import <nixpkgs> { overlays = [ rust_overlay ]; };

  rustVersion = "1.78.0";

  rust = pkgs.rust-bin.stable.${rustVersion}.default.override {
    extensions = [ "rust-src" "rust-analyzer" ];
  };
in pkgs.mkShell rec {
  buildInputs = [ rust ];

  RUST_BACKTRACE = 1;
}