name: snaplet-mongodb-minimalistic version: 0.0.2 synopsis: Minimalistic MongoDB Snaplet. description: Minimalistic MongoDB Snaplet. license: BSD3 license-file: LICENSE author: Petr Pilaƙ maintainer: the.palmik+maintainer@gmail.com build-type: Simple cabal-version: >= 1.6 homepage: https://github.com/Palmik/snaplet-mongodb-minimalistic category: Web Flag development Description: Whether to build the server in development (interpreted) mode Default: False Library hs-source-dirs: src Exposed-modules: Snap.Snaplet.MongoDB, Snap.Snaplet.MongoDB.Core, Snap.Snaplet.MongoDB.Functions Build-depends: base >= 4 && < 5, mtl >= 2 && < 3, snap == 0.7.*, snap-core == 0.7.*, text >= 0.11 && < 0.12, mongoDB >= 1.1.1 && < 1.2.0 if flag(development) cpp-options: -DDEVELOPMENT -- In development mode, speed is already going to suffer, so skip -- the fancy optimization flags. Additionally, disable all -- warnings. The hint library doesn't give an option to execute -- compiled code when there were also warnings, so disabling -- warnings allows quicker workflow. ghc-options: -w else if impl(ghc >= 6.12.0) ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -fno-warn-orphans -fno-warn-unused-do-bind else ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -fno-warn-orphans