pml 0.6.1

A parser for PML, just another format to specify your configs in
Documentation
use core::fmt::Display;
use crate::Element::{self, PmlStruct, PmlString, PmlBool, PmlI128, PmlI64, PmlI32, PmlI16, PmlI8, PmlU128, PmlU64, PmlU32, PmlU16, PmlU8, PmlF64, PmlF32, PmlArray};
use std::fmt::{Formatter, Result};

impl Display for Element {
    fn fmt(&self, f: &mut Formatter<'_>) -> Result {
        match self {
            PmlString(s) => write!(f, "{s}"),
            PmlBool(b) => write!(f, "{b}"),
            PmlI128(i) => write!(f, "{i}"),
            PmlI64(i) => write!(f, "{i}"),
            PmlI32(i) => write!(f, "{i}"),
            PmlI16(i) => write!(f, "{i}"),
            PmlI8(i) => write!(f, "{i}"),
            PmlU128(u) => write!(f, "{u}"),
            PmlU64(u) => write!(f, "{u}"),
            PmlU32(u) => write!(f, "{u}"),
            PmlU16(u) => write!(f, "{u}"),
            PmlU8(u) => write!(f, "{u}"),
            PmlF64(n) => write!(f, "{n}"),
            PmlF32(n) => write!(f, "{n}"),
            PmlStruct(_) |
            PmlArray(_) => write!(f, ""),
        }
    }
}