diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e55db0..9a67560 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [0.26.0](https://github.com/Hugal31/yara-rust/compare/v0.25.0...v0.26.0) (2024-02-16) + +### Features + +* update yara dependency to v4.5.0 + ([a28a6d8](https://github.com/Hugal31/yara-rust/commit/a28a6d88772b8d94296e42221c3cc591f2fc8447)) + ## [0.25.0](https://github.com/Hugal31/yara-rust/compare/v0.24.0...v0.25.0) (2024-02-06) ### Features diff --git a/Cargo.toml b/Cargo.toml index a33684a..4ec9235 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["yara-sys"] [package] name = "yara" -version = "0.25.0" +version = "0.26.0" authors = ["Hugo Laloge "] license = "MIT OR Apache-2.0" description = "Rust bindings for VirusTotal/yara" @@ -43,7 +43,7 @@ tempfile = "3.9" [dependencies.yara-sys] path = "yara-sys" -version = "0.24.0" +version = "0.25.0" default-features = false [package.metadata.docs.rs] diff --git a/README.md b/README.md index d80532c..4b26980 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ fn main() { ## Features -* Support from Yara v4.1. +* Support from Yara v4.2. * Compile rules from strings or files. * Save and load compiled rules. * Scan byte arrays (`&[u8]`) or files. @@ -55,7 +55,7 @@ and how to link to your Yara crate. - [ ] Accept `AsRef` instead of `&str` on multiple functions. - [x] Implement the scanner API. - [x] Add process scanning. -- [ ] Report the warnings to the user. +- [x] Report the warnings to the user. ## License diff --git a/yara-sys/Cargo.toml b/yara-sys/Cargo.toml index 0b0c223..07806cc 100644 --- a/yara-sys/Cargo.toml +++ b/yara-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yara-sys" -version = "0.24.0" +version = "0.25.0" authors = ["Hugo Laloge "] license = "MIT OR Apache-2.0" description = "Native bindings to the libyara library" diff --git a/yara-sys/build.rs b/yara-sys/build.rs index c0e6737..709042a 100644 --- a/yara-sys/build.rs +++ b/yara-sys/build.rs @@ -399,6 +399,10 @@ mod bindings { .allowlist_var("YARA_ERROR_LEVEL_.*") .allowlist_var("SCAN_FLAGS_.*") .allowlist_var("YR_CONFIG_.*") + .allowlist_var("_YR_CONFIG_.*") + .allowlist_var("_YR_CONFIG_NAME") + .allowlist_var("YR_CONFIG_NAME") + .allowlist_var("YR_CONFIG_STACK_SIZE") .allowlist_var("YR_UNDEFINED") .allowlist_function("yr_set_configuration_uint32") .allowlist_function("yr_set_configuration_uint64")