packages feed

heptapod-1.1.0.3: heptapod.cabal

cabal-version: 2.2
category: Data
description: Heptapod generates UUIDv7 values.
extra-doc-files:
  CHANGELOG.md
  README.md

license-file: LICENSE.txt
license: MIT
maintainer: Taylor Fausak
name: heptapod
synopsis: Generate UUIDv7 values.
version: 1.1.0.3

source-repository head
  location: https://github.com/tfausak/heptapod
  type: git

flag pedantic
  default: False
  manual: True

common library
  build-depends: base ^>=4.20.0.0 || ^>=4.21.0.0 || ^>=4.22.0.0
  default-language: Haskell2010
  ghc-options:
    -Weverything
    -Wno-all-missed-specialisations
    -Wno-implicit-prelude
    -Wno-missing-export-lists
    -Wno-missing-safe-haskell-mode
    -Wno-prepositive-qualified-module
    -Wno-safe
    -Wno-unsafe

  if flag(pedantic)
    ghc-options: -Werror

common executable
  import: library
  build-depends: heptapod
  ghc-options:
    -rtsopts
    -threaded

library
  import: library
  build-depends:
    bytestring ^>=0.12.1.0,
    entropy ^>=0.4.1.10,
    time ^>=1.12.2 || ^>=1.14 || ^>=1.15,
    uuid-types ^>=1.0.6,

  -- cabal-gild: discover source/library
  exposed-modules: Heptapod
  hs-source-dirs: source/library

test-suite heptapod-test-suite
  import: executable
  build-depends:
    tasty ^>=1.5,
    tasty-hunit ^>=0.10.2,
    time,
    uuid-types,

  hs-source-dirs: source/test-suite
  main-is: Main.hs
  type: exitcode-stdio-1.0

benchmark heptapod-benchmark
  import: executable
  build-depends:
    tasty-bench ^>=0.4,
    uuid ^>=1.3.16,

  hs-source-dirs: source/benchmark
  main-is: Main.hs
  type: exitcode-stdio-1.0