chore: update pact_ffi readme
@@ -15,7 +15,7 @@ It will additionally attempt to find and use `Doxygen` to generate C-friendly do
**Note:** Linking to the generated static library on Linux requires you to also link to `pthread`, `dl` and `m`.
-## Building
+## Building with CMake
For convenience, this tool integrates with CMake, which is setup to:
@@ -38,6 +38,25 @@ You can also optionally install the built artifacts as follows:
$ cmake --install . --prefix=<install location (omit to install globally)>
```
+## Conan recipes
+
+The library files (lib and DLLs) are published as Conan recipes to the repository at https://pactfoundation.jfrog.io/artifactory/api/conan/pactfoundation-conan.
+To use it with a CMake project, add that repository as a Conan remote and then use Conan to generate
+the CMake dependency files for your project. There are two recipes, `pact_ffi` to use the static lib and
+`pact_ffi_dll` to use the dynamic lib.
+
+```console
+$ conan remote add pact-foundation https://pactfoundation.jfrog.io/artifactory/api/conan/pactfoundation-conan
+$ conan search pact_ffi -r=pact-foundation
+Existing package recipes:
+
+pact_ffi/0.0.0@pact/beta
+$ conan search pact_ffi_dll -r=pact-foundation
+Existing package recipes:
+
+pact_ffi_dll/0.0.0@pact/beta
+```
+
## Examples
This project also includes example uses which depend on the crate via CMake.
