Cargo Features
yara-x-cli has no features set by default.
[dependencies]
yara-x-cli = { version = "0.14.0", features = ["debug-cmd", "logging", "rules-profiling"] }
- debug-cmd
-
Enable the "debug" command for developers.
- logging
-
When this feature is enabled the CLI program prints debug logs if the RUST_LOG environment variable is set to any of the debug levels:
error
warn
info
debug
trace
Example: RUST_LOG=info ./yr scan some_rule.yar some_fileEnables env_logger and log
- rules-profiling
-
Enables rules profiling. Notice that profiling has an impact on scan performance.
Enables rules-profiling of yara-x