Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Picky FFI

This crate exposes a C-compatible API. Bindings are auto-generated.

Native library build

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

C# .NET bindings are located in the ./dotnet/ folder. Diplomat is used to generate most of the code.

Justfile

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