Skip to content

Commit a0a671d

Browse files
authored
Merge pull request #143 from haskell-works/split-out-hw-json-simple-cursor-library
Split out hw-json-simple-cursor library
2 parents 031dc80 + 6f5e6ec commit a0a671d

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

hw-json.cabal

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ common hw-balancedparens { build-depends: hw-balancedparens >= 0.3
5454
common hw-bits { build-depends: hw-bits >= 0.7.0.5 && < 0.8 }
5555
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1.0.4 && < 0.2 }
5656
common hw-json-simd { build-depends: hw-json-simd >= 0.1.0.2 && < 0.2 }
57-
common hw-json-standard-cursor { build-depends: hw-json-standard-cursor >= 0.1.0.0 && < 0.2 }
57+
common hw-json-simple-cursor { build-depends: hw-json-simple-cursor >= 0.1.0.1 && < 0.2 }
58+
common hw-json-standard-cursor { build-depends: hw-json-standard-cursor >= 0.1.0.1 && < 0.2 }
5859
common hw-mquery { build-depends: hw-mquery >= 0.2.0.0 && < 0.3 }
5960
common hw-parser { build-depends: hw-parser >= 0.1 && < 0.2 }
6061
common hw-prim { build-depends: hw-prim >= 0.6.2.28 && < 0.7 }
@@ -80,24 +81,6 @@ common config
8081
ghc-options: -mbmi2 -msse4.2
8182
cpp-options: -DBMI2_ENABLED
8283

83-
library hw-json-simple-cursor
84-
import: base, config
85-
, bytestring
86-
, hw-balancedparens
87-
, hw-bits
88-
, hw-prim
89-
, hw-rankselect
90-
, hw-rankselect-base
91-
, vector
92-
, word8
93-
hs-source-dirs: hw-json-simple-cursor
94-
exposed-modules: HaskellWorks.Data.Json.Simple.Cursor
95-
HaskellWorks.Data.Json.Simple.Cursor.Fast
96-
HaskellWorks.Data.Json.Simple.Cursor.SemiIndex
97-
HaskellWorks.Data.Json.Simple.Cursor.Internal.IbBp
98-
HaskellWorks.Data.Json.Simple.Cursor.Internal.ToIbBp
99-
HaskellWorks.Data.Json.Simple.Cursor.Internal.Word8
100-
10184
library
10285
import: base, config
10386
, ansi-wl-pprint
@@ -107,6 +90,7 @@ library
10790
, dlist
10891
, hw-balancedparens
10992
, hw-bits
93+
, hw-json-simple-cursor
11094
, hw-json-standard-cursor
11195
, hw-mquery
11296
, hw-parser
@@ -122,7 +106,6 @@ library
122106
hs-source-dirs: src
123107
other-modules: Paths_hw_json
124108
autogen-modules: Paths_hw_json
125-
build-depends: hw-json-simple-cursor
126109
exposed-modules:
127110
HaskellWorks.Data.Json.DecodeError
128111
HaskellWorks.Data.Json.FromValue
@@ -144,12 +127,6 @@ library
144127
HaskellWorks.Data.Json.Simple.Value
145128
HaskellWorks.Data.Json.Standard.Load.Partial
146129
HaskellWorks.Data.Json.Value
147-
reexported-modules:
148-
HaskellWorks.Data.Json.Simple.Cursor
149-
, HaskellWorks.Data.Json.Simple.Cursor.Fast
150-
, HaskellWorks.Data.Json.Simple.Cursor.SemiIndex
151-
, HaskellWorks.Data.Json.Simple.Cursor.Internal.IbBp
152-
, HaskellWorks.Data.Json.Simple.Cursor.Internal.ToIbBp
153130

154131
executable hw-json
155132
import: base, config
@@ -158,6 +135,7 @@ executable hw-json
158135
, generic-lens
159136
, hw-balancedparens
160137
, hw-json-simd
138+
, hw-json-simple-cursor
161139
, hw-json-standard-cursor
162140
, hw-mquery
163141
, hw-prim
@@ -189,6 +167,7 @@ test-suite hw-json-test
189167
, hw-balancedparens
190168
, hw-bits
191169
, hw-hspec-hedgehog
170+
, hw-json-simple-cursor
192171
, hw-json-standard-cursor
193172
, hw-prim
194173
, hw-rankselect

0 commit comments

Comments
 (0)