Skip to content

Commit

Permalink
Parse report_json files with serde
Browse files Browse the repository at this point in the history
This adds a bunch of Struct definitions along with deriving `serde::Deserialize`.
  • Loading branch information
Swatinem committed Aug 1, 2024
1 parent be597b1 commit 331ce5a
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 154 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ thiserror = "1.0.59"
winnow = "0.5.34"

serde_json = "1.0.117"
serde = { version = "1.0.204", features = ["derive"] }
smol_buf = { version = "0.1.0", features = ["serde"] }

[dev-dependencies]
divan = "0.1.14"
Expand Down
Loading

0 comments on commit 331ce5a

Please sign in to comment.