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

#442 in Parser implementations

Download history 2789/week @ 2024-08-21 2213/week @ 2024-08-28 2762/week @ 2024-09-04 3035/week @ 2024-09-11 3364/week @ 2024-09-18 3527/week @ 2024-09-25 3734/week @ 2024-10-02 4621/week @ 2024-10-09 5636/week @ 2024-10-16 5046/week @ 2024-10-23 4007/week @ 2024-10-30 4235/week @ 2024-11-06 4329/week @ 2024-11-13 4878/week @ 2024-11-20 4906/week @ 2024-11-27 3706/week @ 2024-12-04

18,816 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