mirror of
https://github.com/faas-rs/faasd-in-rust.git
synced 2025-06-08 15:56:48 +00:00
878 B
878 B
How to develop
Thanks to the nix
, we can easily develop the project in a reproducible environment. The following steps will guide you through the process.
nix environment
TODO
shell interactions
There are several integrated nix commands that can help you develop the project.
nix develop
enter the default development shellnix build
build the project, the result will be atresult/bin/faas-rs
nix flake check
do the CI checks, including formatting, linting...
Besides, you can also use the cargo
command to interact with the project in the shell. Nix will automatically manage the toolchain and library dependencies for you.
Note
The project uses
cargo-hakari
, to optimize the build time.
If you don't know what it is, after new dependencies are added, you should run cargo hakari generate
to update the dependencies.