Crates.io | plctag-sys |
lib.rs | plctag-sys |
version | 0.3.4 |
source | src |
created_at | 2021-09-14 07:13:20.883199+00 |
updated_at | 2025-03-31 16:57:02.874851+00 |
description | native libplctag binding |
homepage | https://github.com/Joylei/plctag-rs |
repository | https://github.com/Joylei/plctag-rs.git |
max_upload_size | |
id | 451073 |
size | 2,696,754 |
native libplctag binding
You can build from source or use pre-built binaries. It depends on how you set ENV variables.
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.
If environment variable LIBPLCTAG_PATH
does not present, will build from git submodules libplctag.
env PLCTAG_STATIC
: use static build, true if the value is one of 1
, true
, on
, yes
env PLCTAG_DYNAMIC
: use dynamic build, true if the value is one of 1
, true
, on
, yes
Will check if static build in the order of:
PLCTAG_STATIC, PLCTAG_DYNAMIC, rustflags: +crt-static