Skip to content

Commit

Permalink
APIs for email communication
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinprakash96 committed Aug 18, 2024
1 parent 4d9d19f commit c994882
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure-email/Azure/Email.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module Azure.Email
( ) where
5 changes: 5 additions & 0 deletions azure-email/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Revision history for azure-auth

## 0.1.0.0 -- YYYY-mm-dd

* First version. Released on an unsuspecting world.
21 changes: 21 additions & 0 deletions azure-email/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Holmusk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
60 changes: 60 additions & 0 deletions azure-email/azure-email.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
cabal-version: 3.0
name: azure-email
version: 0.1.0.0
synopsis: Boilerplace/startkit for azure in Haskell (using servant)
description: This provides from useful functionalities for starting out with Azure in Haskell.
This includes authentication, Key vault, Blob storage and email communication related APIs.
license: MIT
author: Holmusk
maintainer: [email protected]
category: Azure
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC == 9.2.8
GHC == 9.4.8
GHC == 9.6.3
GHC == 9.8.2

common common-options
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
-Wpartial-fields
-Wunrecognised-pragmas
-Wmissing-deriving-strategies
-Wunticked-promoted-constructors
-Winvalid-haddock
-Woperator-whitespace
-Wredundant-bang-patterns
-Wunused-packages
build-depends: base >= 4.7 && <5
default-language: GHC2021
default-extensions: DataKinds
DerivingStrategies
DerivingVia
LambdaCase
NoImportQualifiedPost
NoGeneralisedNewtypeDeriving
OverloadedStrings
OverloadedLabels
RecordWildCards
TypeFamilies
ViewPatterns
if os(linux)
ghc-options: -optl-fuse-ld=gold
ld-options: -fuse-ld=gold

library
import: common-options
exposed-modules: Azure.Email
build-depends: aeson
, http-client
, servant
, servant-client
, text
, unliftio
default-language: Haskell2010
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
packages:
./azure-auth
./azure-email
./azure-key-vault
./azure-blob-storage

0 comments on commit c994882

Please sign in to comment.