#deserialize-json #deserialize #yaml #serialization #json #archive-format #har

bin+lib har-v0-8-1

A HTTP Archive format (HAR) serialization & deserialization library

1 unstable release

0.8.1 Apr 5, 2023

#42 in #deserialize-json

26 downloads per month
Used in doublesite

MIT license

2MB
563 lines

har-rs

HTTP Archive format (HAR) serialization & deserialization library, written in Rust.

Latest version Documentation License

Install

Add the following to your Cargo.toml file:

[dependencies]
har = "0.8"

Use

Simplest possible example:

use har::from_path;

fn main() {
  match har::from_path("path/to/file.har") {
    Ok(spec) => println!("spec: {:?}", spec),
    Err(err) => println!("error: {}", err)
  }
}

See docs.rs/har for the full library API documentation.

Contribute

This project follows semver, conventional commits and semantic releasing using mandrean/semantic-rs.

Note

Inspired by softprops/openapi.

Dependencies