1 unstable release
0.8.1 | Apr 5, 2023 |
---|
#45 in #deserialize-json
Used in doublesite
2MB
563 lines
har-rs
HTTP Archive format (HAR) serialization & deserialization library, written in Rust.
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.