name: network-simple-tls
version: 0.1.0.0
synopsis: Simple interface to TLS secured network sockets.
description: Simple interface to TLS secured network sockets.
homepage: https://github.com/k0001/network-simple-tls
bug-reports: https://github.com/k0001/network-simple-tls/issues
license: BSD3
license-file: LICENSE
author: Renzo Carbonara
maintainer: renzocarbonaraλgmail.com
copyright: Copyright (c) Renzo Carbonara 2013
category: Network
build-type: Simple
cabal-version: >=1.8
extra-source-files: README.md PEOPLE
source-repository head
type: git
location: git://github.com/k0001/network-simple-tls.git
library
hs-source-dirs: src
exposed-modules: Network.Simple.TCP.TLS
build-depends: base (>=4.5 && <5.0)
, bytestring (>=0.9 && <0.10)
, certificate (>=1.3 && <1.4)
, crypto-random-api (>=0.2 && <0.3)
, network (>=2.3 && <2.5)
, network-simple (>=0.2 && <0.3)
, tls (>=1.1 && <1.2)
, tls-extra (>=0.6 && <0.7)
------------------------------------------------------------------------
-- Examples. All built when the 'examples' flag is given.
flag examples
description: Build examples
default: False
executable network-simple-tls-example-https-client
if !flag(examples)
buildable: False
hs-source-dirs: examples
main-is: https-client.hs
build-depends: base, bytestring, network-simple-tls, network,
tls-extra, tls, certificate
executable network-simple-tls-example-echo
if !flag(examples)
buildable: False
hs-source-dirs: examples
main-is: tls-echo.hs
build-depends: base, bytestring, network-simple-tls, network,
tls-extra, tls, certificate