Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mandrean/postman-collection-rs
A Postman Collection serialization & deserialization library, written in Rust.
https://github.com/mandrean/postman-collection-rs
deserialization postman postman-collection rust rust-library serde serde-json serde-serialization serialization
Last synced: about 2 months ago
JSON representation
A Postman Collection serialization & deserialization library, written in Rust.
- Host: GitHub
- URL: https://github.com/mandrean/postman-collection-rs
- Owner: mandrean
- License: mit
- Created: 2018-11-17T16:48:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-15T23:34:14.000Z (3 months ago)
- Last Synced: 2024-11-20T04:43:01.819Z (about 2 months ago)
- Topics: deserialization, postman, postman-collection, rust, rust-library, serde, serde-json, serde-serialization, serialization
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 11
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - mandrean/postman-collection-rs - ci.org/mandrean/postman-collection-rs.svg?branch=master)](https://travis-ci.org/mandrean/postman-collection-rs) (Libraries / Encoding)
- awesome-rust - mandrean/postman-collection-rs - ci.org/mandrean/postman-collection-rs.svg?branch=master)](https://travis-ci.org/mandrean/postman-collection-rs) (Libraries / Encoding)
- awesome-rust-zh - mandrean/postman-collection-rs - Postman Collection v1,v2 和 v2.1 序列化和反序列化库[![Build Status](https://api.travis-ci.org/mandrean/postman-collection-rs.svg?branch=master)](https://travis-ci.org/mandrean/postman-collection-rs) (库 / 编码(Encoding))
- awesome-rust - mandrean/postman-collection-rs - ci.org/mandrean/postman-collection-rs.svg?branch=master)](https://travis-ci.org/mandrean/postman-collection-rs) (库 Libraries / 加密 Encoding)
README
postman-collection-rs
=====================
[Postman Collection][postman_collection] serialization & deserialization library, written in Rust.[![Build Status](https://travis-ci.org/mandrean/postman-collection-rs.svg?branch=master)](https://travis-ci.org/mandrean/postman-collection-rs)
[![Latest version](https://img.shields.io/crates/v/postman_collection.svg)](https://crates.io/crates/postman_collection)
[![Documentation](https://docs.rs/postman_collection/badge.svg)](https://docs.rs/postman_collection)
![License](https://img.shields.io/crates/l/postman_collection.svg)Install
-------
Add the following to your `Cargo.toml` file:```toml
[dependencies]
postman_collection = "0.2"
```Use
---
```rust
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](examples/printer.rs) for more.
Contribute
----------
This project follows [semver], [conventional commits] and semantic releasing using [semantic-rs].Note
----
Inspired by [softprops/openapi](https://github.com/softprops/openapi).[postman_collection]: https://www.getpostman.com/collection
[semver]: https://semver.org/
[conventional commits]: https://www.conventionalcommits.org
[semantic-rs]: https://github.com/semantic-rs/semantic-rs