//! Profile database loading — one-time initialization of the built-in profile DB.
//!
//! This module owns the [`OnceLock`] that initializes [`ProfileDb::load_builtin`]
//! exactly once. All decoding entry points in the pipeline use [`get_db`] to
//! access the database and [`fallback_jpeg_profile`] to construct a fallback
//! encoding profile for JPEG streams whose prefix is unknown.
use crate;
use crateProfileDb;
use OnceLock;
/// Global profile database, initialized on first access.
static PROFILE_DB: = new;
/// Returns a reference to the global profile database, loading it on first call.
pub
/// Creates a fallback profile for JPEG files that have no matching entry in
/// the profile database.
pub