graphql-engine/server/lib/hasura-json-encoding/hasura-json-encoding.cabal
Tom Harding 1a23e47818 Separate Hasura.EncJSON into its own package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8875
GitOrigin-RevId: 9622bb67b6c357837db3e3a9f26e8e471ec7382c
2023-04-25 08:25:06 +00:00

63 lines
1.5 KiB
Plaintext

cabal-version: 3.6
name: hasura-json-encoding
version: 1.0.0
build-type: Simple
copyright: Hasura Inc.
library
hs-source-dirs: src
default-language: GHC2021
ghc-options:
-foptimal-applicative-do
-- This is just to keep compile-times in check and might be adjusted later (See mono #2610):
-fmax-simplifier-iterations=2
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
-Wno-deriving-typeable
-Wno-prepositive-qualified-module
-Wno-implicit-lift
-Wno-identities
-Wno-operator-whitespace
-Wno-partial-fields
-Wno-redundant-bang-patterns
-Wno-unused-type-patterns
build-depends:
, aeson
, aeson-ordered
, base
, bytestring
, hasura-extras
, hasura-prelude
, insert-ordered-containers
, pg-client
, text
, vector
default-extensions:
DerivingStrategies
FunctionalDependencies
ImportQualifiedPost
LambdaCase
NoImplicitPrelude
QuasiQuotes
OverloadedStrings
TypeFamilies
exposed-modules:
Hasura.EncJSON