#serialization #deserialization #json #yaml #har

har

A HTTP Archive format (HAR) serializing & deserializing library

1 unstable release

0.1.0 Nov 16, 2018

#17 in #yaml

Download history 4/week @ 2018-11-16

1 downloads per month

MIT license

15KB
328 lines

har-rs

HTTP Archive format (HAR) serializing & deserializing library, written purely in Rust.

Install

Add the following to your Cargo.toml file:

[dependencies]
har = "0.1"

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 semantic-rs.

Note

Inspired by softprops/openapi.

Dependencies

~6.5MB
~186K SLoC