diff --git a/CHANGELOG.md b/CHANGELOG.md index 61274eb..542f3e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,13 @@ -## 0.2.0 (Unreleased) -Rewrite. +## 0.2.0 (2022-07-07) +Multiple rewrites (unable to push to Hackage for a while due to dependencies). * BinaryCodec split into Get and Put - * CBLen for constant length types - * generics - * tests - * integration with my strongweak library * fast serializing via fumieval's mason * fast parsing via András Kovács' flatparse + * integration with my strongweak library + * generics + * tests + * CBLen for constant length types * plenty more ## 0.1.0 (2022-04-22) diff --git a/binrep.cabal b/binrep.cabal index 8f4ef91..bfe47f8 100644 --- a/binrep.cabal +++ b/binrep.cabal @@ -17,7 +17,7 @@ license: MIT license-file: LICENSE build-type: Simple tested-with: - GHC ==8.10.7 || ==9.2.2 + GHC ==9.2.2 extra-source-files: README.md CHANGELOG.md @@ -102,7 +102,7 @@ library , base >=4.14 && <5 , bytestring ==0.11.* , either >=5.0.1.1 && <5.1 - , flatparse >=0.3.4.0 && <0.4 + , flatparse >=0.3.5.0 && <0.4 , mason >=0.2.5 && <0.3 , megaparsec >=9.2.0 && <9.3 , refined ==0.7.* @@ -165,7 +165,7 @@ test-suite spec , binrep , bytestring ==0.11.* , either >=5.0.1.1 && <5.1 - , flatparse >=0.3.4.0 && <0.4 + , flatparse >=0.3.5.0 && <0.4 , generic-random >=1.5.0.1 && <1.6 , hspec >=2.7 && <2.10 , mason >=0.2.5 && <0.3 diff --git a/cabal.project b/cabal.project deleted file mode 100644 index a81afd7..0000000 --- a/cabal.project +++ /dev/null @@ -1,7 +0,0 @@ -packages: . - --- final set of new binary primitives (address/location) are yet to be released -source-repository-package - type: git - location: https://github.com/AndrasKovacs/flatparse - tag: c4b5dd8d4378377993697dac61ce1716e0ef19ea diff --git a/package.yaml b/package.yaml index 2a33155..7aab43f 100644 --- a/package.yaml +++ b/package.yaml @@ -6,7 +6,7 @@ extra-source-files: - README.md - CHANGELOG.md category: Data, Serialization -tested-with: GHC ==8.10.7 || ==9.2.2 +tested-with: GHC ==9.2.2 license: MIT license-file: LICENSE @@ -67,6 +67,9 @@ default-extensions: # useful extensions to know about, but which must be specified on-demand #- UndecidableInstances +ghc-options: +- -Wall + dependencies: - base >= 4.14 && < 5 - bytestring ^>= 0.11 @@ -81,10 +84,7 @@ dependencies: - strongweak ^>= 0.3.1 - either ^>= 5.0.1.1 - text-icu ^>= 0.8.0.1 -- flatparse ^>= 0.3.4.0 - -ghc-options: -- -Wall +- flatparse ^>= 0.3.5.0 library: source-dirs: src diff --git a/stack.yaml b/stack.yaml index 663ab34..75c422a 100644 --- a/stack.yaml +++ b/stack.yaml @@ -2,10 +2,7 @@ resolver: nightly-2022-07-04 packages: [.] extra-deps: -# final set of new binary primitives (address/location) are yet to be released -- git: https://github.com/AndrasKovacs/flatparse - commit: c4b5dd8d4378377993697dac61ce1716e0ef19ea - -- strongweak-0.3.1 +- flatparse-0.3.5.0 - mason-0.2.5@sha256:44ead52c404f49006e4759d746b9008f8a6b2c642cbb27d26e7e25e7ba9a6f71,1221 +- strongweak-0.3.1 - text-icu-0.8.0.1@sha256:22d21c91e7a81f1ee5766b3406f4fe9df0ff8cc426581a861de3f6f2fa413449,4624 diff --git a/stack.yaml.lock b/stack.yaml.lock index 6e73412..dc2814a 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -5,23 +5,12 @@ packages: - completed: - name: flatparse - version: 0.3.4.0 - git: https://github.com/AndrasKovacs/flatparse + hackage: flatparse-0.3.5.0@sha256:ed98a973cb958555924a4bd9862480e4b7632ec7495abcc0bee1d10fad476a42,3936 pantry-tree: - size: 1505 - sha256: b9bfdd389cc5f39058d4cd0c31393f0ede214025bba5c0f997daa95239cc207b - commit: c4b5dd8d4378377993697dac61ce1716e0ef19ea + size: 1062 + sha256: deb8fd3167f3b8ec2f67be2e8c5efeb4f78240b3a91127b7416d2ac0790db31e original: - git: https://github.com/AndrasKovacs/flatparse - commit: c4b5dd8d4378377993697dac61ce1716e0ef19ea -- completed: - hackage: strongweak-0.3.1@sha256:86cb3ccda0955bbdfc70a8fd90dc80e32a5283b05cd3f2b39858925fc4bad988,3343 - pantry-tree: - size: 986 - sha256: c75962b91a69d18c644dc628df350d80a6bd542469fa3ce9c080b24d39c834c2 - original: - hackage: strongweak-0.3.1 + hackage: flatparse-0.3.5.0 - completed: hackage: mason-0.2.5@sha256:44ead52c404f49006e4759d746b9008f8a6b2c642cbb27d26e7e25e7ba9a6f71,1221 pantry-tree: @@ -29,6 +18,13 @@ packages: sha256: 4eda0ef67a4f4475f8ab1dc38aca2a86ff5a522eab57e7c63ddc66b4da9bd874 original: hackage: mason-0.2.5@sha256:44ead52c404f49006e4759d746b9008f8a6b2c642cbb27d26e7e25e7ba9a6f71,1221 +- completed: + hackage: strongweak-0.3.1@sha256:86cb3ccda0955bbdfc70a8fd90dc80e32a5283b05cd3f2b39858925fc4bad988,3343 + pantry-tree: + size: 986 + sha256: c75962b91a69d18c644dc628df350d80a6bd542469fa3ce9c080b24d39c834c2 + original: + hackage: strongweak-0.3.1 - completed: hackage: text-icu-0.8.0.1@sha256:22d21c91e7a81f1ee5766b3406f4fe9df0ff8cc426581a861de3f6f2fa413449,4624 pantry-tree: