dbnexus 0.4.0

An enterprise-grade database abstraction layer for Rust with built-in permission control and connection pooling
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2026 Kirky.X
// SPDX-License-Identifier: MIT
//! 安全模块
//!
//! 提供数据库操作的安全验证功能。

#[cfg(feature = "sql-parser")]
mod ddl_guard;
mod sensitive;

#[cfg(feature = "sql-parser")]
pub use ddl_guard::{DdlGuard, DdlValidationResult};
pub use sensitive::{MaskType, SensitiveError, SensitiveMasker, SensitiveResult};