A fast, type-safe Rust implementation of JSONLogic for evaluating logical rules as JSON. Perfect for business rules engines and dynamic filtering in Rust applications.
//! Small allocation/iteration helpers used by the operator code.
/// Allocate an empty `bumpalo::collections::Vec` with `cap` reserved slots.
/// Thin wrapper for the `Vec::with_capacity_in(cap, arena)` boilerplate that
/// appears throughout the operator code.
#[inline]pub(crate)fnbvec<T>(arena:&bumpalo::Bump, cap:usize)->bumpalo::collections::Vec<'_, T>{bumpalo::collections::Vec::with_capacity_in(cap, arena)}