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
language: rust
sudo: false
matrix:
  include:
    - rust: 1.14.0
    - rust: stable
    - rust: beta
    - rust: nightly
      env:
       - FEATURES='all benchmarks'
       - BENCH=1
    - rust: nightly
      env:
       - FEATURES='pattern'
branches:
  only:
    - master
script:
  - |
      cargo build --verbose --no-default-features --features "$FEATURES" &&
      cargo build --verbose --features "$FEATURES" &&
      cargo test --verbose --lib &&
      ([ -z "$FEATURES" ] || cargo test --verbose --features "$FEATURES" ) &&
      ([ "$BENCH" != 1 ] || cargo bench --verbose --features "$FEATURES") &&
      cargo doc --verbose --features "$FEATURES"