kwp 0.2.1

An input parser for positive and negative keywords input (e.g: +foo,-bar,+baz)
Documentation
  • Coverage
  • 56.25%
    9 out of 16 items documented5 out of 8 items with examples
  • Size
  • Source code size: 21.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • sycer-dev/kwp
    8 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Fyko

kw-parser

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

installation

# within Cargo.toml
kwp = "0.2"

example

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);
}