Transform leveldb into a 'hybrid' package

This allows users to use leveldb databases in their own nim programs.
This commit is contained in:
Colin Coombs 2019-12-18 13:18:05 +00:00 committed by Xie Yanbo
parent b99907cc49
commit 533d4ed7e8
4 changed files with 4 additions and 2 deletions

View File

@ -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"]

View File

@ -1,4 +1,4 @@
import options, strutils, leveldb/raw
import options, strutils, leveldbpkg/raw
type
LevelDb* = ref object

View File

@ -1,5 +1,5 @@
import unittest, options, sequtils
import leveldb, leveldb/raw
import leveldb, leveldbpkg/raw
suite "leveldb":