Skip to content

Commit

Permalink
rename librocksdb-sys library
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidoon1 committed Feb 10, 2024
1 parent 0b821d3 commit 902f54d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rust-rocksdb"
description = "Rust wrapper for Facebook's RocksDB embeddable database"
version = "0.22.0"
version = "0.22.1"
edition = "2021"
rust-version = "1.75.0"
authors = ["Tyler Neely <t@jujit.su>", "David Greenberg <dsg123456789@gmail.com>"]
Expand All @@ -22,21 +22,21 @@ members = ["librocksdb-sys"]

[features]
default = ["snappy", "lz4", "zstd", "zlib", "bzip2"]
jemalloc = ["librocksdb-sys/jemalloc"]
io-uring = ["librocksdb-sys/io-uring"]
jemalloc = ["rust-librocksdb-sys/jemalloc"]
io-uring = ["rust-librocksdb-sys/io-uring"]
valgrind = []
snappy = ["librocksdb-sys/snappy"]
lz4 = ["librocksdb-sys/lz4"]
zstd = ["librocksdb-sys/zstd"]
zlib = ["librocksdb-sys/zlib"]
bzip2 = ["librocksdb-sys/bzip2"]
rtti = ["librocksdb-sys/rtti"]
snappy = ["rust-librocksdb-sys/snappy"]
lz4 = ["rust-librocksdb-sys/lz4"]
zstd = ["rust-librocksdb-sys/zstd"]
zlib = ["rust-librocksdb-sys/zlib"]
bzip2 = ["rust-librocksdb-sys/bzip2"]
rtti = ["rust-librocksdb-sys/rtti"]
multi-threaded-cf = []
serde1 = ["serde"]

[dependencies]
libc = "0.2"
librocksdb-sys = { path = "librocksdb-sys", version = "0.16.0" }
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.16.0" }
serde = { version = "1", features = [ "derive" ], optional = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions librocksdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "librocksdb-sys"
name = "rust-librocksdb-sys"
version = "0.16.0+8.10.0"
edition = "2021"
rust-version = "1.75.0"
authors = ["Karl Hobley <karlhobley10@gmail.com>", "Arkadiy Paronyan <arkadiy@ethcore.io>"]
license = "MIT/Apache-2.0/BSD-3-Clause"
description = "Native bindings to librocksdb"
readme = "README.md"
repository = "https://github.com/rust-rocksdb/rust-rocksdb"
repository = "https://github.com/zaidoon1/rust-rocksdb"
keywords = [ "bindings", "ffi", "rocksdb" ]
categories = [ "api-bindings", "database", "external-ffi-bindings" ]
links = "rocksdb"
Expand Down
2 changes: 1 addition & 1 deletion librocksdb-sys/tests/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

use const_cstr::const_cstr;
use libc::*;
use librocksdb_sys::*;
use rust_librocksdb_sys::*;
use std::borrow::Cow;
use std::env;
use std::ffi::{CStr, CString};
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub use crate::{
write_batch::{WriteBatch, WriteBatchIterator, WriteBatchWithTransaction},
};

use librocksdb_sys as ffi;
use rust_librocksdb_sys as ffi;

use std::error;
use std::fmt;
Expand Down

0 comments on commit 902f54d

Please sign in to comment.