1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
install `bacon`:
```sh
cargo install --locked bacon
```
then run code expansion in watch mode:
```sh
bacon expand
```
and start hacking inside `tests/playground.rs`.
```sh
cargo test
```
To update the readme with the content from cargo doc:
```sh
cargo readme > README.md
```
Rust files are formatted using
```sh
cargo fmt
```
Non-rust files are formatted using prettier
```sh
npx -y prettier --write .
```