cabal-version: 1.18
name: http-directory
version: 0.1.9
synopsis: http directory listing library
description:
Library for listing the files (href's) in an http directory.
It can also check the size, existence, modtime of files,
and for url redirects.
homepage: https://github.com/juhp/http-directory
bug-reports: https://github.com/juhp/http-directory/issues
license: MIT
license-file: LICENSE
author: Jens Petersen
maintainer: juhpetersen@gmail.com
copyright: 2019-2021 Jens Petersen
category: Network
build-type: Simple
extra-doc-files: README.md
, CHANGELOG.md
, example/Makefile
, example/latest-ghc.hs
, example/list-page.hs
tested-with: GHC== 7.4.2 || == 7.6.3 || == 7.8.4 || == 7.10.3
|| == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5
|| == 8.8.4 || == 8.10.5
source-repository head
type: git
location: https://github.com/juhp/http-directory.git
library
hs-source-dirs: src
exposed-modules: Network.HTTP.Directory
build-depends: base < 5,
bytestring,
html-conduit,
http-client,
http-client-tls,
http-conduit,
http-date >= 0.0.7,
http-types,
network-uri,
text,
time,
xml-conduit
if impl(ghc<8.0)
build-depends: semigroups,
cryptonite < 0.26
if impl(ghc < 8.3)
build-depends: tagstream-conduit < 0.5.6,
xml-conduit < 1.9
default-language: Haskell2010
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
test-suite test
main-is: Spec.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
build-depends: base >= 4 && < 5
, hspec >= 1.3
, http-directory
, text
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages