#postman #collection #deserialize #serialization #postman-collection

parse_postman_collection

A Postman Collection serialization & deserialization library

3 releases

new 0.2.3 Apr 19, 2024
0.2.2 Apr 15, 2024
0.2.1 Apr 15, 2024

#715 in Parser implementations

Download history 979/week @ 2024-04-15

979 downloads per month
Used in atac

MIT license

40KB
642 lines

postman-collection-rs

Postman Collection serialization & deserialization library, written in Rust.

Build Status Latest version Documentation License

Install

Add the following to your Cargo.toml file:

[dependencies]
postman_collection = "0.1"

Use

extern crate postman_collection;

fn main() {
  match postman_collection::from_path("path/to/postman-collection.json") {
    Ok(spec) => println!("spec: {:?}", spec),
    Err(err) => println!("error: {}", err)
  }
}

See examples/printer.rs for more.

Contribute

This project follows semver, conventional commits and semantic releasing using semantic-rs.

Note

Inspired by softprops/openapi.

Dependencies

~6–8.5MB
~202K SLoC