diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f6c0b22 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@byteverse/l3c diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..99eed35 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,11 @@ +name: build +on: + pull_request: + branches: + - "*" + +jobs: + call-workflow: + uses: byteverse/.github/.github/workflows/build-matrix.yaml@main + with: + cabal-file: http-exchange-instantiations.cabal diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..9411962 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,10 @@ +name: release +on: + push: + tags: + - "*" + +jobs: + call-workflow: + uses: byteverse/.github/.github/workflows/release.yaml@main + secrets: inherit diff --git a/CHANGELOG.md b/CHANGELOG.md index 50feec0..bb979b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for http-exchange-instantiations +## 0.1.3.1 -- 2024-02-14 + +* Update package metadata. + ## 0.1.3.0 -- 2023-09-21 * Add missing `interruptibleHandshake`. diff --git a/http-exchange-instantiations.cabal b/http-exchange-instantiations.cabal index 5fb7873..508712b 100644 --- a/http-exchange-instantiations.cabal +++ b/http-exchange-instantiations.cabal @@ -1,26 +1,37 @@ cabal-version: 3.0 name: http-exchange-instantiations -version: 0.1.3.0 +version: 0.1.3.1 synopsis: Instantiations of http-exchange - --- description: +description: Instantiations of http-exchange. license: BSD-3-Clause license-file: LICENSE author: Andrew Martin -maintainer: andrew.thaddeus@gmail.com +maintainer: amartin@layer3com.com +homepage: https://github.com/byteverse/http-exchange-instantiations +bug-reports: + https://github.com/byteverse/http-exchange-instantiations/issues + copyright: 2023 Andrew Martin category: Network build-type: Simple -extra-doc-files: CHANGELOG.md +extra-doc-files: + CHANGELOG.md + README.md + +tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1 + +common build-settings + default-language: GHC2021 + ghc-options: -Wall -Wunused-packages library chanimpl - ghc-options: -Wall + import: build-settings + ghc-options: -O2 exposed-modules: SocketChannel SocketInterruptibleChannel TlsChannel - -- TlsInterruptibleChannel build-depends: , base >=4.16.3.0 && <5 , byteslice >=0.2.11 @@ -31,18 +42,17 @@ library chanimpl , stm >=2.5.1.0 , tls >=1.8 - hs-source-dirs: src-chanimpl - default-language: GHC2021 + hs-source-dirs: src-chanimpl library - ghc-options: -Wall + import: build-settings + ghc-options: -O2 exposed-modules: Http.Exchange.Network Http.Exchange.Tls build-depends: , base >=4.16.3.0 - , bytestring >=0.11 , chanimpl , http-exchange >=0.1.1 , http-interchange >=0.3.1 @@ -51,16 +61,16 @@ library , stm >=2.5.1.0 , tls >=1.7 - hs-source-dirs: src - default-language: GHC2021 + hs-source-dirs: src mixins: http-exchange (Exchange as SocketExchange) requires (Channel as SocketChannel), http-exchange (Exchange as TlsExchange) requires (Channel as TlsChannel), http-exchange (Exchange as SocketInterruptibleExchange) requires (Channel as SocketInterruptibleChannel) executable http-insecure - ghc-options: -Wall - main-is: Main.hs + import: build-settings + ghc-options: -O2 + main-is: Main.hs build-depends: , base >=4.16.3.0 , http-exchange-instantiations @@ -68,12 +78,12 @@ executable http-insecure , network >=3.1.4 , pretty-show >=1.10 - hs-source-dirs: app-http-insecure - default-language: GHC2021 + hs-source-dirs: app-http-insecure executable http-secure - ghc-options: -Wall - main-is: Main.hs + import: build-settings + ghc-options: -O2 + main-is: Main.hs build-depends: , base >=4.16.3.0 , data-default >=0.7.1 @@ -83,5 +93,8 @@ executable http-secure , pretty-show >=1.10 , tls >=1.7 - hs-source-dirs: app-http-secure - default-language: GHC2021 + hs-source-dirs: app-http-secure + +source-repository head + type: git + location: git://github.com/byteverse/http-exchange-instantiations.git