Skip to content

Commit

Permalink
replace unmaintained dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidoon1 committed Mar 11, 2024
1 parent 0f8435b commit cf70a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion librocksdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ libz-sys = { version = "1.1", default-features = false, optional = true }
bzip2-sys = { version = "0.1", default-features = false, optional = true }

[dev-dependencies]
const-cstr = "0.3"
const-str = "0.5"
uuid = { version = "1", features = ["v4"] }

[build-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions librocksdb-sys/tests/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
unused_variables
)]

use const_cstr::const_cstr;
use libc::*;
use rust_librocksdb_sys::*;
use std::borrow::Cow;
Expand All @@ -42,7 +41,7 @@ macro_rules! err_println {
}

macro_rules! cstrp {
($($arg:tt)*) => (const_cstr!($($arg)*).as_ptr());
($($arg:tt)*) => (const_str::cstr!($($arg)*).as_ptr());
}

static mut phase: &str = "";
Expand Down

0 comments on commit cf70a91

Please sign in to comment.