about summary refs log blame commit diff
path: root/shell.nix
blob: a2333fc2607c9d92f87bb13c50c75efb9bd3a6c5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                       
                                                     
                             
                      



                          
                                            
                                                    
                              
                                                     
                        
    
{ mkShell, rustc, cargo, rust-analyzer, clippy, rustfmt
, cargo-watch, cargo-edit, cargo-outdated, cargo-crev
, xh, systemfd, tokio-console
, pkg-config, protobuf
}:
mkShell {
  name = "rust-dev-shell";

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