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

#2122 in Parser implementations

Download history 3872/week @ 2024-03-14 3683/week @ 2024-03-21 3977/week @ 2024-03-28 3303/week @ 2024-04-04 2997/week @ 2024-04-11 3381/week @ 2024-04-18 2958/week @ 2024-04-25 2009/week @ 2024-05-02 1761/week @ 2024-05-09 1951/week @ 2024-05-16 1878/week @ 2024-05-23 1501/week @ 2024-05-30 1989/week @ 2024-06-06 2370/week @ 2024-06-13 2408/week @ 2024-06-20 2064/week @ 2024-06-27

9,167 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.6–3.5MB
~77K SLoC