packages feed

conduit-vfs-0.1.0.2: conduit-vfs.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 4d186f4f49fa7de0b6b2fc30db08191e3e9e0e42781693c78593f6768cdea4cb

name:           conduit-vfs
version:        0.1.0.2
synopsis:       Virtual file system for Conduit; disk, pure, and in-memory impls.
description:    The goal of this package is to provide a common library and the core implementations for things that can be made to look like filesystems. In this package, a "filesystem" is tree of nodes, where the leaf nodes are files and the rest are directories. A "directory" is defined as a node that contains other nodes, and those other nodes are each keyed by a name. A "file" is defined as a collection of (possibly empty) bytes.
                This package includes the core types for a Virtual File System (VFS) abstraction for conduit, along with three implementations. The implementations are "disk" (write to the underlying filesystem), "in-memory" (store files in an MVar), and "pure" (pass state in a State monad). Because of the nature of conduits, this library defaults to lazy implementations of various data structures, including lazy ByteStrings and lazy HashMaps. Any overhead in space should be more than warranted by the savings through just-in-time computations.
                For more information, see the README on GitHub at <https://github.com/RobertFischer/vfs-conduit#README.md>
category:       Conduit, IO, Filesystem
homepage:       https://github.com/RobertFischer/vfs-conduit#readme
bug-reports:    https://github.com/RobertFischer/vfs-conduit/issues
author:         Robert Fischer
maintainer:     smokejumperit@gmail.com
copyright:      (c)2019 Robert Fischer. All Rights Reserved. See LICENSE for liscensing terms.
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/RobertFischer/vfs-conduit

library
  exposed-modules:
      Data.Conduit.VFS
      Data.Conduit.VFS.Disk
      Data.Conduit.VFS.Import
      Data.Conduit.VFS.InMemory
      Data.Conduit.VFS.Pure
      Data.Conduit.VFS.Types
  other-modules:
      Paths_conduit_vfs
  hs-source-dirs:
      src
  default-extensions: AutoDeriveTypeable BangPatterns BinaryLiterals ConstraintKinds DataKinds DefaultSignatures DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DoAndIfThenElse EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase MonadFailDesugaring MultiParamTypeClasses MultiWayIf NamedFieldPuns NoImplicitPrelude OverloadedStrings PartialTypeSignatures PatternGuards PolyKinds RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving TypeFamilies TypeSynonymInstances ViewPatterns TemplateHaskell TupleSections UnboxedTuples QuasiQuotes DeriveLift ExtendedDefaultRules
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -optP-Wno-nonportable-include-path -fno-warn-type-defaults -fno-warn-tabs -fno-warn-unused-top-binds
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10.8.2 && <0.11
    , classy-prelude >=1.5.0 && <1.6
    , conduit >=1.3.1.1 && <1.4
    , conduit-extra >=1.3.1.1 && <1.4
    , directory >=1.3.3.0 && <1.4
    , extra >=1.6.16 && <1.7
    , filepath >=1.4.2.1 && <1.5
    , monad-loops >=0.4.3 && <0.5
    , mono-traversable >=1.0.11.0 && <1.1
    , resourcet >=1.2.2 && <1.3
    , text >=1.2.3.1 && <1.3
    , transformers >=0.5.6.2 && <0.6
    , unix >=2.7.2.2 && <2.8
    , unliftio >=0.2.10 && <0.3
    , unordered-containers >=0.2.10.0 && <0.3
  default-language: Haskell2010

test-suite conduit-vfs-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_conduit_vfs
  hs-source-dirs:
      test
  default-extensions: AutoDeriveTypeable BangPatterns BinaryLiterals ConstraintKinds DataKinds DefaultSignatures DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DoAndIfThenElse EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase MonadFailDesugaring MultiParamTypeClasses MultiWayIf NamedFieldPuns NoImplicitPrelude OverloadedStrings PartialTypeSignatures PatternGuards PolyKinds RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving TypeFamilies TypeSynonymInstances ViewPatterns TemplateHaskell TupleSections UnboxedTuples QuasiQuotes DeriveLift ExtendedDefaultRules
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -optP-Wno-nonportable-include-path -fno-warn-type-defaults -fno-warn-tabs -fno-warn-unused-top-binds -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10.8.2 && <0.11
    , classy-prelude >=1.5.0 && <1.6
    , conduit >=1.3.1.1 && <1.4
    , conduit-extra >=1.3.1.1 && <1.4
    , conduit-vfs
    , directory >=1.3.3.0 && <1.4
    , extra >=1.6.16 && <1.7
    , filepath >=1.4.2.1 && <1.5
    , monad-loops >=0.4.3 && <0.5
    , mono-traversable >=1.0.11.0 && <1.1
    , resourcet >=1.2.2 && <1.3
    , text >=1.2.3.1 && <1.3
    , transformers >=0.5.6.2 && <0.6
    , unix >=2.7.2.2 && <2.8
    , unliftio >=0.2.10 && <0.3
    , unordered-containers >=0.2.10.0 && <0.3
  default-language: Haskell2010