#collection #serialization #postman #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

#1662 in Parser implementations

Download history 26/week @ 2024-07-19 22/week @ 2024-07-26 30/week @ 2024-08-02 158/week @ 2024-08-09 167/week @ 2024-08-16 124/week @ 2024-08-23 60/week @ 2024-08-30 35/week @ 2024-09-06 29/week @ 2024-09-13 53/week @ 2024-09-20 45/week @ 2024-09-27 27/week @ 2024-10-04 29/week @ 2024-10-11 33/week @ 2024-10-18 76/week @ 2024-10-25 31/week @ 2024-11-01

175 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

~7–14MB
~206K SLoC