// ---------------- [ File: bitcoin-mem/src/impl_recursive_dynamic_usage_for_primitive.rs ]
crateix!;
// ---------------- dynamic_usage.rs (additions) ----------------
// Blanket‑free leaf implementations so that primitive values and common
// containers can participate in recursive accounting without requiring
// specialisation.
//
// NOTE: we intentionally restrict ourselves to concrete types (no blanket
// impl for all `T: DynamicUsage`) to avoid coherence overlap with `Arc<T>`,
// `Amo<T>`, `Option<T>`, etc.
// ---- 1. Primitive numeric leaves -----------------------------------------
impl_recursive_for_primitive!;
// ---- 2. Vec<T> (shallow) ---------------------------------------------------