cleanups, tests, clippy

This commit is contained in:
Robin Appelman 2023-11-16 16:54:43 +01:00
commit a9a3751067
16 changed files with 5932 additions and 117 deletions

View file

@ -38,10 +38,17 @@
cargo = msrvToolchain;
};
src = sourceByRegex ./. ["Cargo.*" "(src|derive|benches|tests|examples|koth_bagel.*)(/.*)?"];
src = sourceByRegex ./. ["Cargo.*" "(src|derive|benches|tests|examples)(/.*)?"];
deps = with pkgs; [
pkg-config
openssl
];
nearskOpt = {
pname = "vbsp";
root = src;
nativeBuildInputs = deps;
};
in rec {
packages = {
@ -67,16 +74,13 @@
devShells = let
tools = with pkgs; [
bacon
cargo-insta
cargo-edit
cargo-outdated
cargo-audit
cargo-msrv
cargo-semver-checks
];
deps = with pkgs; [
pkg-config
openssl
];
in {
default = mkShell {
nativeBuildInputs = [toolchain] ++ tools ++ deps;