change submodule rocksdb to point to nextgraph fork

master
Niko PLP 1 year ago
parent f8906c39ac
commit fc0b298e76
  1. 8
      .gitmodules
  2. 2
      Cargo.toml
  3. 2
      librocksdb-sys/Cargo.toml
  4. 8
      librocksdb-sys/build.rs
  5. 2
      librocksdb-sys/rocksdb
  6. 1
      librocksdb-sys/snappy

8
.gitmodules vendored

@ -1,6 +1,6 @@
[submodule "rocksdb_sys/snappy"]
path = librocksdb-sys/snappy
url = https://github.com/google/snappy.git
[submodule "rocksdb_sys/rocksdb"] [submodule "rocksdb_sys/rocksdb"]
path = librocksdb-sys/rocksdb path = librocksdb-sys/rocksdb
url = https://github.com/facebook/rocksdb.git url = https://git.nextgraph.org/NextGraph/rocksdb.git
[submodule "rocksdb_sys/lz4"]
path = librocksdb-sys/lz4
url = https://github.com/lz4/lz4.git

@ -21,7 +21,7 @@ exclude = [
members = ["librocksdb-sys"] members = ["librocksdb-sys"]
[features] [features]
default = ["snappy", "lz4", "zstd", "zlib", "bzip2"] default = []
jemalloc = ["librocksdb-sys/jemalloc"] jemalloc = ["librocksdb-sys/jemalloc"]
io-uring = ["librocksdb-sys/io-uring"] io-uring = ["librocksdb-sys/io-uring"]
valgrind = [] valgrind = []

@ -7,7 +7,7 @@ authors = ["Karl Hobley <karlhobley10@gmail.com>", "Arkadiy Paronyan <arkadiy@et
license = "MIT/Apache-2.0/BSD-3-Clause" license = "MIT/Apache-2.0/BSD-3-Clause"
description = "Native bindings to librocksdb" description = "Native bindings to librocksdb"
readme = "README.md" readme = "README.md"
repository = "https://github.com/rust-rocksdb/rust-rocksdb" repository = "https://git.nextgraph.org/NextGraph/rust-rocksdb"
keywords = [ "bindings", "ffi", "rocksdb" ] keywords = [ "bindings", "ffi", "rocksdb" ]
categories = [ "api-bindings", "database", "external-ffi-bindings" ] categories = [ "api-bindings", "database", "external-ffi-bindings" ]
links = "rocksdb" links = "rocksdb"

@ -55,14 +55,14 @@ fn build_rocksdb() {
if cfg!(feature = "snappy") { if cfg!(feature = "snappy") {
config.define("SNAPPY", Some("1")); config.define("SNAPPY", Some("1"));
config.include("snappy/"); if let Some(path) = env::var_os("DEP_SNAPPY_INCLUDE") {
config.include(path);
}
} }
if cfg!(feature = "lz4") { if cfg!(feature = "lz4") {
config.define("LZ4", Some("1")); config.define("LZ4", Some("1"));
if let Some(path) = env::var_os("DEP_LZ4_INCLUDE") { config.include("lz4/");
config.include(path);
}
} }
if cfg!(feature = "zstd") { if cfg!(feature = "zstd") {

@ -1 +1 @@
Subproject commit 3f7c92b9753b697ce6a5ea737086d2751f17956c Subproject commit 293fe1abf86a497efcaa777500565326f9be3a5a

@ -1 +0,0 @@
Subproject commit dc05e026488865bc69313a68bcc03ef2e4ea8e83
Loading…
Cancel
Save