1#![feature(
2 specialization,
3 unboxed_closures,
8 fn_traits,
9 arbitrary_self_types,
12 ptr_offset_from,
15 iterator_find_map,
16 int_to_from_bytes,
17 )]
19#![cfg_attr(test, allow(warnings))]
20
21#![cfg_attr(not(feature = "std"), no_std)]
22#[cfg(not(feature = "std"))]
23extern crate core as std;
24
25extern crate memchr;
26
27pub mod haystack;
28pub mod needle;
29mod slices;
30mod strings;
31mod omgwtf8;
32pub mod ext;
33
34pub use haystack::{Hay, Haystack, SharedHaystack, Span};
35pub use needle::{Needle, Searcher, ReverseSearcher, DoubleEndedSearcher, Consumer, ReverseConsumer, DoubleEndedConsumer};
36pub use omgwtf8::Wtf8;