cedarling 0.0.41

The Cedarling: a high-performance local authorization service powered by the Rust Cedar Engine.
Documentation
// This software is available under the Apache-2.0 license.
// See https://www.apache.org/licenses/LICENSE-2.0.txt for full text.
//
// Copyright (c) 2024, Gluu, Inc.

//! # Data Store Module
//!
//! Provides key-value storage for pushed data with TTL support, capacity management,
//! and thread-safe concurrent access.
//!
//! ## Value Mapping
//!
//! The [`CedarValueMapper`] provides bidirectional conversion between JSON and Cedar values,
//! supporting all Cedar data types including extension types (IP addresses, decimals).

mod api;
mod config;
mod entry;
mod error;
mod mapper;
mod store;
mod validation;

pub use api::{DataApi, DataStoreStats};
pub use config::{ConfigValidationError, DataStoreConfig};
pub use entry::{CedarType, DataEntry};
pub use error::{DataError, ValidationError, ValueMappingError};
pub use mapper::{CedarValueMapper, ExtensionValue};
pub(crate) use store::DataStore;
pub use validation::{DataValidator, ValidationConfig, ValidationResult};