packages feed

apecs-roaring-1.0: apecs-roaring.cabal

cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           apecs-roaring
version:        1.0
synopsis:       Roaring bitmap stores for apecs
description:    Apecs stores for flag-like components backed by CRoaring 64-bit bitmaps.
category:       Game, Control, Data
author:         IC Rainbow
maintainer:     aenor.realm@gmail.com
copyright:      2026 IC Rainbow
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://gitlab.com/dpwiz/apecs-roaring

library
  exposed-modules:
      Apecs.Stores.Flags
      Apecs.Stores.Index
      Apecs.Stores.Query
      Apecs.Stores.Roaring
  other-modules:
      Paths_apecs_roaring
  autogen-modules:
      Paths_apecs_roaring
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
  build-depends:
      apecs ==0.10.*
    , base >=4.20 && <5
    , croaring-ffi ==1.0.*
    , primitive ==0.9.*
    , vector ==0.13.*
  default-language: GHC2021

test-suite apecs-roaring-test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_apecs_roaring
  autogen-modules:
      Paths_apecs_roaring
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck >=2.10 && <3
    , apecs
    , apecs-roaring
    , base >=4.20 && <5
    , containers
    , vector
  default-language: GHC2021

benchmark apecs-roaring-bench
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_apecs_roaring
  autogen-modules:
      Paths_apecs_roaring
  hs-source-dirs:
      bench
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -O2 -rtsopts "-with-rtsopts=-A32m -C10"
  build-depends:
      apecs
    , apecs-roaring
    , base >=4.20 && <5
    , deepseq
    , tasty
    , tasty-bench ==0.4.*
    , vector
  default-language: GHC2021