This crate exposes a C-compatible API. Bindings are auto-generated.
Build is as simple as:
$ cargo build -p picky-ffi
or
$ cargo build -p picky-ffi --release
Binary will be generated inside target folder located at workspace root.
C# .NET bindings are located in the ./dotnet/ folder.
Diplomat is used to generate most of the code.
A justfile is provided to run common commands useful at developement time.
The appropriate version of Diplomat's tool can be installed with:
$ just diplomat-install
Commands for generating the bindings are issued with:
$ just bindings
Sanity tests are run with:
$ just test
On Windows, run just with --shell powershell.exe --shell-arg -c.
For instance:
$ just --shell powershell.exe --shell-arg -c test