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

#426 in Parser implementations

Download history 2107/week @ 2024-07-21 3271/week @ 2024-07-28 2315/week @ 2024-08-04 2548/week @ 2024-08-11 2594/week @ 2024-08-18 2698/week @ 2024-08-25 2649/week @ 2024-09-01 2621/week @ 2024-09-08 2975/week @ 2024-09-15 3675/week @ 2024-09-22 3928/week @ 2024-09-29 3584/week @ 2024-10-06 5940/week @ 2024-10-13 5554/week @ 2024-10-20 3829/week @ 2024-10-27 4103/week @ 2024-11-03

19,496 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.7–4MB
~80K SLoC