2 unstable releases

0.2.0 Jul 8, 2022
0.1.0 Nov 17, 2018

#2110 in Parser implementations

Download history 11/week @ 2024-12-31 10/week @ 2025-01-07 10/week @ 2025-01-14 6/week @ 2025-01-21 7/week @ 2025-01-28 15/week @ 2025-02-04 18/week @ 2025-02-11 21/week @ 2025-02-18 25/week @ 2025-02-25 33/week @ 2025-03-04 71/week @ 2025-03-11 32/week @ 2025-03-18 24/week @ 2025-03-25 19/week @ 2025-04-01 57/week @ 2025-04-08

136 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
~201K SLoC