packages feed

mysnapsession-0.1: mysnapsession.cabal

Name:                mysnapsession
Version:             0.1
Synopsis:            Memory-backed sessions and continuations for Snap web apps
Description:         This package provides two Snap extensions.  The first is
                     an in-memory session manager, which stores sessions for
                     each client.  The session object type is user-defined.
                     Because sessions are memory-backed, sticky session routing
                     is needed to use this extension with load balancing.
                     .
                     The second extension provides a continuation-based
                     programming model called dialogues, which allow natural
                     specification of stateful interactions with the client
                     that span multiple requests.
License:             BSD3
License-file:        LICENSE
Author:              Chris Smith <cdsmith@gmail.com>
Maintainer:          Chris Smith <cdsmith@gmail.com>
Stability:           Experimental
Category:            Web
Build-type:          Simple
Cabal-version:       >=1.6

Library
  Hs-source-dirs: src
  Build-depends:
    base == 4.*,
    bytestring >= 0.9.1 && < 0.10,
    heist == 0.4.*,
    hexpat == 0.19.*,
    MonadCatchIO-transformers >= 0.2.1 && < 0.3,
    mtl == 2.*,
    snap == 0.3.*,
    snap-core == 0.3.*,
    snap-server == 0.3.*,
    text == 0.11.*,
    time >= 1.1 && < 1.3,
    random == 1.0.*,
    containers == 0.3.*,
    regex-posix == 0.94.*
  Exposed-modules: Snap.Extension.Session,
                   Snap.Extension.Session.Memory,
                   Snap.Extension.SessionUtil,
                   Snap.Extension.Dialogues

  Ghc-options: -Wall -fwarn-tabs -funbox-strict-fields