Skip to content

Commit

Permalink
Prepare 0.1.3.1 release.
Browse files Browse the repository at this point in the history
Update package metadata.
Use new .github workflows.
  • Loading branch information
brianjosephmckeon committed Feb 15, 2024
1 parent 3a0ea96 commit 10ea35f
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 21 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@byteverse/l3c
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: release
on:
push:
tags:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/release.yaml@main
secrets: inherit
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
55 changes: 34 additions & 21 deletions http-exchange-instantiations.cabal
Original file line number Diff line number Diff line change
@@ -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: [email protected]
maintainer: [email protected]
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
Expand All @@ -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
Expand All @@ -51,29 +61,29 @@ 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
, http-interchange >=0.3.1
, 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
Expand All @@ -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

0 comments on commit 10ea35f

Please sign in to comment.