about summary refs log tree commit diff
path: root/shell.nix
blob: 3f9627d1c81eb239d3692db6579a21a0e164f33b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ mkShell, rustc, cargo, rust-analyzer, clippy, rustfmt
, cargo-watch, cargo-edit, cargo-outdated
, xh, systemfd, tokio-console
, pkg-config, protobuf, openssl, zlib
}:
mkShell {
  name = "rust-dev-shell";

  nativeBuildInputs = [
    rustc cargo rust-analyzer clippy rustfmt
    cargo-watch cargo-edit cargo-outdated
    xh systemfd tokio-console
    # required for tokio-console's console-subscriber
    pkg-config protobuf
    # required for httpmock, not actually used in the release
    openssl.dev zlib

  ];
}