Skip to content

Commit

Permalink
Merge pull request #1994 from Kobzol/cmd-parsing-manual
Browse files Browse the repository at this point in the history
Use a manual parser for `@rust-timer` commands
  • Loading branch information
Kobzol authored Oct 14, 2024
2 parents 1afcdbc + f3bcb8b commit e19c968
Show file tree
Hide file tree
Showing 4 changed files with 323 additions and 59 deletions.
19 changes: 19 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions site/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ jemalloc-ctl = "0.5"
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
toml = "0.7"

[dev-dependencies]
insta = "1.40.0"
5 changes: 5 additions & 0 deletions site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ the `PORT` environment variable.
```console
$ ./target/release/site <database>
```

## Development
We use [insta](https://github.com/mitsuhiko/insta) for snapshot testing. If any tests that use the
`insta` macros fail, you should `cargo install cargo-insta` and then run `cargo insta review` to review
the snapshot changes.
Loading

0 comments on commit e19c968

Please sign in to comment.