#collection #postman #deserialize #serialization

postman_collection

A Postman Collection serialization & deserialization library

2 unstable releases

0.2.0 Jul 8, 2022
0.1.0 Nov 17, 2018

#966 in Encoding

36 downloads per month

MIT license

96KB
1.5K SLoC

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
~197K SLoC