euv-cli 0.16.0

The official CLI tool for the euv UI framework, providing dev/release profiles with run/build modes, hot reload, and wasm-pack integration.
Documentation
use super::*;

/// A serializable bag of preserved state entries.
///
/// Each entry is a `(key, value)` string pair. The
/// caller is responsible for serializing non-string
/// values (numbers, booleans, etc.) to strings before
/// insertion.
///
/// # Wire format
///
/// ```json
/// {"entries": {"k1": "v1", "k2": "v2"}}
/// ```
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct HmrState {
    /// The preserved entries, keyed by name.
    pub(crate) entries: HashMap<String, String>,
}