packages feed

salak-0.3.6: salak.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: f4e41d3d319929758bdec6b6e98dab0a80e8425760da0659ab8d1b56f45ecb58

name:           salak
version:        0.3.6
synopsis:       Configuration (re)Loader and Parser.
description:    This library defines a universal procedure to load configurations and parse properties, also supports reload configuration files.
category:       Library, Configuration
homepage:       https://github.com/leptonyu/salak#readme
author:         Daniel YU
maintainer:     Daniel YU <leptonyu@gmail.com>
copyright:      2019 Daniel YU
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

library
  exposed-modules:
      Salak
      Salak.Trie
      Salak.Internal
  other-modules:
      Salak.Internal.Key
      Salak.Internal.Val
      Salak.Internal.Source
      Salak.Internal.Prop
      Salak.Internal.Writable
  hs-source-dirs:
      src
  default-extensions: BangPatterns CPP DefaultSignatures DeriveFunctor DeriveGeneric FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses NoOverloadedLists OverloadedStrings RankNTypes RecordWildCards ScopedTypeVariables TupleSections TypeOperators
  ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
  build-depends:
      base >=4.9 && <5
    , bytestring >=0.10.8 && <0.11
    , containers >=0.6.0 && <0.7
    , data-default >=0.7.1 && <0.8
    , directory >=1.3.3 && <1.4
    , dlist >=0.8.0 && <0.9
    , exceptions >=0.10.2 && <0.11
    , filepath >=1.4.2 && <1.5
    , hashable >=1.2.7.0 && <1.4
    , heaps >=0.3.6 && <0.4
    , megaparsec >=7.0.5 && <8.1
    , mtl >=2.2.2 && <2.3
    , scientific >=0.3.6 && <0.4
    , text >=1.2.3 && <1.3
    , time >=1.8.0 && <1.10
    , unliftio-core >=0.1.2 && <0.3
    , unordered-containers >=0.2.10 && <0.3
  default-language: Haskell2010

test-suite salak-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Salak.Internal.KeySpec
      Salak.Internal.PropSpec
      Salak.Internal.SourceSpec
      Salak.TrieSpec
      Paths_salak
  hs-source-dirs:
      test
  default-extensions: BangPatterns CPP DefaultSignatures DeriveFunctor DeriveGeneric FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses NoOverloadedLists OverloadedStrings RankNTypes RecordWildCards ScopedTypeVariables TupleSections TypeOperators
  ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures -rtsopts -threaded -with-rtsopts=-K1K
  build-depends:
      QuickCheck <2.14
    , base >=4.9 && <5
    , hspec ==2.*
    , mtl >=2.2.2 && <2.3
    , random
    , salak
    , scientific
    , text >=1.2.3 && <1.3
    , unordered-containers
  default-language: Haskell2010
  build-tool-depends: hspec-discover:hspec-discover

benchmark salak-bench
  type: exitcode-stdio-1.0
  main-is: SalakBench.hs
  other-modules:
      Paths_salak
  hs-source-dirs:
      bench
  default-extensions: BangPatterns CPP DefaultSignatures DeriveFunctor DeriveGeneric FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses NoOverloadedLists OverloadedStrings RankNTypes RecordWildCards ScopedTypeVariables TupleSections TypeOperators
  ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures -rtsopts -threaded -with-rtsopts=-K1K
  build-depends:
      base >=4.9 && <5
    , criterion
    , data-default
    , mtl >=2.2.2 && <2.3
    , salak
    , text >=1.2.3 && <1.3
    , time
  default-language: Haskell2010