You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,13 @@ rustup update
13
13
14
14
### Rust nightly
15
15
16
-
In order to run `rustfmt`, you will need a Nightly Rust toolset. If you do not have one installed, you can install one via `rustup` by running
16
+
Certain tools require a Nightly Rust toolset. If you do not have one installed, you can install one via `rustup` by running
17
17
18
18
```bash
19
19
rustup toolchain install nightly
20
20
```
21
21
22
-
If you already have one installed but it was too old, it was probably updated earlier when you ran `rustup update` 😉
22
+
If you already have one installed, but it was too old, it was probably updated earlier when you ran `rustup update` 😉
23
23
24
24
### Just
25
25
@@ -28,7 +28,7 @@ If you already have one installed but it was too old, it was probably updated ea
28
28
This project includes a [justfile](justfile) that makes it easier to run the various tools used for development. To install `just` via `cargo`, simply run
29
29
30
30
```bash
31
-
cargo install just
31
+
cargo install just --locked
32
32
```
33
33
34
34
If you have [cargo-binstall](https://github.com/cargo-bins/cargo-binstall), it'll probably be faster to use it instead:
@@ -39,17 +39,17 @@ cargo binstall just
39
39
40
40
You can also install it via various [methods](https://github.com/casey/just#packages).
41
41
42
-
### Tarpaulin
42
+
### Llvm-cov
43
43
44
-
If you want to run tests with coverage locally, you'll need to install [`cargo-tarpaulin`](https://github.com/xd009642/tarpaulin), a code coverage tool for Rust. You can install it via `cargo`:
44
+
If you want to run tests with coverage locally, you'll need to install [`cargo-llvm-cov`](https://github.com/taiki-e/cargo-llvm-cov), a code coverage tool for Rust. You can install it via `cargo`:
45
45
46
46
```bash
47
-
cargo install cargo-tarpaulin
47
+
cargo install cargo-llvm-cov --locked
48
48
```
49
49
You can also install it via [cargo-binstall](https://github.com/cargo-bins/cargo-binstall):
50
50
51
51
```bash
52
-
cargo binstall cargo-tarpaulin
52
+
cargo binstall cargo-llvm-cov
53
53
```
54
54
55
55
## Development
@@ -76,10 +76,10 @@ Required checks will not pass if either of those report issues.
76
76
77
77
### Code coverage
78
78
79
-
This project's [code coverage settings](codecov.yml) are pretty stringent and require **100% coverage**. To validate this locally, you can run
79
+
This project's [code coverage settings](codecov.yml) are pretty stringent. To validate this locally, you can run
80
80
81
81
```bash
82
-
just tarpaulin
82
+
just llvm-cov
83
83
```
84
84
85
85
Make sure coverage is at the required level before submitting a PR.
0 commit comments