1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
// Enum iteration workaround use strum::EnumIter; /** An enum representing the file extention accepted/recognized by pipelight */ #[derive(Default, Debug, Clone, PartialEq, PartialOrd, EnumIter, Eq, Ord)] pub enum FileType { #[default] // Programming Languages TypeScript, JavaScript, Json, // Best file formats Toml, Tml, // Kdl, // New gen proprietary file formats // Apple configuration as code // Pkl, // Hashicorp configuration language Hcl, // Worst file formats Yaml, Yml, }