From 0cea46de8e141f901b0dc37e5ebaa3d22708f68b Mon Sep 17 00:00:00 2001 From: web3-developer <51288821+web3-developer@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:19:20 +0800 Subject: [PATCH] Update library version and readme. --- README.md | 10 +--------- rocksdb.nimble | 4 ++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ccaf3ac..cb10454 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A Nim wrapper for [Facebook's RocksDB](https://github.com/facebook/rocksdb), a p ## Current status -Nim-RocksDB currently provides a wrapper for the low-level functions of RocksDB +Nim-RocksDB provides a wrapper for the low-level functions in the librocksdb c library. ## Requirements @@ -30,14 +30,6 @@ nim c -d:LibrocksbStaticArgs='-l:librocksdb.a' --gcc.linkerexe=g++ --threads:on (we need the C++ linker profile because it's a C++ library) -## Future directions - -In the future, Nim-RocksDB might provide a high-level API that: - -- is more in line with Nim conventions (types in CamelCase), -- automatically checks for errors, -- leverage Nim features like destructors for automatic resource cleanup. - ### Contribution Any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any diff --git a/rocksdb.nimble b/rocksdb.nimble index 0eee7b9..f6d0965 100644 --- a/rocksdb.nimble +++ b/rocksdb.nimble @@ -1,5 +1,5 @@ packageName = "rocksdb" -version = "0.3.1" +version = "0.4.0" author = "Status Research & Development GmbH" description = "A wrapper for Facebook's RocksDB, an embeddable, persistent key-value store for fast storage" license = "Apache License 2.0 or GPLv2" @@ -7,7 +7,7 @@ skipDirs = @["examples", "tests"] mode = ScriptMode.Verbose ### Dependencies -requires "nim >= 1.2.0", +requires "nim >= 1.6.0", "stew", "tempfile", "unittest2"