# 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 = "2018" name = "hyperscan" version = "0.3.2" authors = ["Flier Lu "] description = "Hyperscan bindings for Rust with Multiple Pattern and Streaming Scan" homepage = "https://github.com/flier/rust-hyperscan" documentation = "https://docs.rs/crate/hyperscan/" readme = "README.md" keywords = [ "regex", "hyperscan", "streaming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/flier/rust-hyperscan" [package.metadata.docs.rs] features = ["docsrs"] rustc-args = [ "--cfg", "docsrs", ] [[example]] name = "patbench" test = false required-features = ["full"] [[example]] name = "pcapscan" test = false required-features = ["full"] [[example]] name = "simplegrep" test = false required-features = ["full"] [[bench]] name = "bench" harness = false [dependencies.anyhow] version = "1.0" [dependencies.bitflags] version = "1.3" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.derive_more] version = "0.99" optional = true [dependencies.foreign-types] version = "0.5" [dependencies.futures] version = "0.3.16" optional = true [dependencies.hyperscan-sys] version = "0.3" [dependencies.libc] version = "0.2" [dependencies.malloc_buf] version = "1.0" [dependencies.semver] version = "1" [dependencies.thiserror] version = "1.0" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.byteorder] version = "1.2" [dev-dependencies.criterion] version = "0.4" [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.either] version = "1.5" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.pcap] version = "1.0" [dev-dependencies.pnet] version = "0.31" [dev-dependencies.rand] version = "0.8" [dev-dependencies.regex] version = "1.5" [dev-dependencies.structopt] version = "0.3" [dev-dependencies.tokio-test] version = "0.4" [build-dependencies.rustc_version] version = "0.4" [features] async = ["futures"] chimera = [ "hyperscan-sys/chimera", "bitflags", "derive_more", "static", ] compile = [ "hyperscan-sys/compile", "bitflags", "derive_more", ] contained = ["hyperscan-sys/contained"] default = [ "full", "latest", ] docsrs = [ "hyperscan-sys/docsrs", "full", "latest", "async", "chimera", ] full = [ "compile", "runtime", ] gen = ["hyperscan-sys/gen"] latest = ["v5_4"] literal = [] pattern = ["regex/pattern"] runtime = ["hyperscan-sys/runtime"] static = ["hyperscan-sys/static"] unstable = ["pattern"] v4 = [] v5 = ["v4"] v5_2 = [ "v5", "literal", ] v5_4 = ["v5_2"]