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

parse_postman_collection

A Postman Collection serialization & deserialization library

3 releases

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

#760 in Parser implementations

Download history 855/week @ 2024-04-15 138/week @ 2024-04-22 163/week @ 2024-04-29 42/week @ 2024-05-06

1,198 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
~200K SLoC