poise 0.6.2

A Discord bot framework for serenity
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let
  rust-overlay-src = fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
  pkgs = import <nixpkgs> {
    overlays = [ (import rust-overlay-src) ];
  };

  rustToolchain = pkgs.rust-bin.stable.latest.default.override {
    extensions = [ "rust-src" "rust-analyzer" "clippy" "rustfmt" ];
  };
in
pkgs.mkShell {
  nativeBuildInputs = with pkgs; [
    rustToolchain
  ];

  RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library";
}