#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

#1558 in Parser implementations

Download history 22/week @ 2024-06-02 24/week @ 2024-06-09 22/week @ 2024-06-16 25/week @ 2024-06-23 37/week @ 2024-06-30 21/week @ 2024-07-07 24/week @ 2024-07-14 22/week @ 2024-07-21 25/week @ 2024-07-28 81/week @ 2024-08-04 119/week @ 2024-08-11 183/week @ 2024-08-18 110/week @ 2024-08-25 50/week @ 2024-09-01 37/week @ 2024-09-08 20/week @ 2024-09-15

240 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–12MB
~172K SLoC