twoway 0.1.8

Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (requires nightly and cargo feature flag pcmp) using pcmpestri. Memchr is the only mandatory dependency. The two way algorithm is also used by rust's libstd itself, but here it is exposed both for byte strings, using memchr, and optionally using a SSE4.2 accelerated version.
Documentation
[package]
name = "twoway"
version = "0.1.8"
authors = ["bluss"]

description = "Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (requires nightly and cargo feature flag pcmp) using pcmpestri. Memchr is the only mandatory dependency. The two way algorithm is also used by rust's libstd itself, but here it is exposed both for byte strings, using memchr, and optionally using a SSE4.2 accelerated version."

license = "MIT/Apache-2.0"
repository = "https://github.com/bluss/twoway"
documentation = "https://docs.rs/twoway/"

keywords = ["substring-search", "string", "pcmpestri", "find", "memmem"]
categories = ["algorithms", "no-std"]

[dependencies]
memchr = { version = "2.0", default-features = false }
unchecked-index = { version = "0.2.2", optional = true }
jetscii = {version = "0.3", features= ["unstable"], optional = true }
galil-seiferas = { version = "0.1.1", optional = true }

[dev-dependencies]
itertools = "0.7.0"
odds = { version = "0.2.26" }
macro-attr = "0.2"
newtype_derive = "0.1"
rand = "0.3.10"
quickcheck = { version = "0.5", default-features = false }

[features]
# stable and pcmp support: opting out of using std, becoming no_std
default = ["use_std"]
use_std = ["memchr/use_std"]

# pcmpestri, requires nightly
pcmp = ["unchecked-index"]

# Internal features for testing & benchmarking & development
pattern = []
test-set = []
benchmarks = ["galil-seiferas", "pattern", "unchecked-index"]
all = ["jetscii", "pcmp", "pattern", "test-set"]


[package.metadata.release]
no-dev-version = true