//! Database module (enabled with "database" feature)

#[cfg(feature = "database")]
pub mod database_impl {
    //! Database implementation placeholder

    /// Placeholder database service
    pub struct DatabaseService;

    impl DatabaseService {
        pub fn new() -> Self {
            Self
        }
    }
}

#[cfg(not(feature = "database"))]
pub mod database_impl {
    //! No-op implementation when database feature is disabled

    /// Disabled database service
    pub struct DatabaseService;

    impl DatabaseService {
        pub fn new() -> Self {
            Self
        }
    }
}

pub use database_impl::*;