json-spec-1.3.0.0: json-spec.cabal
cabal-version: 3.0
name: json-spec
version: 1.3.0.0
synopsis: Type-level JSON specification
maintainer: rick@owensmurray.com
description: See the README at: https://github.com/owensmurray/json-spec#json-spec
homepage: https://github.com/owensmurray/json-spec
license: MIT
license-file: LICENSE
author: Rick Owens
category: JSON
copyright: 2026 Owens Murray, LLC.
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
LICENSE
common dependencies
build-depends:
, aeson >= 2.2.1.0 && < 2.3
, base >= 4.19.0.0 && < 4.22
, containers >= 0.6.8 && < 0.8
, scientific >= 0.3.7.0 && < 0.4
, text >= 2.1 && < 2.2
, time >= 1.9.3 && < 1.15
, vector >= 0.13.0.0 && < 0.14
common warnings
ghc-options:
-Wmissing-deriving-strategies
-Wmissing-export-lists
-Wmissing-import-lists
-Wredundant-constraints
-Wall
library
import: dependencies, warnings
exposed-modules:
Data.JsonSpec
other-modules:
Data.JsonSpec.Encode
Data.JsonSpec.Decode
Data.JsonSpec.Spec
-- other-extensions:
hs-source-dirs: src
default-language: Haskell2010
test-suite jsonspec
import: dependencies, warnings
main-is: jsonspec.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
build-depends:
, json-spec
, bytestring >= 0.12.0.2 && < 0.13
, hspec >= 2.11.0 && < 2.12
, om-show >= 0.1.2.9 && < 0.2
test-suite stable-environment
import: dependencies, warnings
main-is: stable-environment.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
build-depends:
, json-spec
, bytestring >= 0.12.0.2 && < 0.13
, hspec >= 2.11.0 && < 2.12
, om-show >= 0.1.2.9 && < 0.2