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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
cabal-version: 3.4
name: conftrack
version: 0.0.1
synopsis: Tracable multi-source config management
category: Configuration
description:
A library for handling multiple config files and keep track of where
config values came from.
.
Config values can be read from json, yaml, or environment variables;
it is also possible to implement custom configuration sources via a
type class.
.
Provenance of config values is tracked while reading them; an application
using this library can easily print a listing detailing which files were
read and which file provided (or failed to provide) an individual value.
license: BSD-3-Clause
license-file: LICENSE
author: stuebinm
maintainer: stuebinm@disroot.org
-- copyright:
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
source-repository head
type: git
location: https://stuebinm.eu/git/conftrack
common warnings
ghc-options: -Wall
library
import: warnings
exposed-modules: Conftrack
, Conftrack.Value
, Conftrack.Pretty
, Conftrack.Source
, Conftrack.Source.Trivial
, Conftrack.Source.Aeson
, Conftrack.Source.Yaml
, Conftrack.Source.Env
-- other-modules:
-- other-extensions:
build-depends: base ^>=4.18
, text >= 2.0.2 && < 2.1
, bytestring >= 0.11.5 && < 0.12
, containers >= 0.6.7 && < 0.7
, mtl >= 2.3.1 && < 2.4
, transformers >= 0.6.1 && < 0.7
, aeson >= 2.2.2 && < 2.3
, yaml >= 0.11.11 && < 0.12
, scientific >= 0.3.8 && < 0.4
, filepath ^>= 1.4.100
, file-io >= 0.1.1 && < 0.2
, template-haskell >= 2.20.0 && < 2.21
, directory >= 1.3.8 && < 1.4
hs-source-dirs: src
default-language: GHC2021
test-suite conftrack-test
import: warnings
default-language: GHC2021
-- other-modules:
-- other-extensions:
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base ^>=4.18,
conftrack,
containers,
text,
aeson,
QuickCheck,
quickcheck-instances
|