pueue-top-core 0.1.0

Placeholder core library for a future terminal monitor for Pueue.
Documentation
//! Placeholder core library for future `pueue-top` internals.

/// Returns the package name for this placeholder crate.
#[must_use]
pub const fn package_name() -> &'static str {
    env!("CARGO_PKG_NAME")
}

/// Returns the current placeholder status message.
#[must_use]
pub const fn status() -> &'static str {
    "pueue-top-core is reserved for future Pueue terminal monitor internals."
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn exposes_placeholder_metadata() {
        assert_eq!(package_name(), "pueue-top-core");
        assert!(status().contains("reserved"));
    }
}