embed-rust 0.4.0

A macro that allows to embed a Rust executable.
Documentation
1
2
3
4
5
pub fn contains(haystack: &[u8], needle: &[u8]) -> bool {
    haystack
        .windows(needle.len())
        .any(|window| window == needle)
}