har-rs
HTTP Archive format (HAR) serialization & deserialization library, written in Rust.
Install
JSON-only use (default):
[]
= "0.9"
Enable YAML serialization:
[]
= { = "0.9", = ["yaml"] }
Use
HAR input is always parsed from JSON.
JSON serialization is available by default.
YAML serialization through to_yaml is available only when the yaml feature is enabled.
use ;
With the yaml feature enabled, you can also serialize parsed HAR documents as YAML:
use ;
See docs.rs/har for the full library API documentation.
Contribute
This project follows semver and conventional commits. CI runs on GitHub Actions, and releases are prepared and published with release-plz on master.
See CHANGELOG.md for release history.
Note
Inspired by softprops/openapi.