Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dlang
lmdb-d
Commits
83d983a5
Commit
83d983a5
authored
Feb 04, 2020
by
Carsten Schlote
Browse files
Updated Readme.md
parent
df08b918
Changes
1
Hide whitespace changes
Inline
Side-by-side
readme.md
View file @
83d983a5
This is a D language binding for the lmdb (lightning memmapped DB) library.
#
This is a D language binding for the lmdb (lightning memmapped DB) library.
Prerequisites
:
##
Prerequisites
-
You must have liblmdb.so 0.9.21 or newer installed on your system
-
A working D compiler and Dub.
Usage
:
##
Usage
-
Add 'lmdb' as a dependancy to your dub project file.
-
Please also read the dub documentation for details.
-
Then use
-
Then use the following import in your sources
```
import lmdb; /* Import the D binding module into scope */
```
## Advanced usage
There is some thin OO layer provided. It's experimental right now.
You can use it by using the import below
```
import lmdb_oo; /* Import optionally a more OO layer, WIP */
```
Todos:
-
Added real unit- and module-tests
## Todos
-
Add CI pipeline (on my own server with GitLab)
-
Added serious unit- and module-tests
Maybe:
-
Create D style OO layer instead of just porting the C++ approach.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment