mail-query 0.1.0

Parser and typed AST for Gmail-style email search queries. Backend-agnostic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "name": "filter-custom-via-options",
  "description": "Registering a custom filter name lets callers add app-specific operators without forking the crate.",
  "spec": {
    "source": "mail-query extension point",
    "behavior": "ParserOptions::register_custom_filter widens the accepted vocabulary. The crate normalises the name (lowercase + hyphens) and routes parse hits through FilterKind::Custom."
  },
  "options": {
    "custom_filters": ["owed-reply"]
  },
  "input": "is:owed-reply",
  "expected_ast": {
    "Filter": { "custom": "owed-reply" }
  }
}