plctag-sys

Crates.ioplctag-sys
lib.rsplctag-sys
version0.3.4
sourcesrc
created_at2021-09-14 07:13:20.883199+00
updated_at2025-03-31 16:57:02.874851+00
descriptionnative libplctag binding
homepagehttps://github.com/Joylei/plctag-rs
repositoryhttps://github.com/Joylei/plctag-rs.git
max_upload_size
id451073
size2,696,754
joylei (Joylei)

documentation

https://docs.rs/crate/plctag/

README

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
  • Build from git submodules

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

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

Commit count: 195

cargo fmt