7 releases

0.3.2 Jan 14, 2023
0.3.1 Oct 16, 2022
0.3.0 Feb 25, 2022
0.2.2 Oct 16, 2022
0.1.0 Sep 14, 2021

#1656 in Hardware support

Download history 2/week @ 2024-01-08 35/week @ 2024-01-29 6/week @ 2024-02-05 32/week @ 2024-02-19 21/week @ 2024-02-26 32/week @ 2024-03-04 30/week @ 2024-03-11 55/week @ 2024-03-18 28/week @ 2024-03-25 32/week @ 2024-04-01 44/week @ 2024-04-08 24/week @ 2024-04-15

128 downloads per month
Used in 4 crates (2 directly)

MIT license

1.5MB
29K SLoC

C 27K SLoC // 0.2% comments C++ 742 SLoC // 0.3% comments Java 465 SLoC // 0.4% comments Python 402 SLoC // 0.4% comments Shell 306 SLoC // 0.1% comments Go 235 SLoC // 0.2% comments Rust 134 SLoC // 0.3% comments Pascal 117 SLoC // 0.7% comments

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

will check if static build in the order of: PLCTAG_STATIC, PLCTAG_DYNAMIC, rustflags: +crt-static

No runtime deps

~0–2MB
~41K SLoC