har-rs
HTTP Archive format (HAR) serialization & deserialization library, written in Rust.
Install
Add the following to your Cargo.toml
file:
[dependencies]
har = "0.6"
Use
extern crate har;
fn main() {
match har::from_path("path/to/file.har") {
Ok(spec) => println!("spec: {:?}", spec),
Err(err) => println!("error: {}", err)
}
}
Contribute
This project follows semver, conventional commits and semantic releasing using mandrean/semantic-rs.
Note
Inspired by softprops/openapi.