qubit-dcl 0.1.0

Reusable double-checked lock executor for Rust lock abstractions
Documentation
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026.
 *    Haixing Hu, Qubit Co. Ltd.
 *
 *    All rights reserved.
 *
 ******************************************************************************/
//! # Double-Checked Lock Executor
//!
//! Provides a double-checked lock executor for executing tasks with condition
//! checking and prepare lifecycle support.
//!
//! # Author
//!
//! Haixing Hu

pub mod double_checked_lock;
pub mod double_checked_lock_executor;
pub mod execution_context;
pub mod execution_logger;
pub mod execution_result;
pub mod executor_builder;
pub mod executor_config;
pub mod executor_error;
pub mod executor_lock_builder;
pub mod executor_ready_builder;

pub use double_checked_lock::{
    DoubleCheckedLock,
    DoubleCheckedLockLockBuilder,
    DoubleCheckedLockReadyBuilder,
};
pub use double_checked_lock_executor::DoubleCheckedLockExecutor;
pub use execution_context::ExecutionContext;
pub use execution_logger::ExecutionLogger;
pub use execution_result::ExecutionResult;
pub use executor_builder::ExecutorBuilder;
pub use executor_config::ExecutorConfig;
pub use executor_error::ExecutorError;
pub use executor_lock_builder::ExecutorLockBuilder;
pub use executor_ready_builder::ExecutorReadyBuilder;