packages feed

snowchecked-0.0.2.0: package.yaml

name: snowchecked
version: 0.0.2.0
github: robertfischer/hs-snowflake-checked
license: Apache-2.0
author: Robert Fischer
maintainer: smokejumperit@gmail.com
copyright: 2021-2023 Robert Fischer

extra-source-files:
  - LICENSE
  - README.md
  - package.yaml
  - stack.yaml
  - stack.yaml.lock

# Metadata used when publishing your package
synopsis: A checksummed variation on Twitter's Snowflake UID generation algorithm
category: Data

# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: See the file ./README.md, which is included in the package and also on GitHub.

dependencies:
  - base >= 4.14.1.0 && < 5
  - bytestring >= 0.10.12.0
  - wide-word >= 0.1.1.2
  - data-default >= 0.7.1.1
  - time >= 1.9.3
  - deepseq >= 1.4.4.0
  - text-conversions >= 0.3.1
  - text >= 1.2.4.1

ghc-options:
  - -Wno-tabs

library:
  source-dirs: src
  ghc-options:
    - -Wall
    - -Wcompat
    - -Wno-type-defaults
    - -Wno-tabs
    - -Widentities
    - -Werror=unused-do-bind
    - -Werror=incomplete-record-updates
    - -Werror=incomplete-uni-patterns
    - -Werror=partial-fields
    - -Werror=incomplete-patterns
    - -Wredundant-constraints
    - -Werror=missing-exported-signatures
    - -Wmissed-specializations
    - -Wunused-type-patterns
    - -Werror=warnings-deprecations
    - -Wnoncanonical-monad-instances
    - -feager-blackholing
    - -fexcess-precision
    - -flate-dmd-anal
    - -fmax-inline-alloc-size=1024
    - -fmax-simplifier-iterations=8
    - -fpedantic-bottoms
    - -fregs-iterative
    - -fsimplifier-phases=4
    - -fspec-constr-count=10
    - -fspecialise-aggressively
    - -flate-specialise
    - -fstatic-argument-transformation
    - -fstrictness-before=3

tests:
  test-suite:
    main: Spec.hs
    source-dirs: test
    dependencies:
      - snowchecked
      - hedgehog
      - unliftio

    ghc-options:
      - -threaded
      - -rtsopts
      - -with-rtsopts=-N