grippo 0.1.0

Parse, match and scrub data at scale.
Documentation
// Project:   grippo
// File:      src/lib.rs
// Purpose:   Crate root
// Language:  Rust
//
// License:   Apache-2.0
// Copyright: (c) 2026 HYPERI PTY LIMITED

//! Parse, match and scrub data at scale.
//!
//! Grok and regex are how a pattern is written, not how it runs. Every
//! matcher and parser reports the [`MatcherTier`] it runs on, and the regex
//! engine runs only when no native route covers the pattern.

#![cfg_attr(docsrs, feature(doc_cfg))]

// Generated code names this crate `::grippo`, as it would from outside.
extern crate self as grippo;

pub mod cost;
#[cfg(feature = "parse")]
mod kernel;
mod tier;

pub use tier::MatcherTier;

#[cfg(feature = "strmatch")]
pub mod strmatch;

#[cfg(feature = "parse")]
pub mod parse;

#[cfg(feature = "parse")]
pub mod field;

#[cfg(feature = "time")]
pub mod time;

#[cfg(feature = "parse-grok")]
pub mod grok;

#[cfg(feature = "compose")]
pub mod compose;

#[cfg(feature = "parse")]
pub mod format;

#[cfg(feature = "scrub")]
pub mod scrub;

#[cfg(feature = "convert")]
pub mod convert;
#[cfg(feature = "domain")]
pub mod domain;
#[cfg(feature = "expr")]
pub mod expr;
#[cfg(feature = "json-depth")]
pub mod json;
#[cfg(feature = "record")]
pub mod record;
#[cfg(feature = "ua")]
pub mod ua;
#[cfg(feature = "uri")]
pub mod uri;
#[cfg(feature = "xml")]
pub mod xml;

#[cfg(test)]
mod shared_tests;