-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplutus-integer-bytestring.cabal
116 lines (96 loc) · 2.53 KB
/
plutus-integer-bytestring.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
cabal-version: 3.0
name: plutus-integer-bytestring
version: 1.0.0
synopsis: PoC for Plutus Integer to ByteString conversions
description: PoC for Plutus Integer to ByteString conversions
homepage: https://github.com/mlabs-haskell/plutus-integer-bytestring
license: Apache-2.0
license-file: LICENSE.md
author: Koz Ross
maintainer: koz@mlabs.city
bug-reports: https://github.com/mlabs-haskell/plutus-integer-bytestring
copyright: (C) MLabs 2023
category: Plutus
tested-with: GHC ==8.10.7 || ==9.2.8 || ==9.6.3
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
-- Common sections
common lang
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
-Wmissing-export-lists -Wmissing-deriving-strategies
build-depends: base >=4.14.3.0 && <4.19.0.0
default-language: Haskell2010
common test-lang
import: lang
ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
, QuickCheck
, tasty
, tasty-quickcheck
, test-utils
common bench-lang
import: lang
ghc-options: -O2 -rtsopts -fproc-alignment=64 "-with-rtsopts=-A32m -T"
build-depends:
, plutus-integer-bytestring
, tasty-bench
-- Library
library
import: lang
exposed-modules:
Logical.Naive
Logical.Optimized
Naive
build-depends:
, bytestring
, bytestring-strict-builder
, bytestring-to-vector
, indexed-traversable
, vector
hs-source-dirs: src
library test-utils
import: lang
exposed-modules:
Helpers
HexByteString
IndexedByteString
Laws
NEByteString
SuitableInteger
build-depends:
, bytestring
, QuickCheck
, quickcheck-instances
, tasty
, tasty-quickcheck
hs-source-dirs: test-utils
-- Tests
test-suite naive-tests
import: test-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, bytestring
, plutus-integer-bytestring
hs-source-dirs: test/naive
test-suite consistency-tests
import: test-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, bytestring
, plutus-integer-bytestring
hs-source-dirs: test/consistency
-- Benchmarks
benchmark naive-bench
import: bench-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, bytestring
, deepseq
hs-source-dirs: bench/naive