#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

#1837 in Encoding

Download history 14/week @ 2024-09-22 1/week @ 2024-09-29 12/week @ 2024-10-06 5/week @ 2024-10-13 21/week @ 2024-10-20 17/week @ 2024-10-27

55 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

~7–14MB
~204K SLoC