#serialization #deserialization #json #yaml #har

har

A HTTP Archive format (HAR) serialization & deserialization library

3 releases (breaking)

✓ Uses Rust 2018 edition

0.3.0 May 9, 2019
0.2.0 Feb 14, 2019
0.1.0 Nov 16, 2018

#223 in Encoding

30 downloads per month

MIT license

25KB
567 lines

har-rs

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

Build Status Latest version Documentation License

Install

Add the following to your Cargo.toml file:

[dependencies]
har = "0.3"

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

~3.5MB
~84K SLoC