diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 7ffd82c28..a82641255 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -194,7 +194,6 @@ wasmtime = { workspace = true, features = ["cranelift", "parallel-compilation"] yansi = { workspace = true } yara-x-macros = { workspace = true } yara-x-parser = { workspace = true } -yara-x-proto = { workspace = true } lingua = { version = "1.6.0", optional = true, default-features = false, features = ["english", "german", "french", "spanish"] } diff --git a/lib/src/types/structure.rs b/lib/src/types/structure.rs index 80ae8d18c..74c4da740 100644 --- a/lib/src/types/structure.rs +++ b/lib/src/types/structure.rs @@ -13,12 +13,10 @@ use protobuf::reflect::{EnumValueDescriptor, Syntax}; use protobuf::MessageDyn; use serde::{Deserialize, Serialize}; +use crate::modules::protos::yara::exts::{ + enum_options, enum_value, field_options, message_options, module_options, +}; use crate::symbols::{Symbol, SymbolKind, SymbolLookup}; -use yara_x_proto::exts::enum_value; -use yara_x_proto::exts::field_options; -use yara_x_proto::exts::module_options; -use yara_x_proto::exts::{enum_options, message_options}; - use crate::types::{Array, Map, TypeValue, Value}; use crate::wasm::WasmExport;