#serialization #deserialize #json #yaml

har

A HTTP Archive format (HAR) serialization & deserialization library

10 releases (breaking)

0.8.0 Jan 8, 2023
0.7.1 Oct 18, 2021
0.7.0 Mar 2, 2021
0.6.1 Oct 13, 2020
0.1.0 Nov 16, 2018

#1691 in Parser implementations

Download history 1449/week @ 2023-11-20 2717/week @ 2023-11-27 1786/week @ 2023-12-04 2556/week @ 2023-12-11 3081/week @ 2023-12-18 982/week @ 2023-12-25 2652/week @ 2024-01-01 4813/week @ 2024-01-08 2913/week @ 2024-01-15 2489/week @ 2024-01-22 2872/week @ 2024-01-29 2928/week @ 2024-02-05 3672/week @ 2024-02-12 2749/week @ 2024-02-19 3161/week @ 2024-02-26 3883/week @ 2024-03-04

13,558 downloads per month
Used in 3 crates

MIT license

24KB
556 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.7"

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

~2.8–3.5MB
~80K SLoC