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: README.adoc
+2-20
Original file line number
Diff line number
Diff line change
@@ -15,34 +15,16 @@ You can build the documentation yourself with:
15
15
$ cargo +nightly doc
16
16
----
17
17
18
-
19
18
== Contributing
20
19
21
-
For maintainers (e.g., publishing new releases and managing dependabot), see link:./MAINTAINERS.adoc[MAINTAINERS.adoc].
22
-
23
-
=== Building and testing
24
-
25
20
You can **build and run the whole test suite** with `cargo test`. The test
26
21
suite runs cleanly and should remain clean.
27
22
28
-
=== Code formatting and lint
29
-
30
-
Dropshot works with stable Rust versions, but for consistency the code is
31
-
_formatted_ with a specific version of `rustfmt`. To contribute to Dropshot,
32
-
you will need to have installed the `nightly-2021-03-25` version of the Rust
33
-
toolchain:
34
-
35
-
----
36
-
$ rustup install nightly-2021-03-25
37
-
----
38
-
39
-
You can then **format the code** using `cargo +nightly-2021-03-25 fmt` or
40
-
`rustfmt +nightly-2021-03-25`. Make sure to run this before pushing changes.
41
-
The CI uses this version of `rustfmt` to check that the code is correctly
42
-
formatted.
23
+
You can format the code using `cargo fmt`. CI checks that code is correctly formatted.
43
24
44
25
https://github.com/rust-lang/rust-clippy[Clippy] is used to check for common code issues. (We disable the style checks.) You can run it with `cargo clippy`. CI will run clippy as well.
45
26
27
+
For maintainers (e.g., publishing new releases and managing dependabot), see link:./MAINTAINERS.adoc[MAINTAINERS.adoc].
0 commit comments