The leveldb-haskell-fork package

[Tags:bsd3, library, test]

From http://leveldb.googlecode.com:

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

This library provides a Haskell language binding to LeveldDB. It is in very early stage and has seen very limited testing.

Note: as of v1.3, LevelDB can be built as a shared library. Thus, as of v0.1.0 of this library, LevelDB is no longer bundled and must be installed on the target system (version 1.7 or greater is required).


[Skip to Readme]

Properties

Versions 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.4.1, 0.3.4.2, 0.3.4.3, 0.3.4.4
Change log CHANGELOG
Dependencies async, base (>=3 && <5), bytestring (>=0.10.4.0), data-default, filepath, leveldb-haskell-fork, resourcet (>0.3.2), transformers [details]
License BSD3
Copyright Copyright (c) 2012-2014 The leveldb-haskell Authors
Author Kim Altintop et.al. (see AUTHORS file)
Maintainer kim.altintop@gmail.com
Category Database, FFI
Home page http://github.com/kim/leveldb-haskell
Bug tracker http://github.com/kim/leveldb-haskell/issues
Source repository head: git clone git://github.com/kim/leveldb-haskell.git
Uploaded Mon Dec 22 22:19:29 UTC 2014 by ifesdjeen
Distributions NixOS:0.3.4.4
Downloads 1365 total (23 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2014-12-23 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
examplesBuild examplesDisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for leveldb-haskell-fork

Readme for leveldb-haskell-fork-0.3.4.4

This library provides Haskell bindings to LevelDB

Build Status

History

Version 0.3.0:

  • ResourceT is no longer compulsory

Version 0.2.0:

  • requires LevelDB v1.7
  • support for filter policy (LevelDB v1.5), either custom or using the built-in bloom filter implementation
  • write batch values no longer require a memcpy to be early-finalizer-safe (introduced in 0.1.1)

Version 0.1.0:

  • memory (foreign pointers) is managed through ResourceT. Note that this requires to lift monadic actions inside the MonadResource monad, see the examples.
  • links against shared library (LevelDB v1.3 or higher)
  • LevelDB 1.3 API fully supported (including custom comparators, excluding custom environments)

Version 0.0.x:

  • experimental releases

Installation

Prerequisites:

Note: as of version 1.3, LevelDB can be built as a shared library. Thus, as of version 0.1.0 of this library, LevelDB is no longer bundled and must be installed on the target system.

To install the latest version from hackage:

$ cabal install leveldb-haskell

To install from checked-out source:

$ cabal install

Notes

This library is in very early stage and has seen very limited testing. Comments and contributions are welcome.

Bugs and Contributing

Please report issues via http://github.com/kim/leveldb-haskell/issues.<br /> Patches are best submitted as pull requests, or via email (kim.altintop@gmail.com).

License

BSD 3, see LICENSE file.