Crates.io | memmem |
lib.rs | memmem |
version | 0.1.1 |
source | src |
created_at | 2015-11-08 19:16:15.684997 |
updated_at | 2016-05-01 10:15:48.015488 |
description | Substring searching |
homepage | |
repository | http://github.com/jneem/memmem |
max_upload_size | |
id | 3387 |
size | 29,298 |
This is a crate for substring searching (with functionality similar to the
memmem
function in C). So far, it only contains a copy of the two-way search
implementation from rust's standard library (but with an API that allows
searching in &[u8]
). Eventually, we plan to provide other searching
algorithms, and possibly also some heuristics to choose a good searching
algorithm based on the substring we are looking for.