packages feed

paseto-0.1.0.0: paseto.cabal

cabal-version:       3.4
name:                paseto
version:             0.1.0.0
synopsis:            Platform-Agnostic Security Tokens
description:
  Haskell implementation of PASETO (Platform-Agnostic Security Tokens).
  .
  The recommended entry point for this library is "Crypto.Paseto".
  .
  For more information about this library and a rundown on how to use it,
  check out the
  [README on GitHub](https://github.com/intricate/paseto-haskell#readme).
author:              Luke Nadur
maintainer:          Luke Nadur
license:             MIT
license-file:        LICENSE
category:            Cryptography
homepage:            https://github.com/intricate/paseto-haskell
bug-reports:         https://github.com/intricate/paseto-haskell/issues
build-type:          Simple
extra-source-files:  README.md
extra-doc-files:     CHANGELOG.md

library
  default-language:    Haskell2010
  hs-source-dirs:      src
  default-extensions:  DerivingStrategies
                       GeneralizedNewtypeDeriving
                       NamedFieldPuns
                       NoImplicitPrelude
                       OverloadedStrings

  ghc-options:         -Wall
                       -Wcompat
                       -Wincomplete-record-updates
                       -Wincomplete-uni-patterns
                       -Wpartial-fields
                       -Wredundant-constraints
                       -Wunused-packages

  exposed-modules:     Crypto.Paseto
                       Crypto.Paseto.Keys
                       Crypto.Paseto.Keys.V3
                       Crypto.Paseto.Mode
                       Crypto.Paseto.PreAuthenticationEncoding
                       Crypto.Paseto.Protocol.V3
                       Crypto.Paseto.Protocol.V4
                       Crypto.Paseto.ScrubbedBytes
                       Crypto.Paseto.Token
                       Crypto.Paseto.Token.Build
                       Crypto.Paseto.Token.Claim
                       Crypto.Paseto.Token.Claims
                       Crypto.Paseto.Token.Encoding
                       Crypto.Paseto.Token.Parser
                       Crypto.Paseto.Token.Validation

  other-modules:       Crypto.Paseto.Keys.V3.Internal
                       Data.Binary.Put.Integer

  build-depends:       base >= 4.14 && < 5
                     , aeson >= 2.2.3 && < 2.3
                     , base16-bytestring >= 1.0.2 && < 1.1
                     , base64-bytestring >= 1.2.1 && < 1.3
                     , basement >= 0.0.16 && < 0.1
                     , binary >= 0.8.9 && < 0.9
                     , bytestring >= 0.11.5 && < 0.12
                     , containers >= 0.6.7 && < 0.7
                     , crypton >= 1.0.0 && < 1.1
                     , deepseq >= 1.4.8 && < 1.5
                     , memory >= 0.18.0 && < 0.19
                     , mtl >= 2.2.2 && < 2.3
                     , parsec >= 3.1.16 && < 3.2
                     , text >= 2.0.2 && < 2.1
                     , time >= 1.12.2 && < 1.13
                     , transformers-except >= 0.1.4 && < 0.2

test-suite paseto-test
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  hs-source-dirs:      test
  default-extensions:  DerivingStrategies
                       GeneralizedNewtypeDeriving
                       NamedFieldPuns
                       NoImplicitPrelude
                       OverloadedStrings

  ghc-options:         -Wall
                       -Wcompat
                       -Wredundant-constraints
                       -Wincomplete-patterns
                       -Wincomplete-record-updates
                       -Wincomplete-uni-patterns
                       -Wunused-imports
                       -Wunused-packages

  other-modules:       Test.Crypto.Paseto.Keys.Gen
                       Test.Crypto.Paseto.Keys.V3.Gen
                       Test.Crypto.Paseto.Keys.V3
                       Test.Crypto.Paseto.PreAuthenticationEncoding
                       Test.Crypto.Paseto.Protocol.V3
                       Test.Crypto.Paseto.Protocol.V4
                       Test.Crypto.Paseto.ScrubbedBytes.Gen
                       Test.Crypto.Paseto.TestVectors
                       Test.Crypto.Paseto.TestVectorTest
                       Test.Crypto.Paseto.Token.Claim
                       Test.Crypto.Paseto.Token.Claim.Gen
                       Test.Crypto.Paseto.Token.Claims
                       Test.Crypto.Paseto.Token.Claims.Gen
                       Test.Crypto.Paseto.Token.Gen
                       Test.Crypto.Paseto.Token.Parser
                       Test.Crypto.Paseto.Token.Validation
                       Test.Crypto.Paseto.Token.Validation.Gen
                       Test.Gen
                       Test.Golden

  build-depends:        base >= 4.14 && < 5
                      , aeson
                      , base16-bytestring
                      , bytestring
                      , containers
                      , crypton
                      , hedgehog
                      , memory
                      , mtl
                      , paseto
                      , text
                      , time
                      , transformers-except

source-repository head
  type:     git
  location: git://github.com/intricate/paseto-haskell.git