oxcache 0.3.7

A high-performance multi-level cache library for Rust with L1 (memory) and L2 (Redis) caching.
1
2
3
4
5
6
7
8
9
10
// Copyright (c) 2025-2026 Kirky.X
// SPDX-License-Identifier: MIT
//! Infrastructure impl - functions extracted from mod.rs

use crate::error::OxCacheError;

/// Validate cache key format
pub fn validate_cache_key(key: &str) -> Result<(), OxCacheError> {
    crate::utils::key_generator::KeyGenerator::new().validate_key(key)
}