kw-parser

An input parser for positive and negative keywords input (e.g: +foo,-bar,+baz)
Actions Crate Downloads

installation

```yml

within Cargo.toml

kwp = "0.2" ```

example

```rust use kwp::{Parser, Prefixes};

fn main() { let input = "+foo,-bar,+baz,-bak";

let parser = Parser::new(
    &input,
    Prefixes::default()
);
let res = parser.parse();
println!("{:#?}", res);

} ```