packages feed

delivery-status-notification-0.2.0.2: delivery-status-notification.cabal

cabal-version:      3.0
name:               delivery-status-notification
version:            0.2.0.2
synopsis:           Parse bounce messages per RFC3464, RFC3463

description:
  delivery-status-notification seeks to aid in understanding bounce e-mails. The
  library will be guided by RFC3464 and RFC3463 (and any other relevant RFCs I
  find), but in practice will prioritise being useful over being correct, since
  DSNs in practice seem to have a reputation for being inconsistent.

homepage:           https://github.com/bmillwood/delivery-status-notification
license:            BSD-3-Clause
license-file:       LICENSE
author:             Ben Millwood
maintainer:         thebenmachine+git@gmail.com
copyright:          2024 Ben Millwood
category:           Web
build-type:         Simple
extra-doc-files:    CHANGELOG.md
-- extra-source-files:

source-repository head
  type: git
  location: https://github.com/bmillwood/delivery-status-notification

common warnings
    ghc-options: -Wall

common language
    default-language: GHC2021
    default-extensions:
      OverloadedStrings

library
    import:           language
    import:           warnings
    exposed-modules:
      Email.DSN.DeliveryStatus
      Email.DSN.StatusCode
    -- other-modules:
    build-depends:
      attoparsec ^>=0.14,
      base >= 4.18 && < 4.22,
      text >= 2.0 && < 2.2,
    hs-source-dirs:   src

test-suite delivery-status-notification-test
    import:           language
    import:           warnings
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    other-modules:
      DeliveryStatus
      StatusCode
    build-depends:
      attoparsec ^>=0.14,
      base >= 4.18 && < 4.22,
      delivery-status-notification,