Skip to content

opicaud/pact-reference

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

63e13e3 · Aug 22, 2023
Dec 22, 2022
Sep 28, 2021
Jul 7, 2021
Sep 29, 2021
Mar 1, 2022
Jan 5, 2023
Aug 22, 2023
May 16, 2023
May 16, 2023
Aug 17, 2021
Feb 29, 2016
May 16, 2022

Repository files navigation

Logo of the project

Pact-Rust Build Pact-Rust FFI Build

Pact Reference Implementation

Reference implementations for Pact Specification written in Rust

This project contains a reference implementation of the Pact specifications written in Rust, as well as example projects in JavaScript and C (and a few others) that use the mock server library.

Usage

Rust

For Rust projects, you can use the Rust crates from this library in your project directly. Refer to the Rust project readme. Requires minimum Rust 1.59.0.

Other languages

This project contains dynamic libraries that expose the core functionality through FFI (Foreign Function Interface).

For examples:

Building

To build the libraries in this project, you need a working Rust environment. Requires minimum Rust 1.59.0. Refer to the Rust Guide.

The build tool used is cargo.

cd rust
cargo build

This will compile all the libraries and put the generated files in rust/target/debug.

Contributing

See CONTRIBUTING (PRs are always welcome!).

Documentation

Rust library documentation is published to the Rust documentation site. Refer to the Rust project README.

Additional documentation can be found at the main Pact website.

Contact

Join us in slack: slack

or

Licensing

The code in this project is licensed under a MIT license. See LICENSE.

About

Fork to add Bazel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 90.8%
  • Shell 1.9%
  • Gherkin 1.9%
  • Makefile 1.7%
  • Groovy 0.7%
  • CMake 0.7%
  • Other 2.3%