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

#516 in Parser implementations

Download history 3843/week @ 2024-10-28 4086/week @ 2024-11-04 4460/week @ 2024-11-11 4673/week @ 2024-11-18 5095/week @ 2024-11-25 4468/week @ 2024-12-02 4665/week @ 2024-12-09 3825/week @ 2024-12-16 974/week @ 2024-12-23 2449/week @ 2024-12-30 4490/week @ 2025-01-06 4647/week @ 2025-01-13 5329/week @ 2025-01-20 6311/week @ 2025-01-27 6372/week @ 2025-02-03 6237/week @ 2025-02-10

24,348 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
~79K SLoC