# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.66" name = "boreal" version = "0.9.0" build = false exclude = ["/tests"] autobins = false autoexamples = false autotests = false autobenches = false description = "A library to evaluate YARA rules, used to scan bytes for textual and binary pattern" readme = "README.md" keywords = [ "boreal", "yara", "string-matching", "scan", ] categories = ["text-processing"] license = "MIT OR Apache-2.0" repository = "https://github.com/vthib/boreal" [package.metadata.docs.rs] features = [ "authenticode", "memmap", "magic", "cuckoo", ] [lib] name = "boreal" path = "src/lib.rs" [dependencies.aho-corasick] version = "1.1" [dependencies.boreal-parser] version = "0.6.0" [dependencies.codespan-reporting] version = "0.11" [dependencies.const-oid] version = "0.9" features = ["db"] optional = true [dependencies.crc32fast] version = "1.4" optional = true [dependencies.der] version = "0.7" features = [ "derive", "oid", "std", ] optional = true [dependencies.dsa] version = "0.6" optional = true default-features = false [dependencies.magic] version = "0.16" optional = true [dependencies.md-5] version = "0.10" optional = true [dependencies.memchr] version = "2.7" [dependencies.memmap2] version = "0.9" optional = true [dependencies.object] version = "0.36" features = ["read"] optional = true default-features = false [dependencies.p256] version = "0.13" features = [ "ecdsa", "pem", ] optional = true default-features = false [dependencies.p384] version = "0.13" features = [ "ecdsa", "pem", ] optional = true default-features = false [dependencies.regex-automata] version = "0.4" features = [ "std", "syntax", "perf", "meta", "nfa", "dfa", "hybrid", ] default-features = false [dependencies.regex-syntax] version = "0.8" default-features = false [dependencies.rsa] version = "0.9" optional = true default-features = false [dependencies.serde_json] version = "1.0" optional = true [dependencies.sha1] version = "0.10" optional = true [dependencies.sha2] version = "0.10" optional = true [dependencies.spki] version = "0.7" optional = true default-features = false [dependencies.tlsh2] version = "0.4" optional = true [dev-dependencies.base64] version = "0.22" [dev-dependencies.glob] version = "0.3.1" [dev-dependencies.tempfile] version = "3.12" [dev-dependencies.yara] version = "0.29" features = ["vendored"] [features] authenticode = [ "dep:const-oid", "dep:der", "dep:md-5", "dep:sha1", "dep:sha2", ] authenticode-verify = [ "dep:rsa", "dep:dsa", "dep:p256", "dep:p384", "dep:spki", "md-5?/oid", "sha1?/oid", "sha2?/oid", ] cuckoo = [ "dep:serde_json", "yara/module-cuckoo", ] default = [ "hash", "object", "memmap", "process", "authenticode", ] hash = [ "dep:md-5", "dep:sha1", "dep:sha2", "dep:crc32fast", "dep:tlsh2", ] magic = [ "dep:magic", "yara/module-magic", ] memmap = ["dep:memmap2"] object = ["dep:object"] process = [ "dep:libc", "dep:windows-sys", "dep:mach2", ] profiling = [] [target.'cfg(target_os = "linux")'.dependencies.libc] version = "0.2" optional = true [target.'cfg(target_os = "macos")'.dependencies.libc] version = "0.2" optional = true [target.'cfg(target_os = "macos")'.dependencies.mach2] version = "0.4" optional = true [target."cfg(windows)".dependencies.windows-sys] version = "0.59" features = [ "Win32_Foundation", "Win32_Security", "Win32_System_Diagnostics_Debug", "Win32_System_Memory", "Win32_System_Threading", ] optional = true [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(coverage_nightly)"]