Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.26 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.26 KB

meos-sys

Low level MEOS C API bindings for MEOS.

It provides C-interface as is. If you want to use a more Rust-friendly crate, use the meos crate.

You can also find it on crates.io.

Version policy

Currently the bindings are generated manually using bindgen. The commit of the repository currently tracked is this one

Build

By default, the build will use system-installed MEOS if available, pkg-config is used to automatically detect MEOS

If MEOS is in a custom location, you can instead use the MEOS_LIB_DIR environment variable to configure MEOS detection.

If MEOS_LIB_DIR is not also in your system's standard dynamic library search path, you may need to add it to the dynamic library search path before running the tests or executable produced by cargo build.

Linux:

LD_LIBRARY_PATH=<path to MEOS>/lib MEOS_LIB_DIR=<path to MEOS>/lib MEOS_VERSION=<version> cargo test

MacOS:

DYLD_FALLBACK_LIBRARY_PATH=<path to MEOS>/lib MEOS_LIB_DIR=<path to MEOS>/lib MEOS_VERSION=<version> cargo test

Bindings

Pre-built bindings are available for 1.1