yara-sys 0.4.0

Native bindings to the libyara library
Documentation

yara-sys

Crates.io Documentation

Native bindings for the Yara library from VirusTotal. Only works with Yara 3.7 for now.

More documentation can be found on the Yara's documentation.

Features

By default, this crate uses bindgen to generate bindings on-the-fly, but you can also use the following features to use pre-built bindings file for different version of Yara. Just make sure the version you specify is the same that the version on your system!

  • bindgen: this is the default feature, to use generated bindings.
  • bundled-3_7: use pre-generated bindings for Yara 3.7.1
  • bundled-3_11 use pre-generated bindings for Yara 3.11.0

You can specify the location of Yara:

  • The path of the Yara library by setting the YARA_LIBRARY_PATH environment variable.
  • The path of the Yara headers by setting the YARA_INCLUDE_DIR environment variable, if you use the bindgen feature.

License

Licensed under either of

at your option.