summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Conftrack.Pretty: docs, more usable functionsstuebinm2024-07-261-8/+38
| | | | | this module is meant for convenience pretty-printing functions and as an illustration of how to deal with the more low-level runFetchConfig
* document publicly exposed interfacestuebinm2024-07-216-10/+205
| | | | | | this documents most functions that might be used by downstream consumers of this library, except for those in Conftrack.Pretty, which aren't done yet.
* cabal: add package informationstuebinm2024-07-101-3/+18
|
* handle partially present optional nestingsstuebinm2024-07-102-17/+65
| | | | | | | | these would previously silently fail and simply produce a Nothing if only some (but not all) of the nested keys were present. This is not reasonable behaviour that anyone would expect; whenever a nested key is present, absence of another should be an error (the same goes for any other errors in that key's definition).
* add version boundsstuebinm2024-07-041-11/+11
| | | | | | these were generated via cabal gen-bounds and should hopefully suffice. For use as an actual library, there'll probably need to be some CPP things to deal with the file-path, file-io & os-string packages though …
* fix a couple warningsstuebinm2024-07-044-20/+19
|
* pretty-printing of config value sourcesstuebinm2024-06-104-10/+75
|
* add an env variable sourcestuebinm2024-06-103-18/+93
|
* quasi-quotes for config keysstuebinm2024-06-084-5/+27
|
* nested configs which are optionalstuebinm2024-06-071-0/+12
|
* the Config interface should be Applicative, not Monadstuebinm2024-06-072-48/+94
| | | | | this allows for safer alternative uses for it, such as running it on an empty list of config sources to just get the list of keys it uses.
* allow for non-required config optionsstuebinm2024-06-072-7/+23
|
* add yaml sourcestuebinm2024-06-065-3/+51
|
* nested values, tests, and aesonstuebinm2024-06-068-79/+331
|
* a generic, multi-source config interfacestuebinm2024-05-227-0/+278