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