packages feed

named-binary-tag-0.1.0.0: named-binary-tag.cabal

cabal-version:      2.4

name:     named-binary-tag
version:  0.1.0.0
synopsis: NBT (named binary tag) serialization and deserialization.
description: This project was created because the old nbt package has had a 1-liner open issue preventing compilation for 2 years now at the time of writing, despite submitting a pull request to fix it.
    .
    While I was at it, I went ahead and changed the data structure to use konsumlamm's rrb-vector package instead of lists or unboxed arrays for more well-rounded asymptotics.
    .
    StrictData is also turned on, and some functions are exported for reading/writing NBT files that remove some of the old boilerplate code.
category: Data

homepage:    https://github.com/davidgarland/named-binary-tag
bug-reports: https://github.com/davidgarland/named-binary-tag

author: David Garland
maintainer: davidrgarland@me.com

license:      MIT
license-file: LICENSE

tested-with: GHC == 9.2.4, GHC == 9.4.2
extra-source-files: CHANGELOG.md README.md

source-repository head
  type: git
  location: https://github.com/davidgarland/named-binary-tag.git

library
  hs-source-dirs:   src
  exposed-modules: Data.Nbt
  ghc-options: -Wall -O2
  default-extensions: DeriveFunctor
                    , FlexibleContexts
                    , FlexibleInstances
                    , ImportQualifiedPost
                    , LambdaCase
                    , PatternSynonyms
                    , StrictData
  build-depends: base >= 4.16.0 && < 4.18
               , bytestring >= 0.11.3 && < 0.12
               , cereal >= 0.5.8 && < 0.6
               , containers >= 0.6.6 && < 0.7
               , indexed-traversable >= 0.1.2 && < 0.2
               , rrb-vector >= 0.1.1.0 && < 0.2
               , text >= 2.0.1 && < 2.1
               , zlib >= 0.6.3 && < 0.7
  default-language: Haskell2010

test-suite test
  hs-source-dirs: test
  main-is: Main.hs
  ghc-options: -Wall
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  default-extensions: OverloadedStrings
  build-depends: base
               , cereal
               , named-binary-tag
               , tasty
               , tasty-quickcheck
               , text