feat: add server-only build
it's drastically faster to build, mostly due to only including 1/10th of the dependencies
This commit is contained in:
parent
e310ca570b
commit
1546c67fa3
3 changed files with 24 additions and 4 deletions
|
|
@ -89,6 +89,12 @@
|
|||
{
|
||||
packages.default = crate;
|
||||
|
||||
packages.server-only = craneLib.buildPackage {
|
||||
name = name + "-server-only";
|
||||
src = ./.;
|
||||
cargoExtraArgs = "--no-default-features";
|
||||
};
|
||||
|
||||
checks = {
|
||||
crate-clippy = craneLib.cargoClippy (
|
||||
commonArgs
|
||||
|
|
|
|||
Loading…
Reference in a new issue