packages feed

Cabal revisions of bytebuild-0.3.13.0

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-cabal-version: 2.2-name: bytebuild-version: 0.3.13.0-synopsis: Build byte arrays-description:-  This is similar to the builder facilities provided by-  `Data.ByteString.Builder`. It is intended to be used in-  situations where the following apply:-  .-  * An individual entity will be serialized as a small-    number of bytes (less than 512).-  .-  * A large number (more than 32) of entities will be serialized-    one after another without anything between them.-  .-  Unlike builders from the `bytestring` package, these builders-  do not track their state when they run out of space. A builder-  that runs out of space simply aborts and is rerun at the beginning-  of the next chunk. This strategy for building is suitable for most-  CSVs and several line protocols (carbon, InfluxDB, etc.).--homepage: https://github.com/byteverse/bytebuild-bug-reports: https://github.com/byteverse/bytebuild/issues-license: BSD-3-Clause-license-file: LICENSE-author: Andrew Martin-maintainer: andrew.thaddeus@gmail.com-copyright: 2019 Andrew Martin-category: Data-extra-source-files: CHANGELOG.md--flag checked-  manual: True-  description: Add bounds-checking to primitive array operations-  default: False--library-  exposed-modules:-    Data.Bytes.Builder-    Data.Bytes.Builder.Class-    Data.Bytes.Builder.Template-    Data.Bytes.Builder.Unsafe-    Data.Bytes.Builder.Bounded-    Data.Bytes.Builder.Bounded.Class-    Data.Bytes.Builder.Bounded.Unsafe-  other-modules:-    Compat-    Op-  reexported-modules:-    Data.Bytes.Chunks-  build-depends:-    , base >=4.12.0.0 && <4.18-    , byteslice >=0.2.6 && <0.3-    , bytestring >=0.10.8.2 && <0.12-    , haskell-src-meta >=0.8-    , integer-logarithms >=1.0.3 && <1.1-    , natural-arithmetic >=0.1 && <0.2-    , primitive-offset >=0.2 && <0.3-    , primitive-unlifted >=0.1.2 && <0.2-    , run-st >=0.1 && <0.2-    , template-haskell >=2.16-    , text >=1.2 && <2.2-    , text-short >=0.1.3 && <0.2-    , wide-word >=0.1.0.9 && <0.2-    , zigzag-  if impl(ghc >= 9.2)-    hs-source-dirs: src-9.2-  else-    if impl(ghc >= 8.10)-      hs-source-dirs: src-9.0-  if flag(checked)-    build-depends: primitive-checked >= 0.7 && <0.9-    hs-source-dirs: src-checked-  else-    build-depends: primitive >= 0.7 && <0.9-    hs-source-dirs: src-unchecked-  ghc-options: -Wall -O2-  hs-source-dirs: src-  default-language: Haskell2010-  c-sources: cbits/bytebuild_custom.c--test-suite test-  default-language: Haskell2010-  type: exitcode-stdio-1.0-  hs-source-dirs: test, common-  main-is: Main.hs-  ghc-options: -O2 -Wall-  other-modules:-    HexWord64-    Word16Tree-  build-depends:-    , QuickCheck >=2.13.1 && <2.15-    , base >=4.12.0.0 && <5-    , bytebuild-    , byteslice-    , bytestring-    , natural-arithmetic-    , primitive-    , primitive-unlifted >=0.1.2-    , quickcheck-classes >=0.6.4-    , quickcheck-instances >=0.3.22-    , text-short-    , tasty >=1.2.3 && <1.5-    , tasty-hunit >=0.10.0.2 && <0.11-    , tasty-quickcheck >=0.10.1 && <0.11-    , text >=1.2 && <2.2-    , vector-    , wide-word >=0.1.0.9 && <0.2--benchmark bench-  type: exitcode-stdio-1.0-  build-depends:-    , base-    , bytebuild-    , gauge >= 0.2.4-    , natural-arithmetic-    , primitive-    , text-short-    , byteslice-  ghc-options: -Wall -O2-  default-language: Haskell2010-  hs-source-dirs: bench, common-  main-is: Main.hs-  other-modules:-    Cell-    HexWord64-    SimpleCsv-    Word16Tree+cabal-version: 2.2
+name: bytebuild
+version: 0.3.13.0
+x-revision: 1
+synopsis: Build byte arrays
+description:
+  This is similar to the builder facilities provided by
+  `Data.ByteString.Builder`. It is intended to be used in
+  situations where the following apply:
+  .
+  * An individual entity will be serialized as a small
+    number of bytes (less than 512).
+  .
+  * A large number (more than 32) of entities will be serialized
+    one after another without anything between them.
+  .
+  Unlike builders from the `bytestring` package, these builders
+  do not track their state when they run out of space. A builder
+  that runs out of space simply aborts and is rerun at the beginning
+  of the next chunk. This strategy for building is suitable for most
+  CSVs and several line protocols (carbon, InfluxDB, etc.).
+
+homepage: https://github.com/byteverse/bytebuild
+bug-reports: https://github.com/byteverse/bytebuild/issues
+license: BSD-3-Clause
+license-file: LICENSE
+author: Andrew Martin
+maintainer: andrew.thaddeus@gmail.com
+copyright: 2019 Andrew Martin
+category: Data
+extra-source-files: CHANGELOG.md
+
+flag checked
+  manual: True
+  description: Add bounds-checking to primitive array operations
+  default: False
+
+library
+  exposed-modules:
+    Data.Bytes.Builder
+    Data.Bytes.Builder.Class
+    Data.Bytes.Builder.Template
+    Data.Bytes.Builder.Unsafe
+    Data.Bytes.Builder.Bounded
+    Data.Bytes.Builder.Bounded.Class
+    Data.Bytes.Builder.Bounded.Unsafe
+  other-modules:
+    Compat
+    Op
+  reexported-modules:
+    Data.Bytes.Chunks
+  build-depends:
+    , base >=4.12.0.0 && <4.18
+    , byteslice >=0.2.6 && <0.3
+    , bytestring >=0.10.8.2 && <0.12
+    , haskell-src-meta >=0.8
+    , integer-logarithms >=1.0.3 && <1.1
+    , natural-arithmetic >=0.1 && <0.2
+    , primitive-offset >=0.2 && <0.3
+    , primitive-unlifted >=0.1.2 && <2.2
+    , run-st >=0.1 && <0.2
+    , template-haskell >=2.16
+    , text >=1.2 && <2.2
+    , text-short >=0.1.3 && <0.2
+    , wide-word >=0.1.0.9 && <0.2
+    , zigzag
+  if impl(ghc >= 9.2)
+    hs-source-dirs: src-9.2
+  else
+    if impl(ghc >= 8.10)
+      hs-source-dirs: src-9.0
+  if flag(checked)
+    build-depends: primitive-checked >= 0.7 && <0.9
+    hs-source-dirs: src-checked
+  else
+    build-depends: primitive >= 0.7 && <0.9
+    hs-source-dirs: src-unchecked
+  ghc-options: -Wall -O2
+  hs-source-dirs: src
+  default-language: Haskell2010
+  c-sources: cbits/bytebuild_custom.c
+
+test-suite test
+  default-language: Haskell2010
+  type: exitcode-stdio-1.0
+  hs-source-dirs: test, common
+  main-is: Main.hs
+  ghc-options: -O2 -Wall
+  other-modules:
+    HexWord64
+    Word16Tree
+  build-depends:
+    , QuickCheck >=2.13.1 && <2.15
+    , base >=4.12.0.0 && <5
+    , bytebuild
+    , byteslice
+    , bytestring
+    , natural-arithmetic
+    , primitive
+    , primitive-unlifted >=0.1.2
+    , quickcheck-classes >=0.6.4
+    , quickcheck-instances >=0.3.22
+    , text-short
+    , tasty >=1.2.3 && <1.5
+    , tasty-hunit >=0.10.0.2 && <0.11
+    , tasty-quickcheck >=0.10.1 && <0.11
+    , text >=1.2 && <2.2
+    , vector
+    , wide-word >=0.1.0.9 && <0.2
+
+benchmark bench
+  type: exitcode-stdio-1.0
+  build-depends:
+    , base
+    , bytebuild
+    , gauge >= 0.2.4
+    , natural-arithmetic
+    , primitive
+    , text-short
+    , byteslice
+  ghc-options: -Wall -O2
+  default-language: Haskell2010
+  hs-source-dirs: bench, common
+  main-is: Main.hs
+  other-modules:
+    Cell
+    HexWord64
+    SimpleCsv
+    Word16Tree