about summary refs log tree commit diff
path: root/shell.nix
blob: e22e25fc003506d4e1093c9092fc4329523b0ead (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
, cargo-crev, cargo-audit
, xh, systemfd, tokio-console, sqlx-cli
, pkg-config, protobuf, typescript, typescript-language-server
}:
mkShell {
  name = "rust-dev-shell";

  nativeBuildInputs = [
    rustc cargo rust-analyzer clippy rustfmt
    cargo-watch cargo-edit cargo-outdated
    cargo-crev cargo-audit sqlx-cli
    xh systemfd typescript typescript-language-server
    #tokio-console
    # required for tokio-console's console-subscriber
    #pkg-config protobuf
  ];
}