whydrogen 0.1.0

A slightly opinioated search query parser/lexer.
Documentation
  • Coverage
  • 96.15%
    25 out of 26 items documented0 out of 13 items with examples
  • Size
  • Source code size: 64.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.59 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • slatian

whydrogen — Serch Query Parser Library

Whydrogen is a slightly opinioated search query parser written in rust.

The syntax should be familiar to anyone who knows a bit about the "Advanced search" features of several popular search engines. It supports just words, "Quoted tokens", key:value pairs, !prefixed-values, -"negated" -key:"values and" -!prefixes.

Which keywords and prefixes work is fully customizable. The syntax is unicode aware.

For a detailed syntax description see the documentation in the lib.rs file.

License

whydrogen is licensed under a LGPL-3.0-only license.