A tiny library to efficiently search strings for sets of ASCII characters or byte slices for sets of bytes.
```rust
extern crate jetscii;
fn main() { let partnumber = "86-J52:rev1"; let first = asciichars!('-', ':').find(partnumber); asserteq!(first, Some(2)); } ```
```rust
extern crate jetscii;
fn main() { let rawdata = [0x00, 0x01, 0x10, 0xFF, 0x42]; let first = bytes!(0x01, 0x10).find(&rawdata); assert_eq!(first, Some(1)); } ```
Check out the documentation for information about feature flags and benchmarks.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)