packages feed

bson-0.1.7: bson.cabal

Name: bson
Version: 0.1.7
Synopsis: BSON documents are JSON-like objects with a standard binary encoding
Description: A BSON Document is an untyped (dynamically type-checked) record. I.e. it is a list of name-value pairs, where a Value is a single sum type with constructors for basic types (Bool, Int, Float, String, and Time), compound types (List, and (embedded) Document), and special types (Binary, Javascript, ObjectId, RegEx, and a few others).
	.
	A BSON Document is serialized to a standard binary encoding defined at <http://bsonspec.org>. This implements version 1 of that spec.

Category: Data
Homepage: http://github.com/TonyGen/bson-haskell
Author: Tony Hannan
Maintainer: Tony Hannan <tonyhannan@gmail.com>
Copyright: Copyright (c) 2010-2012 10gen Inc.
License: OtherLicense
License-file: LICENSE
cabal-version: >= 1.8
build-type: Simple

Library
    Build-Depends: base < 5,
                   time,
                   bytestring,
                   network,
                   cryptohash,
                   binary,
                   data-binary-ieee754,
                   compact-string-fix,
                   mtl >= 2

    Exposed-modules: Data.UString,
                     Data.Bson,
                     Data.Bson.Binary

    ghc-prof-options: -auto-all

test-suite test
    type:          exitcode-stdio-1.0
    main-is:       main.hs
    hs-source-dirs: test, .

    build-depends:   HUnit
                   , hspec >= 0.6.1 && < 0.7
                   , file-location >= 0.4 && < 0.5
                   , base >= 4 && < 5
                   , bson
                   , QuickCheck == 2.4.*

                   , mtl >= 2
                   , network
                   , cryptohash
                   , bytestring
                   , time
                   , data-binary-ieee754
                   , compact-string-fix
                   , file-location

    cpp-options:   -DTEST