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

#509 in Encoding

Download history 4885/week @ 2024-12-04 4122/week @ 2024-12-11 2719/week @ 2024-12-18 1200/week @ 2024-12-25 3805/week @ 2025-01-01 4266/week @ 2025-01-08 4376/week @ 2025-01-15 6205/week @ 2025-01-22 6420/week @ 2025-01-29 6240/week @ 2025-02-05 6027/week @ 2025-02-12 6111/week @ 2025-02-19 5681/week @ 2025-02-26 8782/week @ 2025-03-05 8003/week @ 2025-03-12 6103/week @ 2025-03-19

29,904 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
~78K SLoC