From 5446ab4dca02131fc08a3a4ae4d9140c63b82ac9 Mon Sep 17 00:00:00 2001 From: Tyler Neely Date: Sun, 13 Nov 2016 20:00:48 +0100 Subject: [PATCH] rename rocksdb-sys --- .gitmodules | 4 ++-- Cargo.toml | 4 ++-- {rocksdb_sys => librocksdb-sys}/.gitignore | 0 {rocksdb_sys => librocksdb-sys}/Cargo.toml | 0 {rocksdb_sys => librocksdb-sys}/Makefile | 0 {rocksdb_sys => librocksdb-sys}/README.md | 0 {rocksdb_sys => librocksdb-sys}/build.rs | 0 {rocksdb_sys => librocksdb-sys}/build_version.cc | 0 {rocksdb_sys => librocksdb-sys}/build_version.h | 0 {rocksdb_sys => librocksdb-sys}/rocksdb | 0 {rocksdb_sys => librocksdb-sys}/rocksdb_lib_sources.txt | 0 {rocksdb_sys => librocksdb-sys}/snappy | 0 {rocksdb_sys => librocksdb-sys}/snappy-stubs-public.h | 0 {rocksdb_sys => librocksdb-sys}/src/lib.rs | 0 {rocksdb_sys => librocksdb-sys}/src/test.rs | 0 {rocksdb_sys => librocksdb-sys}/tests/ffi.rs | 0 src/lib.rs | 2 +- 17 files changed, 5 insertions(+), 5 deletions(-) rename {rocksdb_sys => librocksdb-sys}/.gitignore (100%) rename {rocksdb_sys => librocksdb-sys}/Cargo.toml (100%) rename {rocksdb_sys => librocksdb-sys}/Makefile (100%) rename {rocksdb_sys => librocksdb-sys}/README.md (100%) rename {rocksdb_sys => librocksdb-sys}/build.rs (100%) rename {rocksdb_sys => librocksdb-sys}/build_version.cc (100%) rename {rocksdb_sys => librocksdb-sys}/build_version.h (100%) rename {rocksdb_sys => librocksdb-sys}/rocksdb (100%) rename {rocksdb_sys => librocksdb-sys}/rocksdb_lib_sources.txt (100%) rename {rocksdb_sys => librocksdb-sys}/snappy (100%) rename {rocksdb_sys => librocksdb-sys}/snappy-stubs-public.h (100%) rename {rocksdb_sys => librocksdb-sys}/src/lib.rs (100%) rename {rocksdb_sys => librocksdb-sys}/src/test.rs (100%) rename {rocksdb_sys => librocksdb-sys}/tests/ffi.rs (100%) diff --git a/.gitmodules b/.gitmodules index 37f2c45..2c818bd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "rocksdb_sys/snappy"] - path = rocksdb_sys/snappy + path = librocksdb-sys/snappy url = https://github.com/google/snappy.git [submodule "rocksdb_sys/rocksdb"] - path = rocksdb_sys/rocksdb + path = librocksdb-sys/rocksdb url = https://github.com/facebook/rocksdb.git diff --git a/Cargo.toml b/Cargo.toml index f905f36..9dfc6d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rocksdb" description = "Rust wrapper for Facebook's RocksDB embeddable database" -version = "0.5.0" +version = "0.5.0-rc.1" authors = ["Tyler Neely ", "David Greenberg "] license = "Apache-2.0" keywords = ["database", "embedded", "LSM-tree", "persistence"] @@ -23,4 +23,4 @@ path = "test/test.rs" [dependencies] libc = "0.2" -rocksdb_sys = { path = "rocksdb-sys", version = "0.4.0" } +librocksdb-sys = { path = "librocksdb-sys", version = "0.4.0" } diff --git a/rocksdb_sys/.gitignore b/librocksdb-sys/.gitignore similarity index 100% rename from rocksdb_sys/.gitignore rename to librocksdb-sys/.gitignore diff --git a/rocksdb_sys/Cargo.toml b/librocksdb-sys/Cargo.toml similarity index 100% rename from rocksdb_sys/Cargo.toml rename to librocksdb-sys/Cargo.toml diff --git a/rocksdb_sys/Makefile b/librocksdb-sys/Makefile similarity index 100% rename from rocksdb_sys/Makefile rename to librocksdb-sys/Makefile diff --git a/rocksdb_sys/README.md b/librocksdb-sys/README.md similarity index 100% rename from rocksdb_sys/README.md rename to librocksdb-sys/README.md diff --git a/rocksdb_sys/build.rs b/librocksdb-sys/build.rs similarity index 100% rename from rocksdb_sys/build.rs rename to librocksdb-sys/build.rs diff --git a/rocksdb_sys/build_version.cc b/librocksdb-sys/build_version.cc similarity index 100% rename from rocksdb_sys/build_version.cc rename to librocksdb-sys/build_version.cc diff --git a/rocksdb_sys/build_version.h b/librocksdb-sys/build_version.h similarity index 100% rename from rocksdb_sys/build_version.h rename to librocksdb-sys/build_version.h diff --git a/rocksdb_sys/rocksdb b/librocksdb-sys/rocksdb similarity index 100% rename from rocksdb_sys/rocksdb rename to librocksdb-sys/rocksdb diff --git a/rocksdb_sys/rocksdb_lib_sources.txt b/librocksdb-sys/rocksdb_lib_sources.txt similarity index 100% rename from rocksdb_sys/rocksdb_lib_sources.txt rename to librocksdb-sys/rocksdb_lib_sources.txt diff --git a/rocksdb_sys/snappy b/librocksdb-sys/snappy similarity index 100% rename from rocksdb_sys/snappy rename to librocksdb-sys/snappy diff --git a/rocksdb_sys/snappy-stubs-public.h b/librocksdb-sys/snappy-stubs-public.h similarity index 100% rename from rocksdb_sys/snappy-stubs-public.h rename to librocksdb-sys/snappy-stubs-public.h diff --git a/rocksdb_sys/src/lib.rs b/librocksdb-sys/src/lib.rs similarity index 100% rename from rocksdb_sys/src/lib.rs rename to librocksdb-sys/src/lib.rs diff --git a/rocksdb_sys/src/test.rs b/librocksdb-sys/src/test.rs similarity index 100% rename from rocksdb_sys/src/test.rs rename to librocksdb-sys/src/test.rs diff --git a/rocksdb_sys/tests/ffi.rs b/librocksdb-sys/tests/ffi.rs similarity index 100% rename from rocksdb_sys/tests/ffi.rs rename to librocksdb-sys/tests/ffi.rs diff --git a/src/lib.rs b/src/lib.rs index 9d80f43..30f6f18 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,7 +32,7 @@ //! extern crate libc; -extern crate rocksdb_sys as ffi; +extern crate librocksdb_sys as ffi; #[macro_use] mod ffi_util;