Skip to content

Commit e19c968

Browse files
authored
Merge pull request #1994 from Kobzol/cmd-parsing-manual
Use a manual parser for `@rust-timer` commands
2 parents 1afcdbc + f3bcb8b commit e19c968

File tree

4 files changed

+323
-59
lines changed

4 files changed

+323
-59
lines changed

Cargo.lock

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ jemalloc-ctl = "0.5"
5757
serde = { workspace = true, features = ["derive"] }
5858
serde_json = { workspace = true }
5959
toml = "0.7"
60+
61+
[dev-dependencies]
62+
insta = "1.40.0"

site/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ the `PORT` environment variable.
4646
```console
4747
$ ./target/release/site <database>
4848
```
49+
50+
## Development
51+
We use [insta](https://github.com/mitsuhiko/insta) for snapshot testing. If any tests that use the
52+
`insta` macros fail, you should `cargo install cargo-insta` and then run `cargo insta review` to review
53+
the snapshot changes.

0 commit comments

Comments
 (0)