pact_models

Crates.iopact_models
lib.rspact_models
version1.2.4
sourcesrc
created_at2021-04-22 00:46:08.271662
updated_at2024-08-13 01:45:19.196609
descriptionPact-Rust support library that provides the core models for dealing with Pact files
homepagehttps://www.pact.io
repositoryhttps://github.com/pact-foundation/pact-reference/blob/master/rust/pact_models
max_upload_size
id387940
size1,784,636
Ronald Holshausen (rholshausen)

documentation

README

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.

Crate features

All features are enabled by default

  • datetime: Enables support of date and time expressions and generators. This will add the chronos crate as a dependency.
  • xml: Enables support for parsing XML documents. This feature will add the sxd-document crate as a dependency.
Commit count: 0

cargo fmt