plctag-sys

native libplctag binding

crates.io docs build license

Build

You can build from source or use pre-built binaries. It depends on how you set ENV variables.

Use pre-built binaries

Download latest binary release of libplctag and extract it to somewhere of your computer.

Set environment variable LIBPLCTAG_PATH to the directory of extracted binaries.

Build from git submodules

If environment variable LIBPLCTAG_PATH does not present, will build from git submodules libplctag.

Static build

will check if static build in the order of: PLCTAGSTATIC, PLCTAGDYNAMIC, rustflags: +crt-static