summaryrefslogtreecommitdiff
path: root/strelka.cabal
blob: c40b9544a08f18260855f9c49ab14e22c63a7d77 (plain)
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
78
name: strelka
version: 2.0.5
category: Web
synopsis: A simple, flexible and composable web-router
description:
  An HTTP server can be defined as a request parser, which produces a response,
  while managing the application state.
  As simple as that.
  This library exploits that fact to produce a very simple and flexible API,
  which can be executed on top of any specific HTTP-server implementation (e.g., Warp).
  .
  [Library Structure]
  The API is split into a set of DSLs targeted at solving specific problems in isolation,
  thus facilitating a proper separation of concerns.
  .
  [Server Bindings]
  Currently only a binding to WAI and Warp is known:
  <http://hackage.haskell.org/package/strelka-wai>.
  .
  [Demo]
  For a thorough demonstration of the library and suggested usage patterns
  check out the following project:
  <https://github.com/nikita-volkov/strelka-demo>.
homepage: https://github.com/nikita-volkov/strelka
bug-reports: https://github.com/nikita-volkov/strelka/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2016, Nikita Volkov
license: MIT
license-file: LICENSE
build-type: Simple
cabal-version: >=1.10

source-repository head
  type: git
  location: git://github.com/nikita-volkov/strelka.git

library
  hs-source-dirs: library
  exposed-modules:
    Strelka.ParamsParsing
    Strelka.RequestBodyParsing
    Strelka.RequestParsing
    Strelka.ResponseBodyBuilding
    Strelka.ResponseBuilding
  other-modules:
    Strelka.HTTPAuthorizationParsing
    Strelka.ParamsParsing.DefaultValue
    Strelka.ParamsParsing.Params
    Strelka.ParamsParsing.Value
    Strelka.Prelude
    Strelka.RequestBodyParsing.DefaultParser
    Strelka.RequestBodyParsing.Parser
    Strelka.ResponseBodyBuilding.Builder
  default-extensions: Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
  default-language: Haskell2010
  build-depends:
    attoparsec >=0.13 && <0.14,
    attoparsec-data >=1.0.4 && <1.1,
    base <5,
    base-prelude <2,
    base64-bytestring == 1.*,
    bifunctors == 5.*,
    bytestring >=0.10.8 && <0.11,
    bytestring-tree-builder == 0.2.*,
    hashable == 1.*,
    http-media >=0.6.4 && <0.9,
    mtl == 2.*,
    scientific == 0.3.*,
    semigroups >=0.18 && <0.19,
    strelka-core == 0.3.*,
    text >=1 && <2,
    text-builder == 0.6.*,
    time == 1.*,
    transformers >=0.4 && <0.6,
    unordered-containers >=0.2 && <0.3,
    url-decoders == 0.2.*,
    uuid >= 1.3 && < 2