servant-shared.cabal 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. cabal-version: 2.4
  2. -- `cabal-version` MUST match the version bundled with stack.
  3. -- run `stack exec -- cabal --version` to find out
  4. name: servant-shared
  5. version: 0.1.0.0
  6. homepage: https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Haskell/servant/servant-shared
  7. license: BSD-3-Clause
  8. author: Julian K. Arni
  9. maintainer: [email protected]
  10. -- copyright:
  11. category: Web
  12. build-type: Simple
  13. extra-source-files: README.md
  14. common deps
  15. hs-source-dirs: src
  16. other-modules: Lib, MIME
  17. default-language: Haskell2010
  18. ghc-options: -Wall -threaded -rtsopts -O2 -funbox-strict-fields
  19. build-depends: base >=4.8
  20. , servant >= 0.7
  21. , servant-server >= 0.7
  22. , type-of-html
  23. , buffer-builder
  24. , bytestring >= 0.10.6
  25. , mwc-random >= 0.13
  26. , warp >= 3.2
  27. , transformers
  28. , text >= 1.2
  29. , http-media >= 0.6
  30. executable servant-hasql
  31. import: deps
  32. main-is:
  33. Main.hs
  34. build-depends:
  35. tfb-types
  36. , tfb-hasql
  37. executable servant-mysql-haskell
  38. import: deps
  39. main-is:
  40. Main.hs
  41. build-depends:
  42. tfb-types
  43. , tfb-mysql-haskell
  44. executable servant-postgres-wire
  45. import: deps
  46. main-is:
  47. Main.hs
  48. build-depends:
  49. tfb-types
  50. , tfb-postgres-wire