Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mandrean/har-rs

A HTTP Archive format (HAR) serialization & deserialization library, written in Rust.
https://github.com/mandrean/har-rs

charles-proxy deserialization har http-archive-format rust rust-library serde serde-json serde-serialization serialization

Last synced: about 1 month ago
JSON representation

A HTTP Archive format (HAR) serialization & deserialization library, written in Rust.

Lists

README

        

har-rs
======
[HTTP Archive format (HAR)][har] serialization & deserialization library, written in Rust.

[![Latest version](https://img.shields.io/crates/v/har.svg)](https://crates.io/crates/har)
[![Documentation](https://docs.rs/har/badge.svg)](https://docs.rs/har)
![License](https://img.shields.io/crates/l/har.svg)

Install
-------
Add the following to your `Cargo.toml` file:

```toml
[dependencies]
har = "0.8"
```

Use
---
Simplest possible example:
```rust
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](https://github.com/softprops/openapi).

[conventional commits]: https://www.conventionalcommits.org
[docs.rs/har]: https://docs.rs/har
[har]: https://en.wikipedia.org/wiki/.har
[mandrean/semantic-rs]: https://github.com/mandrean/semantic-rs
[semver]: https://semver.org/