#testing #pact #cdc

pact_models

Pact-Rust support library that provides the core models for dealing with Pact files

21 releases

Uses new Rust 2021

new 0.2.2 Nov 29, 2021
0.2.0 Oct 21, 2021
0.1.0 Jul 23, 2021

#157 in Filesystem

Download history 99/week @ 2021-08-10 251/week @ 2021-08-17 211/week @ 2021-08-24 489/week @ 2021-08-31 561/week @ 2021-09-07 387/week @ 2021-09-14 103/week @ 2021-09-21 151/week @ 2021-09-28 591/week @ 2021-10-05 707/week @ 2021-10-12 842/week @ 2021-10-19 572/week @ 2021-10-26 374/week @ 2021-11-02 174/week @ 2021-11-09 560/week @ 2021-11-16 309/week @ 2021-11-23

1,500 downloads per month
Used in 14 crates (12 directly)

MIT license

715KB
17K SLoC

Pact Models

This library provides the core models for dealing with Pact files. It supports the V3 pact specification and V4 pact specification.

Online rust docs

Reading and writing Pact files

The Pact struct has methods to read and write pact JSON files. It supports all the specification versions up to V4, but will convert a V1, V1.1 and V2 spec file to a V3 format.


lib.rs:

The pact_models crate provides all the structs and traits required to model a Pact.

Dependencies

~7–13MB
~282K SLoC