cabal-version: 3.0
name: network-unexceptional
version: 0.2.1.2
category: Network
synopsis: Network functions that do not throw exceptions
description:
Functions compatible with the Socket type from the network library that
do not convert POSIX error codes to thrown exceptions. This library
can throw exceptions, but they only happen in the case of misuse, not
as the result of anything a network peer does.
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: amartin@layer3com.com
homepage: https://github.com/byteverse/network-unexceptional
bug-reports: https://github.com/byteverse/network-unexceptional/issues
copyright: 2023 Andrew Martin
build-type: Simple
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages
library
import: build-settings
ghc-options: -O2
exposed-modules:
Network.Unexceptional
Network.Unexceptional.ByteArray
Network.Unexceptional.Bytes
Network.Unexceptional.ByteString
Network.Unexceptional.Chunks
Network.Unexceptional.MutableBytes
Network.Unexceptional.Types
build-depends:
, base >=4.16.3 && <5
, byteslice >=0.2.8
, bytestring >=0.11.4
, error-codes >=0.1.3
, network >=3.1
, posix-api >=0.7
, primitive >=0.9
, primitive-addr >=0.1.0.2
, stm >=2.5.1
hs-source-dirs: src
source-repository head
type: git
location: git://github.com/byteverse/network-unexceptional.git