Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use nightly rust tool chain in shell.nix
Note that the rust version is still stable in flake.nix which is used to build the provide the app via flake. The rustfmt.toml rules are only supported by rust nightly. With the current stable rust tool chain in flake.nix, `cargo fmt` gives me warnings like ``` Warning: can't set `wrap_comments = true`, unstable features are only available in nightly channel. Warning: can't set `format_code_in_doc_comments = false`, unstable features are only available in n ``` The format result with those warnings is different from the current code base for almost all files. I guess the main contributors of the repo use nightly rust. If so, we should make it consistent in shell.nix to help other contributors onboard with the same env.
- Loading branch information