leveldb-haskell-fork: Haskell bindings to LevelDB

[ bsd3, database, ffi, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Flags

Manual Flags

NameDescriptionDefault
examples

Build examples

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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]
Tested with ghc ==7.2.2, ghc ==7.4.1
License BSD-3-Clause
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 repo head: git clone git://github.com/kim/leveldb-haskell.git
Uploaded by ifesdjeen at 2014-12-22T22:19:29Z
Distributions NixOS:0.3.4.4
Reverse Dependencies 1 direct, 0 indirect [details]
Executables leveldb-example-iterforkio, leveldb-example-filterpolicy, leveldb-example-features, leveldb-example-comparator
Downloads 5516 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2014-12-23 [all 1 reports]

Readme for leveldb-haskell-fork-0.3.4.4

[back to package description]

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.