AttoBencode / AttoBencode.cabal

Name:                AttoBencode
Version:             0.2.0.1
Synopsis:            Fast Bencode encoding and parsing library
Homepage:            http://bitbucket.org/FlorianHartwig/attobencode
License:             BSD3
License-file:        LICENSE
Author:              Florian Hartwig <florian.j.hartwig@gmail.com>
Maintainer:          Florian Hartwig <florian.j.hartwig@gmail.com>
Category:            Data
Build-type:          Simple
Cabal-version:       >=1.8
Description:
    A library for encoding and decoding the Bencode data serialisation format
    used by BitTorrent. The focus of this library are good performance (good
    enough to be used in a BitTorrent client) and ease of
    use.

Library
  Exposed-modules:
    Data.AttoBencode,
    Data.AttoBencode.Parser
  
  Other-modules:
    Data.AttoBencode.Encode,
    Data.AttoBencode.Types

  Build-depends:
    attoparsec,
    base == 4.*,
    blaze-builder,
    blaze-textual,
    bytestring,
    containers
  
  Ghc-options: -O2 -Wall 
  Hs-source-dirs: src

Test-suite tests
  Type:           exitcode-stdio-1.0
  Hs-source-dirs: tests
  Main-is:        qc.hs
  Build-depends:  AttoBencode,
                  base == 4.*, 
                  bytestring,
                  containers,
                  test-framework,
                  test-framework-quickcheck2,
                  QuickCheck >= 2.4 && < 2.6

source-repository head
  Type: mercurial
  Location: https://bitbucket.org/FlorianHartwig/attobencode
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.