cases-0.1.4.5: cases.cabal
cabal-version: 3.0
name: cases
version: 0.1.4.5
synopsis: A converter for spinal, snake and camel cases
description:
A parser-based converter library for spinal, snake and camel cases.
category: Text
homepage: https://github.com/nikita-volkov/cases
bug-reports: https://github.com/nikita-volkov/cases/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2014, Nikita Volkov
license: MIT
license-file: LICENSE
source-repository head
type: git
location: https://github.com/nikita-volkov/cases
common base
default-language: Haskell2010
default-extensions:
Arrows
BangPatterns
BlockArguments
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
LambdaCase
LiberalTypeSynonyms
MagicHash
MultiParamTypeClasses
MultiWayIf
NoImplicitPrelude
NoMonomorphismRestriction
OverloadedStrings
ParallelListComp
PatternGuards
QuasiQuotes
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
UnboxedTuples
library
import: base
hs-source-dirs: library
exposed-modules: Cases
other-modules: Cases.Prelude
build-depends:
attoparsec >=0.13 && <0.15,
base >=4.11 && <5,
text >=1 && <3,
test-suite api-tests
import: base
type: exitcode-stdio-1.0
hs-source-dirs: api-tests
main-is: Main.hs
ghc-options:
-threaded
-with-rtsopts=-N
build-depends:
cases,
hspec >=2.11 && <3,
rerebase >=1 && <2,
benchmark benchmark
import: base
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: Benchmark.hs
ghc-options:
-O2
-threaded
-with-rtsopts=-N
build-depends:
cases,
criterion >=1.6.3 && <2,
rerebase >=1 && <2,