hyperi-rustlib 2.8.1

There's plenty of sage advice out there about how to run Rust services in production at scale — config cascades, structured logging, masking secrets, multi-backend secrets management, Prometheus, OpenTelemetry, Kafka transports, tiered disk-spillover sinks, adaptive worker pools, graceful shutdown — but almost none of it as code you can just install and use. This is that code. Opinionated, drop-in, working out of the box. The patterns from blog posts, watercooler chats and beers with your Google mates as actual library — not a framework you assemble from twenty crates and 8 weeks of munging.
Documentation
// Project:   hyperi-rustlib
// File:      tests/smoke.rs
// Purpose:   Startup smoke test — catches init panics before production
// Language:  Rust
//
// License:   BUSL-1.1
// Copyright: (c) 2026 HYPERI PTY LIMITED

//! Startup smoke test.
//!
//! Highest-value single test: catches init panics, missing defaults,
//! broken dependency wiring. Runs on every push.

#[test]
fn smoke_env_detection() {
    let env = hyperi_rustlib::env::Environment::detect();
    assert!(
        !format!("{env:?}").is_empty(),
        "environment detection must return a valid variant"
    );
}

#[test]
fn smoke_runtime_paths() {
    let paths = hyperi_rustlib::runtime::RuntimePaths::discover();
    assert!(
        !paths.data_dir.as_os_str().is_empty(),
        "runtime data_dir must be non-empty"
    );
}