cabal-version:       2.2
name:                fuzzyfind
version:             2.2.0
license:             MIT
license-file:        LICENSE
author:        RĂșnar Bjarnason
maintainer:    RĂșnar Bjarnason <runar.bjarnason@unison.cloud>
stability:     experimental
homepage:      http://github.com/runarorama/fuzzyfind/
bug-reports:   http://github.com/runarorama/fuzzyfind/issues
copyright:     Copyright (C) 2021 Unison Computing
build-type:    Simple
tested-with:   GHC == 8.8.4, GHC == 8.10.4
synopsis:      Fuzzy text matching
description:   A package that provides an API for fuzzy text search in Haskell, using a modified version of the Smith-Waterman algorithm. The search is intended to behave similarly to the excellent fzf tool by Junegunn Choi.
category:      Text
extra-source-files: 
  .gitignore
  CHANGELOG.md
  README.markdown

source-repository head
  type: git
  location: https://github.com/runarorama/fuzzyfind

library 
  exposed-modules:     Text.FuzzyFind
  other-extensions:    DeriveGeneric, OverloadedLists, ScopedTypeVariables, ViewPatterns
  build-depends:       base ==4.*, massiv ==0.6.*, containers ==0.6.*, text ==1.2.*
  hs-source-dirs:      src
  default-language:    Haskell2010

executable bench
  main-is:        Bench.hs
  ghc-options:    -w -threaded -rtsopts -with-rtsopts=-N -v0
  hs-source-dirs: tests
  other-modules:
  default-language:    Haskell2010
  build-depends:
    base ==4.*,
    criterion ==1.5.*,
    deepseq ==1.4.*,
    fuzzyfind

test-suite spec
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: tests
  ghc-options: -Wall
  main-is: Spec.hs
  other-modules: FuzzyFindSpec
  build-depends: base == 4.*
               , hspec == 2.7.*
               , containers == 0.6.*
               , QuickCheck == 2.*
               , fuzzyfind