#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

#19 in #postman

Download history 19/week @ 2024-11-13 50/week @ 2024-11-20 24/week @ 2024-11-27 26/week @ 2024-12-04 35/week @ 2024-12-11 23/week @ 2024-12-18 59/week @ 2024-12-25 34/week @ 2025-01-01 54/week @ 2025-01-08 30/week @ 2025-01-15 29/week @ 2025-01-22 57/week @ 2025-01-29 24/week @ 2025-02-05 32/week @ 2025-02-12 107/week @ 2025-02-19 57/week @ 2025-02-26

227 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
~205K SLoC