#testing #pact #cdc

pact_models

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

13 releases

new 0.2.0-beta.2 Sep 10, 2021
0.2.0-beta.0 Aug 23, 2021
0.1.0 Jul 23, 2021

#161 in Filesystem

Download history 54/week @ 2021-05-25 138/week @ 2021-06-01 137/week @ 2021-06-08 209/week @ 2021-06-15 298/week @ 2021-06-22 164/week @ 2021-06-29 168/week @ 2021-07-06 182/week @ 2021-07-13 257/week @ 2021-07-20 157/week @ 2021-07-27 112/week @ 2021-08-03 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

940 downloads per month
Used in 13 crates (10 directly)

MIT license

650KB
15K 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

~12–17MB
~392K SLoC