mirror of
https://github.com/VirusTotal/yara-x.git
synced 2026-10-12 02:10:01 +00:00
This exposes the YARA-X protobuf option schema from the `yara-x-proto` crate so downstream custom modules can import `yara.proto` without vendoring a copy or relying on crate source layout.
The new public constants are:
```rust
pub const YARA_PROTO_FILE_NAME: &str = "yara.proto";
pub const YARA_PROTO: &str = include_str!("yara.proto");
```
This lets external module crates use the same protobuf options as in-tree modules while keeping yara.proto owned by yara-x-proto.