diff --git a/capi/Cargo.toml b/capi/Cargo.toml index b5f896f8b..3e31b5afa 100644 --- a/capi/Cargo.toml +++ b/capi/Cargo.toml @@ -23,7 +23,7 @@ crate-type = ["staticlib", "cdylib"] [dependencies] serde_json = { workspace = true } -yara-x = { workspace = true } +yara-x = { workspace = true, features = ["parallel-compilation"] } [build-dependencies] cbindgen = { workspace = true } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 8a0d4adb2..5992c269c 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -52,7 +52,7 @@ protobuf = { workspace = true } protobuf-json-mapping = { workspace = true } serde_json = { workspace = true, features = ["preserve_order"] } yansi = { workspace = true } -yara-x = { workspace = true } +yara-x = { workspace = true, features = ["parallel-compilation"] } yara-x-parser = { workspace = true } yara-x-proto-yaml = { workspace = true } yara-x-fmt = { workspace = true } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 6421f0799..e6c43d6c2 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -57,7 +57,7 @@ logging = ["dep:log"] # threads, which can be problematic in some scenarios. See: # https://github.com/VirusTotal/yara-x/issues/182 # -# This feature is enabled by default. +# This feature is disabled by default. parallel-compilation = ["wasmtime/parallel-compilation"] # Enables rules profiling. When this is enabled together with `logging` the @@ -65,7 +65,6 @@ parallel-compilation = ["wasmtime/parallel-compilation"] # scan. Notice that profiling itself has a noticeable impact on performance. rules-profiling = ["logging"] - # When enabled use the logic included in the `x509-parser` crate for verifying # certificates. If not enabled we use our ouwn logic. This is disabled by # default. @@ -167,14 +166,12 @@ text-module = [ # conditions of a rule to check against other epoch time. time-module = [] - # Features that are enabled by default. default = [ "constant-folding", "cuckoo-module", "exact-atoms", "fast-regexp", - "parallel-compilation", "console-module", "dotnet-module", "elf-module", diff --git a/py/Cargo.toml b/py/Cargo.toml index d63e57a62..9b306c428 100644 --- a/py/Cargo.toml +++ b/py/Cargo.toml @@ -21,7 +21,7 @@ pyo3-file = "0.8.0" serde_json = { workspace = true } protobuf-json-mapping = { workspace = true } -yara-x = { workspace = true } +yara-x = { workspace = true, features = ["parallel-compilation"] } [build-dependencies] pyo3-build-config = "0.21.2" \ No newline at end of file