//! Minimal runnable demonstration of `assert_no_dev_identity_in_production`.
//!
//! Build & run:
//!
//! ```sh
//! # Safe: staging with dev identity -> Ok, prints "boot check passed".
//! APP_ENV=staging cargo run --example production_boot -p secure_identity
//!
//! # Unsafe: production with dev identity -> panics at boot.
//! APP_ENV=production cargo run --example production_boot -p secure_identity
//!
//! # Safe: production without dev identity -> Ok.
//! APP_ENV=production HAS_DEV_SOURCE=false cargo run --example production_boot -p secure_identity
//! ```
//!
//! In a real service this check runs once inside `main()` (or your
//! service-initialiser) before any request-handling code starts.
use assert_no_dev_identity_in_production;