#deserialize #serialization #json-parser

har

A HTTP Archive format (HAR) serialization & deserialization library

11 releases (7 breaking)

0.8.1 Oct 15, 2024
0.8.0 Jan 8, 2023
0.7.1 Oct 18, 2021
0.7.0 Mar 2, 2021
0.1.0 Nov 16, 2018

#375 in Parser implementations

Download history 6749/week @ 2025-02-04 5812/week @ 2025-02-11 5955/week @ 2025-02-18 5896/week @ 2025-02-25 8053/week @ 2025-03-04 8308/week @ 2025-03-11 6171/week @ 2025-03-18 7793/week @ 2025-03-25 8689/week @ 2025-04-01 8636/week @ 2025-04-08 7374/week @ 2025-04-15 9079/week @ 2025-04-22 7853/week @ 2025-04-29 9460/week @ 2025-05-06 10254/week @ 2025-05-13 6362/week @ 2025-05-20

35,470 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.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

~2.6–4MB
~79K SLoC