summaryrefslogtreecommitdiffstats
path: root/src/configs/singularity.rs
AgeCommit message (Collapse)Author
2022-09-09feat(schema): deny unknown keys (#4270)David Knaack
2022-04-01feat: allow printing config file schema (#3737)David Knaack
2022-03-26refactor: replace module_config_derive with serde (#3786)David Knaack
* refactor: replace module_config_derive with serde Changes include: * Removing `starship_module_config_derive` and replacing it with `serde::Deserialize` * Removing `RootModuleConfig::load_config`. While potentially useful, it was only used in tests. And it would require something like `serde::DeserializeSeed` which is not derived by serde. * Merging `RootModuleConfig` into `ModuleConfig` * Implementing a `ValueDeserializer` that holds a reference to a `toml::Value` in `serde_utils.rs` * Deserialization errors (invalid type) are now logged and include the current key and the struct names * Unknown keys are now considered an error. "Did you mean?"-messages are still possible * fix typo Co-authored-by: Matan Kushner <hello@matchai.dev> Co-authored-by: Matan Kushner <hello@matchai.dev>
2021-03-31feat(config): allow printing default and computed config (#2521)David Knaack
* feat: allow printing default and computed config * fix custom modules * actually fix custom modules
2021-03-15refactor: replace RootModuleConfig with Default (#2458)David Knaack
2020-07-07feat: refactor modules to use format strings (#1374)Zhenhui Xie
2020-02-26feat: add singularity module (#932)Tadej Novak