hgame 0.26.4

CG production management structs, e.g. of assets, personnels, progress, etc.
Documentation
use super::*;
#[cfg(feature = "persistence")]
use serde::{Deserialize, Serialize};
use std::path::PathBuf;

// ----------------------------------------------------------------------------
#[derive(Debug, Clone, Default, PartialEq, strum::AsRefStr, strum::EnumIter)]
#[cfg_attr(feature = "persistence", derive(Serialize, Deserialize))]
#[repr(u8)]
pub enum Desktop {
    #[default]
    Direction = 2_u8.pow(0),
    Production = 2_u8.pow(1),
    Creation = 2_u8.pow(2),
    Submission = 2_u8.pow(3),
    Distribution = 2_u8.pow(4),
    Technician = 2_u8.pow(5),
}

#[derive(Debug, Clone, Default, PartialEq, strum::AsRefStr)]
#[cfg_attr(feature = "persistence", derive(Serialize, Deserialize))]
pub enum Workspace {
    #[default]
    Server,
    Local(HashMap<Project, Option<PathBuf>>),
}