2019-05-01 20:12:50 +03:00
|
|
|
name: Hydra
|
|
|
|
version: 1.0.0.0
|
|
|
|
github: "graninas/Hydra"
|
|
|
|
license: BSD3
|
|
|
|
author: "Alexander Granin"
|
|
|
|
maintainer: "graninas@gmail.com"
|
|
|
|
copyright: "Granin A.S. 2019"
|
|
|
|
|
|
|
|
description:
|
|
|
|
Hydra is the project that allows to build multithreaded concurrent applications.
|
2019-09-10 22:08:33 +03:00
|
|
|
Hydra is initially based on the Hydra.Framework.
|
2019-05-01 20:12:50 +03:00
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
- NoImplicitPrelude
|
|
|
|
- GADTs
|
|
|
|
- RankNTypes
|
|
|
|
- DeriveFunctor
|
|
|
|
- DeriveGeneric
|
|
|
|
- OverloadedStrings
|
|
|
|
- LambdaCase
|
|
|
|
- MultiParamTypeClasses
|
|
|
|
- ExplicitNamespaces
|
|
|
|
- TypeApplications
|
|
|
|
- ScopedTypeVariables
|
|
|
|
- TypeOperators
|
|
|
|
- TypeFamilies
|
|
|
|
- DataKinds
|
|
|
|
- FlexibleContexts
|
|
|
|
- FlexibleInstances
|
|
|
|
- PatternSynonyms
|
|
|
|
- PolyKinds
|
|
|
|
- DefaultSignatures
|
|
|
|
- ConstraintKinds
|
|
|
|
- NamedFieldPuns
|
|
|
|
- TupleSections
|
|
|
|
- ViewPatterns
|
|
|
|
- MultiWayIf
|
2019-11-07 20:05:16 +03:00
|
|
|
- RecordWildCards
|
2019-05-01 20:12:50 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
|
|
|
- bytestring
|
|
|
|
- time-units
|
|
|
|
- network
|
|
|
|
- aeson
|
|
|
|
- aeson-pretty
|
|
|
|
- cereal
|
|
|
|
- mtl
|
|
|
|
- cryptonite
|
|
|
|
- base16-bytestring
|
|
|
|
- base58-bytestring
|
|
|
|
- base64-bytestring
|
|
|
|
- arithmoi
|
|
|
|
- directory
|
|
|
|
- filepath
|
|
|
|
- process
|
|
|
|
- extra
|
|
|
|
- time
|
|
|
|
- clock
|
|
|
|
- vector
|
|
|
|
- scientific
|
|
|
|
- containers
|
|
|
|
- random
|
|
|
|
- free
|
|
|
|
- iproute
|
|
|
|
- memory
|
|
|
|
- transformers
|
|
|
|
- template-haskell
|
|
|
|
- async
|
|
|
|
- text
|
|
|
|
- haskeline
|
|
|
|
- cryptohash-sha256
|
|
|
|
- bytestring-conversion
|
|
|
|
- newtype-generics
|
|
|
|
- lens
|
|
|
|
- universum
|
|
|
|
- fmt
|
|
|
|
- stm
|
|
|
|
- hslogger
|
|
|
|
- lens-aeson
|
|
|
|
- th-abstraction
|
|
|
|
- MonadRandom
|
|
|
|
- entropy
|
|
|
|
- validation
|
|
|
|
- silently
|
|
|
|
- uuid
|
|
|
|
- resourcet
|
|
|
|
- triplesec
|
|
|
|
- yaml
|
|
|
|
- hspec
|
|
|
|
- HUnit
|
|
|
|
- QuickCheck
|
|
|
|
- hspec-contrib
|
|
|
|
- newtype-generics
|
|
|
|
- regex-posix
|
|
|
|
- safe-exceptions
|
2019-05-17 20:15:55 +03:00
|
|
|
- unliftio
|
2019-05-18 11:59:22 +03:00
|
|
|
- unliftio-core
|
2019-08-06 22:03:56 +03:00
|
|
|
- rocksdb-haskell
|
2019-09-13 21:41:21 +03:00
|
|
|
- hedis
|
2019-10-01 00:14:11 +03:00
|
|
|
- beam-core
|
|
|
|
- beam-postgres
|
|
|
|
- beam-sqlite
|
|
|
|
- beam-migrate
|
|
|
|
- sqlite-simple
|
2019-11-03 01:44:36 +03:00
|
|
|
- resource-pool
|
2019-11-07 20:05:16 +03:00
|
|
|
- servant
|
|
|
|
- servant-server
|
|
|
|
- servant-client
|
|
|
|
- servant-swagger
|
|
|
|
- servant-docs
|
|
|
|
- wai
|
|
|
|
- warp
|
2020-02-07 16:02:20 +03:00
|
|
|
- http-client
|
|
|
|
- http-client-tls
|
2020-02-29 21:24:17 +03:00
|
|
|
- data-default
|
2020-03-01 18:26:06 +03:00
|
|
|
- generic-lens
|
2019-05-01 20:12:50 +03:00
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs:
|
|
|
|
- src
|
|
|
|
ghc-options:
|
|
|
|
- -Wall
|
|
|
|
|
|
|
|
executables:
|
2019-05-15 22:12:08 +03:00
|
|
|
perf-test-app:
|
2019-05-01 20:12:50 +03:00
|
|
|
main: Main.hs
|
2019-05-15 22:12:08 +03:00
|
|
|
source-dirs: app/PerfTestApp
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
- -O2
|
|
|
|
dependencies:
|
|
|
|
- Hydra
|
2020-04-19 13:53:55 +03:00
|
|
|
|
2020-05-01 19:34:29 +03:00
|
|
|
perf-test-app2:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app/PerfTestApp2
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
- -O2
|
|
|
|
dependencies:
|
|
|
|
- Hydra
|
|
|
|
|
2019-05-17 11:19:51 +03:00
|
|
|
meteor-counter-app:
|
2019-05-15 22:12:08 +03:00
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app/MeteorCounter
|
2019-05-01 20:12:50 +03:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
- -O2
|
|
|
|
dependencies:
|
|
|
|
- Hydra
|
2020-04-19 13:53:55 +03:00
|
|
|
|
2019-08-08 12:12:21 +03:00
|
|
|
astro-app:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app/astro
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
- -O2
|
|
|
|
dependencies:
|
|
|
|
- Hydra
|
2020-04-19 13:53:55 +03:00
|
|
|
|
2020-04-12 15:15:59 +03:00
|
|
|
labyrinth:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app/labyrinth
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
# - -O2
|
|
|
|
dependencies:
|
|
|
|
- Hydra
|
2019-05-01 20:12:50 +03:00
|
|
|
|
|
|
|
|
|
|
|
tests:
|
|
|
|
functional-tests:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs:
|
|
|
|
- test/spec
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2020-04-19 13:53:55 +03:00
|
|
|
dependencies:
|
|
|
|
- Hydra
|