packages feed

settei-formats-0.2.0.0: settei-formats.cabal

cabal-version:   3.8
name:            settei-formats
version:         0.2.0.0
synopsis:        Tagged multi-format configuration loading for Settei
description:
  Parse tagged FORMAT:PATH configuration inputs and load them through the
  Settei YAML, KDL, and Dhall adapters with one shared dispatcher, so
  multi-format applications stop hand-rolling the same reader and loader.

homepage:        https://github.com/shinzui/settei
bug-reports:     https://github.com/shinzui/settei/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          shinzui
maintainer:      shinzui
category:        Configuration
build-type:      Simple
tested-with:     GHC ==9.12.4
extra-doc-files: CHANGELOG.md
data-files:
  test/fixtures/*.dhall
  test/fixtures/*.kdl
  test/fixtures/*.yaml

source-repository head
  type:     git
  location: https://github.com/shinzui/settei.git

common common
  default-language:   GHC2024
  default-extensions:
    DeriveAnyClass
    DuplicateRecordFields
    OverloadedLabels
    OverloadedStrings

  ghc-options:        -Wall -Wcompat

library
  import:          common
  hs-source-dirs:  src
  exposed-modules:
    Settei.Formats
    Settei.Formats.Optparse

  build-depends:
    , base                         >=4.21    && <5
    , containers                   >=0.6.8   && <0.8
    , generic-lens                 >=2.2     && <2.4
    , optparse-applicative         >=0.19    && <0.20
    , settei                       ==0.2.0.0
    , settei-dhall                 ==0.2.0.0
    , settei-kdl                   ==0.2.0.0
    , settei-optparse-applicative  ==0.2.0.0
    , settei-yaml                  ==0.2.0.0
    , text                         >=2.1     && <2.2

test-suite settei-formats-tests
  import:          common
  type:            exitcode-stdio-1.0
  hs-source-dirs:  test
  main-is:         Main.hs
  other-modules:
    Paths_settei_formats
    Settei.FormatsOptparseTest
    Settei.FormatsTest

  autogen-modules: Paths_settei_formats
  build-depends:
    , base                  >=4.21    && <5
    , containers            >=0.6.8   && <0.8
    , generic-lens          >=2.2     && <2.4
    , optparse-applicative  >=0.19    && <0.20
    , settei                ==0.2.0.0
    , settei-dhall          ==0.2.0.0
    , settei-formats        ==0.2.0.0
    , settei-kdl            ==0.2.0.0
    , settei-yaml           ==0.2.0.0
    , tasty                 >=1.5     && <1.6
    , tasty-hunit           >=0.10.2  && <0.11
    , text                  >=2.1     && <2.2