packages feed

r-tree-1.0.0.0: r-tree.cabal

cabal-version: 2.2

name:                   r-tree
version:                1.0.0.0
synopsis:               R-/R*-trees.
description:            R-trees and R*-trees.

                        See the <https://github.com/sebastian-philipp/r-tree/blob/master/README.md README>
                        for a brief overview of the data structures included in this package.

license:                MIT
license-file:           LICENSE
author:                 Sebastian Wagner, Birte Wagner, Oleksii Divak
maintainer:             Oleksii Divak <frozenwitness@gmail.com>
copyright:              Sebastian Wagner, Birte Wagner, Oleksii Divak
category:               Data Structures
build-type:             Simple

extra-doc-files:        CHANGELOG.md
                        README.md

bug-reports:            https://github.com/sebastian-philipp/r-tree/issues
homepage:               https://github.com/sebastian-philipp/r-tree

source-repository head
  type:                 git
  location:             https://github.com/sebastian-philipp/r-tree.git



library
  build-depends:        base      >= 4.12  && < 5
                      , deepseq   >= 1.4.3 && < 1.6

  hs-source-dirs:       src

  exposed-modules:      Data.R2Tree.Double
                        Data.R2Tree.Double.Debug
                        Data.R2Tree.Double.Unsafe
                        Data.R2Tree.Float
                        Data.R2Tree.Float.Debug
                        Data.R2Tree.Float.Unsafe

  other-modules:        Data.R2Tree.Double.Internal
                        Data.R2Tree.Float.Internal

  ghc-options:          -Wall

  default-language:     Haskell2010

benchmark time
  build-depends:        base
                      , r-tree
                      , deepseq
                      , tasty-bench >= 0.3 && < 0.5
                      , random      >= 1.2 && < 1.3

  type:                 exitcode-stdio-1.0

  main-is:              Main.hs

  ghc-options:          -Wall

  hs-source-dirs:       benchmark/time

  default-language:     Haskell2010

benchmark space
  build-depends:        base
                      , r-tree
                      , random
                      , weigh       >= 0.0.16 && < 0.1

  type:                 exitcode-stdio-1.0

  main-is:              Main.hs

  ghc-options:          -Wall

  hs-source-dirs:       benchmark/space

  default-language:     Haskell2010

test-suite properties
  build-depends:        base
                      , r-tree
                      , deepseq
                      , hspec       >= 2 && < 2.12
                      , random

  type:                 exitcode-stdio-1.0

  main-is:              Main.hs

  other-modules:        No.Tree.D2

                        Test.Kit
                        Test.R2Tree.Double
                        Test.R2Tree.Double.Sample

  ghc-options:          -Wall

  hs-source-dirs:       no
                      , test/properties

  default-language:     Haskell2010