twoway 0.2.2

(Deprecated - use crate memchr instead.) Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (if detected at runtime) 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
Build #390612 2021-05-19T22:07:55.302922+00:00
# rustc version
rustc 1.54.0-nightly (4e3e6db01 2021-05-18)# docs.rs version
docsrs 0.6.0 (c2d325f 2021-05-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/twoway-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/twoway-0.2.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210518-1.54.0-nightly-4e3e6db01" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 008356f3b42e41ec9cb787164895650727a4c2359c8ebe83f067eb8f0b048beb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "008356f3b42e41ec9cb787164895650727a4c2359c8ebe83f067eb8f0b048beb", kill_on_drop: false }`
[INFO] [stderr]  Documenting twoway v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.79s
[INFO] running `Command { std: "docker" "inspect" "008356f3b42e41ec9cb787164895650727a4c2359c8ebe83f067eb8f0b048beb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "008356f3b42e41ec9cb787164895650727a4c2359c8ebe83f067eb8f0b048beb", kill_on_drop: false }`
[INFO] [stdout] 008356f3b42e41ec9cb787164895650727a4c2359c8ebe83f067eb8f0b048beb