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

#1882 in Parser implementations

Download history 2869/week @ 2024-01-16 2625/week @ 2024-01-23 2879/week @ 2024-01-30 2884/week @ 2024-02-06 3225/week @ 2024-02-13 3028/week @ 2024-02-20 3435/week @ 2024-02-27 3911/week @ 2024-03-05 3639/week @ 2024-03-12 4240/week @ 2024-03-19 3610/week @ 2024-03-26 3368/week @ 2024-04-02 3049/week @ 2024-04-09 3264/week @ 2024-04-16 3435/week @ 2024-04-23 2121/week @ 2024-04-30

12,528 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.7–3.5MB
~78K SLoC