// Copyright 2015 Joe Neeman
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
/*!
A crate for string searching. The main trait is `Searcher`, which has a function for finding fixed
things in long byte-strings. Currently, the only implementer of `Searcher` is `TwoWaySearcher`.
# Example
```rust
use memmem::{Searcher, TwoWaySearcher};
let search = TwoWaySearcher::new("dog".as_bytes());
assert_eq!(search.search_in("The quick brown fox jumped over the lazy dog.".as_bytes()), Some(41));
```
*/
extern crate quickcheck;
pub use TwoWaySearcher;
/// A trait that searches for patterns in byte-strings.