cabal-version: 1.18 -- This file has been generated from package.yaml by hpack version 0.39.6. -- -- see: https://github.com/sol/hpack name: memcache version: 0.4.0.0 x-revision: 1 synopsis: A memcached client library. description: A client library for a Memcached cluster. Memcached is an in-memory key-value store typically used as a distributed and shared cache. Clients connect to a group of Memcached servers and perform out-of-band caching for things like SQL results, rendered pages, or third-party APIs. . It uses the Memcached Meta Text protocol and requires memcached 1.6.0 or newer. Username/password authentication is supported through memcached's @-Y authfile@ mode; the binary protocol and SASL authentication are no longer supported. It supports connecting to a single, or a cluster of Memcached servers. When connecting to a cluster, consistent hashing is used for routing requests to the appropriate server. Timeouts, retrying failed operations, and failover to a different server are all supported, as is Amazon ElastiCache auto discovery. . Multi-get is supported through the pipelined @getMany@. Keys containing whitespace or control bytes are sent using the protocol's base64 binary-key mode. . Basic usage is: . > import qualified Database.Memcache.Client as M > > mc <- M.newClient [M.ServerSpec "localhost" "11211" M.NoAuth] M.def > M.set mc "key" "value" 0 0 > v <- M.get mc "key" . You should only need to import 'Database.Memcache.Client', but other modules are exposed for lower-level use. Version 0.4 is a breaking change from 0.3; see the changelog for details. category: Database homepage: https://github.com/dterei/memcache-hs#readme bug-reports: https://github.com/dterei/memcache-hs/issues author: David Terei maintainer: David Terei copyright: 2012-2026 David Terei. license: BSD3 license-file: LICENSE build-type: Simple extra-source-files: package.yaml extra-doc-files: README.md CHANGELOG.md TODO.md source-repository head type: git location: https://github.com/dterei/memcache-hs library exposed-modules: Database.Memcache.Auth Database.Memcache.Client Database.Memcache.Cluster Database.Memcache.ElastiCacheClient Database.Memcache.Errors Database.Memcache.Server Database.Memcache.Socket Database.Memcache.Types other-modules: Database.Memcache.Types.Authentication Database.Memcache.Types.ServerSpec hs-source-dirs: ./ other-extensions: BangPatterns CPP DeriveDataTypeable FlexibleInstances RecordWildCards ScopedTypeVariables ghc-options: -Wall -Wextra -fwarn-tabs build-depends: base >=4.16 && <5 , base64-bytestring >=1.2.1.0 , bytestring >=0.11.4.0 , data-default >=0.7.1.1 , errors >=2.3.0 , hashable >=1.4.2.0 , network >=3.1.4.0 , network-uri >=2.6.4.2 , resource-pool >=0.2.3.2 , text >=1.2.5.0 , time >=1.11.1.1 , unliftio >=0.2.25.0 , vector >=0.12.3.1 default-language: Haskell2010 test-suite integration type: exitcode-stdio-1.0 main-is: Integration.hs other-modules: Paths_memcache hs-source-dirs: test-integration other-extensions: BangPatterns CPP OverloadedStrings ghc-options: -Wall -Wextra -threaded -rtsopts "-with-rtsopts=-N" build-depends: base >=4.16 && <5 , base64-bytestring >=1.2.1.0 , bytestring >=0.11.4.0 , directory , hspec , memcache , network , process , time default-language: Haskell2010 test-suite spec type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: MockServer hs-source-dirs: test other-extensions: BangPatterns CPP OverloadedStrings ghc-options: -Wall -Wextra -threaded -rtsopts "-with-rtsopts=-N" build-depends: base >=4.16 && <5 , base64-bytestring >=1.2.1.0 , bytestring >=0.11.4.0 , hspec , memcache , network , time >=1.11.1.1 , unliftio default-language: Haskell2010 benchmark parser type: exitcode-stdio-1.0 main-is: Parser.hs other-modules: Paths_memcache hs-source-dirs: bench other-extensions: BangPatterns CPP OverloadedStrings build-depends: base >=4.16 && <5 , base64-bytestring >=1.2.1.0 , bytestring >=0.11.4.0 , criterion , memcache , network >=3.1.4.0 , time >=1.11.1.1 default-language: Haskell2010