Skip to content

Commit

Permalink
Rename packages
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Nov 9, 2024
1 parent 9471fc7 commit ab7e19d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
16 changes: 8 additions & 8 deletions demo/hw-json-demo.cabal → demo/succinct-demo.cabal
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
cabal-version: 2.2
cabal-version: 3.4

name: hw-json-demo
name: succinct-demo
version: 1.0.0.0
synopsis: Memory efficient JSON parser
description: Memory efficient JSON parser. Please see README.md
category: Data
homepage: http://github.com/haskell-works/hw-json-demo#readme
bug-reports: https://github.com/haskell-works/hw-json-demo/issues
homepage: http://github.com/haskell-works/succinct#readme
bug-reports: https://github.com/haskell-works/succinct/issues
author: John Ky
maintainer: [email protected]
copyright: 2016 - 2019 John Ky
copyright: 2016 - 2024 John Ky
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files: README.md

source-repository head
type: git
location: https://github.com/haskell-works/hw-json-demo
location: https://github.com/haskell-works/succinct

flag bmi2
description: Enable bmi2 instruction set
Expand All @@ -38,7 +38,6 @@ common deepseq { build-depends: deepseq >= 1.4.0.0
common dlist { build-depends: dlist >= 0.8 && < 1.1 }
common hw-balancedparens { build-depends: hw-balancedparens >= 0.3.0.0 && < 0.5 }
common hw-bits { build-depends: hw-bits >= 0.7.0.5 && < 0.8 }
common hw-json { build-depends: hw-json >= 1.0.0.0 && < 1.4 }
common hw-json-simd { build-depends: hw-json-simd >= 0.1.0.2 && < 0.2 }
common hw-mquery { build-depends: hw-mquery >= 0.2.0.0 && < 0.3 }
common hw-prim { build-depends: hw-prim >= 0.6.2.32 && < 0.7 }
Expand All @@ -47,6 +46,7 @@ common hw-rankselect-base { build-depends: hw-rankselect-base >= 0.3.2.1
common hw-simd { build-depends: hw-simd >= 0.1.1.2 && < 0.2 }
common lens { build-depends: lens >= 4 && < 6 }
common mmap { build-depends: mmap >= 0.5 && < 0.6 }
common succinct-json { build-depends: succinct:json >= 1.0.0.0 && < 1.4 }
common vector { build-depends: vector >= 0.12 && < 0.13 }

common semigroups { if impl(ghc < 8 ) { build-depends: semigroups >= 0.16 && < 0.20 } }
Expand All @@ -69,12 +69,12 @@ library
, hw-balancedparens
, hw-bits
, hw-mquery
, hw-json
, hw-json-simd
, hw-prim
, hw-rankselect
, hw-rankselect-base
, mmap
, succinct-json
, vector
ghc-options: -O2 -msse4.2
other-modules: Paths_hw_json_demo
Expand Down
38 changes: 19 additions & 19 deletions hw-json.cabal → succinct.cabal
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
cabal-version: 2.2
cabal-version: 3.4

name: hw-json
name: succinct
version: 1.3.3.0
synopsis: Memory efficient JSON parser
description: Memory efficient JSON parser. Please see README.md
category: Data
homepage: http://github.com/haskell-works/hw-json#readme
bug-reports: https://github.com/haskell-works/hw-json/issues
homepage: http://github.com/haskell-works/succinct#readme
bug-reports: https://github.com/haskell-works/succinct/issues
author: John Ky
maintainer: [email protected]
copyright: 2016-2021 John Ky
copyright: 2016-2024 John Ky
license: BSD-3-Clause
license-file: LICENSE
tested-with: GHC == 9.8.2, GHC == 9.6.6
Expand All @@ -25,7 +25,7 @@ extra-source-files: README.md

source-repository head
type: git
location: https://github.com/haskell-works/hw-json
location: https://github.com/haskell-works/succinct

flag bmi2
description: Enable bmi2 instruction set
Expand Down Expand Up @@ -91,10 +91,9 @@ common config
ghc-options: -mbmi2 -msse4.2
cpp-options: -DBMI2_ENABLED

common hw-json
build-depends: hw-json
common succinct-json { build-depends: succinct:json }

library
library json
import: base, config
, aeson
, attoparsec
Expand All @@ -118,9 +117,10 @@ library
, text
, vector
, word8
visibility: public
hs-source-dirs: src
other-modules: Paths_hw_json
autogen-modules: Paths_hw_json
other-modules: Paths_succinct
autogen-modules: Paths_succinct
exposed-modules: HaskellWorks.Data.Json.DecodeError
HaskellWorks.Data.Json.FromValue
HaskellWorks.Data.Json.Internal.CharLike
Expand All @@ -141,14 +141,13 @@ library
HaskellWorks.Data.Json.Standard.Load.Partial
HaskellWorks.Data.Json.Value

executable hw-json
executable succinct-json
import: base, config
, aeson
, bytestring
, dlist
, generic-lens
, hw-balancedparens
, hw-json
, hw-json-simd
, hw-json-simple-cursor
, hw-json-standard-cursor
Expand All @@ -159,6 +158,7 @@ executable hw-json
, lens
, mmap
, optparse-applicative
, succinct-json
, text
, unordered-containers
, vector
Expand All @@ -172,7 +172,7 @@ executable hw-json
App.Commands.Demo
App.Commands.Types

test-suite hw-json-test
test-suite succinct-json-test
import: base, config
, aeson
, attoparsec
Expand All @@ -184,14 +184,14 @@ test-suite hw-json-test
, hw-balancedparens
, hw-bits
, hw-hspec-hedgehog
, hw-json
, hw-json-simple-cursor
, hw-json-standard-cursor
, hw-mquery
, hw-prim
, hw-rankselect
, hw-rankselect-base
, scientific
, succinct-json
, text
, transformers
, vector
Expand All @@ -208,15 +208,15 @@ test-suite hw-json-test
HaskellWorks.Data.Json.TypeSpec
HaskellWorks.Data.Json.ValueSpec

library examples
library json-examples
import: base, config
, aeson
, bytestring
, dlist
, hw-json
, hw-json-standard-cursor
, hw-mquery
, hw-prim
, succinct-json
hs-source-dirs: examples
other-modules: Example1
Example2
Expand All @@ -228,9 +228,9 @@ benchmark bench
, bytestring
, criterion
, directory
, hw-json
, hw-json-standard-cursor
, mmap
, succinct-json
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
Expand All @@ -239,7 +239,7 @@ test-suite doctest
import: base, config
, doctest
, doctest-discover
, hw-json
, succinct-json
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
Expand Down

0 comments on commit ab7e19d

Please sign in to comment.