Skip to content

Commit

Permalink
rust: updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eyJhb committed Nov 30, 2024
1 parent adcc72c commit 3ad2936
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 18 deletions.
40 changes: 23 additions & 17 deletions docs/reference/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -9213,8 +9213,6 @@ list of package

## git-hooks.hooks.dune-fmt.stages



Confines the hook to run at a particular stage.


Expand Down Expand Up @@ -11311,8 +11309,6 @@ null or signed integer

## git-hooks.hooks.flynt.settings.no-multiline



Convert only single line expressions.


Expand Down Expand Up @@ -13442,8 +13438,6 @@ list of string

## git-hooks.hooks.isort.description



Description of the hook. Used for metadata purposes only.


Expand Down Expand Up @@ -15482,8 +15476,6 @@ internal name, same as ` id `

## git-hooks.hooks.lychee.pass_filenames



Whether to pass filenames as arguments to the entry point.


Expand Down Expand Up @@ -17591,8 +17583,6 @@ list of package

## git-hooks.hooks.mypy.fail_fast



if true pre-commit will stop running hooks if this hook fails.


Expand Down Expand Up @@ -19682,8 +19672,6 @@ list of (one of “commit-msg”, “post-checkout”, “post-commit”, “pos

## git-hooks.hooks.ormolu.types



List of file types to run on. See [Filtering files with types](https://pre-commit.com/\#filtering-files-with-types).


Expand Down Expand Up @@ -21801,8 +21789,6 @@ list of package

## git-hooks.hooks.prettier.fail_fast



if true pre-commit will stop running hooks if this hook fails.


Expand Down Expand Up @@ -23826,8 +23812,6 @@ submodule

## git-hooks.hooks.pyright.enable



Whether to enable this pre-commit hook.


Expand Down Expand Up @@ -34947,7 +34931,7 @@ string



List of extra [targets](https://github.com/nix-community/fenix\#supported-platforms-and-targets)
List of extra [targets](https://doc.rust-lang.org/nightly/rustc/platform-support.html)
to install. Defaults to only the native target.


Expand Down Expand Up @@ -35091,6 +35075,28 @@ null or package



## languages.rust.version



Which version of rust to use, this value could be ` latest `,` 1.81.0 `, ` 2021-01-01 `.
Only works when languages.rust.channel is NOT nixpkgs.



*Type:*
string



*Default:*
` "latest" `

*Declared by:*
- [https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix](https://github.com/cachix/devenv/blob/main/src/modules/languages/rust.nix)



## languages.scala.enable


Expand Down
21 changes: 20 additions & 1 deletion docs/supported-languages/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ string



List of extra [targets](https://github\.com/nix-community/fenix\#supported-platforms-and-targets)
List of extra [targets](https://doc\.rust-lang\.org/nightly/rustc/platform-support\.html)
to install\. Defaults to only the native target\.


Expand Down Expand Up @@ -223,3 +223,22 @@ null or package

*Default:*
` pkgs.rustfmt `



## languages\.rust\.version



Which version of rust to use, this value could be ` latest `,` 1.81.0 `, ` 2021-01-01 `\.
Only works when languages\.rust\.channel is NOT nixpkgs\.



*Type:*
string



*Default:*
` "latest" `

0 comments on commit 3ad2936

Please sign in to comment.