Crates.io | key-list |
lib.rs | key-list |
version | 1.0.0 |
source | src |
created_at | 2020-04-08 17:23:47.172092 |
updated_at | 2020-04-08 17:23:47.172092 |
description | A very minimal crate to get you a specific sequence between two characters in a string, fast. |
homepage | https://github.com/0x20F/key-list |
repository | https://github.com/0x20F/key-list |
max_upload_size | |
id | 227687 |
size | 7,336 |
A very minimal crate to get you a specific sequence between two characters in a string, fast.
[dependencies]
key-list = "1"
let text = "/this/ has some /keys/";
let list = KeyList::new(text, '/', '/');
for key in list {
println!("{}", key); // '/this/', '/keys/'
}