11 releases (7 breaking)

new 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

#556 in Parser implementations

Download history 1791/week @ 2024-07-02 2107/week @ 2024-07-09 1861/week @ 2024-07-16 2174/week @ 2024-07-23 3182/week @ 2024-07-30 2513/week @ 2024-08-06 2389/week @ 2024-08-13 2789/week @ 2024-08-20 2270/week @ 2024-08-27 2948/week @ 2024-09-03 2773/week @ 2024-09-10 2946/week @ 2024-09-17 3713/week @ 2024-09-24 3937/week @ 2024-10-01 3937/week @ 2024-10-08 5885/week @ 2024-10-15

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

~4MB
~87K SLoC