removed Cargo.lock and shell.nix from .gitignore

This commit is contained in:
murmeldin 2024-12-10 21:21:20 +01:00
parent 20b8ce40de
commit 9583d9c37d
3 changed files with 2922 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,9 +1,8 @@
/target /target
/.idea /.idea
/src/debug_emails.txt /src/debug_emails.txt
Cargo.lock
*.sqlite *.sqlite
*.sqlite3 *.sqlite3
.direnv .direnv
shell.nix
pandoc*.txt pandoc*.txt
.envrc

2896
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

25
shell.nix Normal file
View file

@ -0,0 +1,25 @@
{pkgs ? import <nixpkgs> {}}: let
rust-toolchain = pkgs.symlinkJoin {
name = "rust-toolchain";
paths = with pkgs; [rustc cargo rustPlatform.rustcSrc rustfmt clippy];
};
in
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
rust-toolchain
pkg-config
xe
xz
cargo-tarpaulin
openssl
sqlite
gcc
gnumake
# dotnet-sdk_8
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}