fionn_core/lib.rs
1// SPDX-License-Identifier: MIT OR Apache-2.0
2//! Core types, error handling, and foundational types for fionn
3//!
4//! This crate provides the foundational types used across the fionn ecosystem:
5//!
6//! - [`error`] - Error types and Result alias
7//! - [`path`] - JSON path parsing utilities
8//! - [`schema`] - Schema-based filtering
9//! - [`value`] - Operation value types
10//! - [`dson_traits`] - DSON trait abstractions
11
12#![deny(missing_docs)]
13#![deny(rust_2018_idioms)]
14#![deny(clippy::pedantic)]
15#![deny(clippy::nursery)]
16#![deny(clippy::cargo)]
17
18/// Error types for fionn operations
19pub mod error;
20/// Core operation types
21pub mod operations;
22/// JSON path parsing utilities with SIMD acceleration
23pub mod path;
24/// Schema-based filtering for DOMless processing
25pub mod schema;
26/// Operation value types for DSON operations
27pub mod value;
28// Re-exports for convenience
29pub use error::{DsonError, Result};
30pub use operations::{DsonOperation, MergeStrategy};
31pub use path::{
32 ParsedPath, PathCache, PathComponent, PathComponentRange, PathComponentRef, parse_simd,
33 parse_simd_ref_into,
34};
35pub use schema::{CompiledSchema, MatchType, SchemaFilter, SchemaPattern};
36pub use value::OperationValue;