Skip to content

Commit 5f249ca

Browse files
committed
Refactor Rust toolchain management
- Reuse system installed rustup - Reuse installed rustup across hooks - Reuse installed Rust toolchains across hooks
1 parent db20094 commit 5f249ca

File tree

7 files changed

+528
-370
lines changed

7 files changed

+528
-370
lines changed

docs/todo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The original pre-commit supports hooks written in 10+ languages. The table below
1515
| python ⭐ | ✅ Supported || `prek` supports automatic version management of Python toolchains. |
1616
| node | ✅ Supported || |
1717
| golang | ✅ Supported || |
18+
| rust | ✅ Supported || |
1819
| lua | ✅ Supported || |
1920
| system | ✅ Supported || |
2021
| script | ✅ Supported || |
@@ -24,7 +25,6 @@ The original pre-commit supports hooks written in 10+ languages. The table below
2425
| fail | ✅ Supported || |
2526
| deno ⭐ | 🚧 WIP || Experimental support in `prek`; upstream `pre-commit` lacks a native `deno` language. |
2627
| ruby | 🚧 WIP | [#43](https://github.com/j178/prek/issues/43) | `prek` does not currently support downloading new Ruby versions, but can use multiple simultaneously installed interpreters |
27-
| rust | 🚧 Planned | [#44](https://github.com/j178/prek/issues/44) | |
2828
| conda | 🚧 Planned | [#52](https://github.com/j178/prek/issues/52) | |
2929
| coursier | 🚧 Planned | [#53](https://github.com/j178/prek/issues/53) | |
3030
| dart | 🚧 Planned | [#51](https://github.com/j178/prek/issues/51) | |

0 commit comments

Comments
 (0)