Haxl/haxl.cabal

199 lines
3.9 KiB
Plaintext
Raw Normal View History

2014-06-03 19:10:54 +04:00
name: haxl
version: 2.3.0.0
2014-06-03 19:10:54 +04:00
synopsis: A Haskell library for efficient, concurrent,
and concise data access.
homepage: https://github.com/facebook/Haxl
bug-reports: https://github.com/facebook/Haxl/issues
license: BSD3
license-files: LICENSE
2014-06-03 19:10:54 +04:00
author: Facebook, Inc.
maintainer: The Haxl Team <haxl-team@fb.com>
copyright: Copyright (c) 2014-present, Facebook, Inc.
2014-06-03 19:10:54 +04:00
category: Concurrency
build-type: Simple
stability: alpha
cabal-version: >= 1.10
2016-02-09 16:52:47 +03:00
tested-with:
GHC==8.2.2,
GHC==8.4.4,
GHC==8.6.5,
GHC==8.8.3,
GHC==8.10.1
2014-06-03 19:10:54 +04:00
description:
Haxl is a library and EDSL for efficient scheduling of concurrent data
accesses with a concise applicative API.
.
To use Haxl, you need to implement one or more /data sources/, which
provide the means for accessing remote data or other I/O that you
want to perform using Haxl.
.
Haxl provides two top-level modules:
.
* /Data-source implementations/ import "Haxl.Core",
.
* /Client code/ import your data sources and "Haxl.Prelude", or some
other client-level API that you provide.
2014-06-03 19:10:54 +04:00
extra-source-files:
readme.md
tests/LoadCache.txt
changelog.md
2014-06-03 19:10:54 +04:00
library
build-depends:
aeson >= 0.6 && < 1.6,
base >= 4.10 && < 5,
binary >= 0.7 && < 0.10,
bytestring >= 0.9 && < 0.11,
containers >= 0.5 && < 0.7,
deepseq,
exceptions >=0.8 && <0.11,
filepath >= 1.3 && < 1.5,
ghc-prim,
hashable >= 1.2 && < 1.4,
hashtables >= 1.2.3.1,
2014-06-03 19:10:54 +04:00
pretty == 1.1.*,
-- text 1.2.1.0 required for instance Binary Text
text >= 1.2.1.0 && < 1.3,
time >= 1.4 && < 1.10,
stm >= 2.4 && < 2.6,
transformers,
2014-06-03 19:10:54 +04:00
unordered-containers == 0.2.*,
vector >= 0.10 && <0.13
2014-06-03 19:10:54 +04:00
exposed-modules:
Haxl.Core,
Haxl.Core.CallGraph,
2014-06-03 19:10:54 +04:00
Haxl.Core.DataCache,
Haxl.Core.DataSource,
2014-06-03 19:10:54 +04:00
Haxl.Core.Exception,
Haxl.Core.Flags,
Haxl.Core.Memo,
2014-06-03 19:10:54 +04:00
Haxl.Core.Monad,
Haxl.Core.Fetch,
Haxl.Core.Parallel,
Haxl.Core.Profile,
Haxl.Core.Run,
2014-06-03 19:10:54 +04:00
Haxl.Core.RequestStore,
Haxl.Core.ShowP,
Haxl.Core.StateStore,
Haxl.Core.Stats,
2014-06-03 19:10:54 +04:00
Haxl.Prelude
Haxl.DataSource.ConcurrentIO
2014-06-03 19:10:54 +04:00
other-modules:
Haxl.Core.Util
default-language: Haskell2010
ghc-options:
-O2 -fprof-auto
2014-06-03 19:10:54 +04:00
-Wall
-Wno-name-shadowing
2014-06-03 19:10:54 +04:00
test-suite test
build-depends:
aeson,
HUnit >= 1.2 && < 1.7,
base >= 4.7 && < 5,
binary,
2014-06-03 19:10:54 +04:00
bytestring,
containers,
deepseq,
filepath,
2014-06-03 19:10:54 +04:00
hashable,
hashtables,
2014-06-03 19:10:54 +04:00
haxl,
test-framework,
test-framework-hunit,
2014-06-03 19:10:54 +04:00
text,
time,
2014-06-03 19:10:54 +04:00
unordered-containers
ghc-options:
-Wall
-fno-warn-name-shadowing
-fno-warn-missing-signatures
hs-source-dirs:
tests
main-is:
TestMain.hs
2014-06-03 19:10:54 +04:00
other-modules:
AdoTests
AllTests
BadDataSource
2014-06-03 19:10:54 +04:00
BatchTests
CoreTests
DataCacheTest
ExampleDataSource
ExceptionStackTests
FullyAsyncTest
2014-06-03 19:10:54 +04:00
LoadCache
MemoizationTests
2014-06-03 19:10:54 +04:00
MockTAO
MonadAsyncTest
OutgoneFetchesTests
ParallelTests
ProfileTests
SleepDataSource
StatsTests
TestBadDataSource
2014-06-03 19:10:54 +04:00
TestExampleDataSource
TestTypes
TestUtils
WorkDataSource
WriteTests
DataSourceDispatchTests
2014-06-03 19:10:54 +04:00
type:
exitcode-stdio-1.0
2014-11-22 14:50:44 +03:00
default-language: Haskell2010
flag bench
default: False
executable monadbench
if !flag(bench)
buildable: False
default-language:
Haskell2010
hs-source-dirs:
tests
build-depends:
base,
haxl,
hashable,
time,
optparse-applicative
main-is:
MonadBench.hs
other-modules:
ExampleDataSource
ghc-options:
-O2 -main-is MonadBench -rtsopts
executable cachebench
if !flag(bench)
buildable: False
default-language:
Haskell2010
hs-source-dirs:
tests
build-depends:
base,
haxl,
hashable,
hashtables,
time
main-is:
Bench.hs
ghc-options:
-O2 -main-is Bench -rtsopts