mirror of
https://github.com/logos-storage/nim-leveldb.git
synced 2026-04-18 09:13:46 +00:00
Transform leveldb into a 'hybrid' package
This allows users to use leveldb databases in their own nim programs.
This commit is contained in:
parent
b99907cc49
commit
533d4ed7e8
@ -5,6 +5,8 @@ author = "Michał Zieliński"
|
||||
description = "LevelDB wrapper for Nim"
|
||||
license = "MIT"
|
||||
srcDir = "src"
|
||||
installExt = @["nim"]
|
||||
skipDirs = @["tests"]
|
||||
binDir = "bin"
|
||||
bin = @["leveldb"]
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import options, strutils, leveldb/raw
|
||||
import options, strutils, leveldbpkg/raw
|
||||
|
||||
type
|
||||
LevelDb* = ref object
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import unittest, options, sequtils
|
||||
import leveldb, leveldb/raw
|
||||
import leveldb, leveldbpkg/raw
|
||||
|
||||
suite "leveldb":
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user