git.iko.soy/typeable/random-token
on master help sign in
typeable/random-token/random-token.cabal
111 lines 2.4 kB history raw
1cabal-version: 2.4
2name: random-token
3version: 0.1.0.0
4synopsis: Implementation of random token generation and parsing
5author: typeable.io
6maintainer: s9gf4ult@gmail.com
7license-file: LICENSE
8category: Web
9build-type: Simple
11library
12 hs-source-dirs: src
13 ghc-options: -Wall
14 exposed-modules: Random.Token
15 build-depends:
16 , aeson
17 , base >=4.9 && <5
18 , base64-bytestring
19 , bytestring >=0.10
20 , deepseq
21 , http-api-data
22 , QuickCheck
23 , text
25 if !(impl(ghcjs) || arch(javascript) || arch(wasm32))
26 build-depends:
27 , cryptonite
28 , postgresql-simple
30 default-language: Haskell2010
31 default-extensions:
32 CPP
33 ConstraintKinds
34 DataKinds
35 DeriveFoldable
36 DeriveFunctor
37 DeriveGeneric
38 DeriveTraversable
39 DuplicateRecordFields
40 FlexibleContexts
41 FlexibleInstances
42 FunctionalDependencies
43 GADTs
44 GeneralizedNewtypeDeriving
45 LambdaCase
46 MultiParamTypeClasses
47 MultiWayIf
48 NumDecimals
49 OverloadedStrings
50 PolyKinds
51 QuasiQuotes
52 RankNTypes
53 RecordWildCards
54 RoleAnnotations
55 ScopedTypeVariables
56 StandaloneDeriving
57 TemplateHaskell
58 TupleSections
59 TypeApplications
60 TypeFamilies
61 TypeOperators
62 UndecidableInstances
63 ViewPatterns
65test-suite spec
66 type: exitcode-stdio-1.0
67 hs-source-dirs: spec
68 main-is: Test.hs
69 other-modules: TokenSpec
70 default-language: Haskell2010
71 build-depends:
72 , base >=4.10 && <5
73 , hspec
74 , random-token
76 build-tool-depends: hspec-discover:hspec-discover
77 ghc-options:
78 -Wall -threaded -rtsopts "-with-rtsopts=-N -A64m -qb0 -n4m -T -I1"
80 ghc-prof-options: -fprof-auto
81 default-extensions:
82 ConstraintKinds
83 DataKinds
84 DeriveFoldable
85 DeriveFunctor
86 DeriveGeneric
87 DeriveTraversable
88 DuplicateRecordFields
89 FlexibleContexts
90 FlexibleInstances
91 FunctionalDependencies
92 GADTs
93 GeneralizedNewtypeDeriving
94 LambdaCase
95 MultiParamTypeClasses
96 MultiWayIf
97 NumDecimals
98 OverloadedStrings
99 PolyKinds
100 QuasiQuotes
101 RankNTypes
102 RecordWildCards
103 ScopedTypeVariables
104 StandaloneDeriving
105 TemplateHaskell
106 TupleSections
107 TypeApplications
108 TypeFamilies
109 TypeOperators
110 UndecidableInstances
111 ViewPatterns