packages feed

strelka-1: strelka.cabal

name:
  strelka
version:
  1
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 some state.
  As simple as that.
  This library exploits that fact to produce a very simple and flexible API,
  which can then be used on top of any server implementation.
  .
  [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.RequestParser
    Strelka.RequestBodyConsumer
    Strelka.ResponseBuilder
    Strelka.ResponseBodyBuilder
  other-modules:
    Strelka.Prelude
    Strelka.HTTPAuthorizationParser
  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:
    -- 
    strelka-core == 0.1.*,
    -- codecs:
    base64-bytestring == 1.*,
    -- parsing:
    attoparsec >= 0.13 && < 0.14,
    http-media >= 0.6.4 && < 0.7,
    -- 
    bytestring >= 0.10.8 && < 0.11,
    text >= 1 && < 2,
    unordered-containers >= 0.2 && < 0.3,
    hashable == 1.*,
    -- 
    bifunctors == 5.*,
    semigroups >= 0.18 && < 0.19,
    mtl == 2.*,
    transformers >= 0.4 && < 0.6,
    base-prelude < 2,
    base < 5