Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
bb1922e8
Commit
bb1922e8
authored
Mar 18, 2020
by
Qinxuan Chen
Committed by
Yi Wu
Mar 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to the latest dependencies (#447)
Signed-off-by:
koushiro
<
koushiro.cqx@gmail.com
>
parent
0d0ed839
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
28 deletions
+20
-28
Cargo.toml
Cargo.toml
+2
-5
README.md
README.md
+3
-0
Cargo.toml
librocksdb_sys/Cargo.toml
+4
-11
Cargo.toml
librocksdb_sys/libtitan_sys/Cargo.toml
+3
-10
compaction_filter.rs
src/compaction_filter.rs
+8
-2
No files found.
Cargo.toml
View file @
bb1922e8
...
@@ -23,12 +23,9 @@ valgrind = []
...
@@ -23,12 +23,9 @@ valgrind = []
[dependencies]
[dependencies]
libc
=
"0.2.11"
libc
=
"0.2.11"
librocksdb_sys
=
{
path
=
"librocksdb_sys"
}
[dependencies.librocksdb_sys]
path
=
"librocksdb_sys"
[dev-dependencies]
[dev-dependencies]
rand
=
"0.7"
crc
=
"1.8"
crc
=
"1.8"
rand
=
"0.7"
tempfile
=
"3.1"
tempfile
=
"3.1"
tempdir
=
"0.3"
README.md
View file @
bb1922e8
# rust-rocksdb
# rust-rocksdb
[

](https://travis-ci.org/tikv/rust-rocksdb)
[

](https://deps.rs/repo/github/tikv/rust-rocksdb)
This library has been tested against RocksDB 6.4 on Linux and macOS.
This library has been tested against RocksDB 6.4 on Linux and macOS.
## Status
## Status
...
...
librocksdb_sys/Cargo.toml
View file @
bb1922e8
...
@@ -6,8 +6,11 @@ build = "build.rs"
...
@@ -6,8 +6,11 @@ build = "build.rs"
links
=
"rocksdb"
links
=
"rocksdb"
[dependencies]
[dependencies]
bzip2-sys
=
"0.1.8+1.0.8"
libc
=
"0.2.11"
libc
=
"0.2.11"
libtitan_sys
=
{
path
=
"libtitan_sys"
}
libtitan_sys
=
{
path
=
"libtitan_sys"
}
libz-sys
=
{
version
=
"1.0.25"
,
features
=
["static"]
}
zstd-sys
=
"1.4.15+zstd.1.4.4"
[dev-dependencies]
[dev-dependencies]
tempfile
=
"3.1"
tempfile
=
"3.1"
...
@@ -26,24 +29,14 @@ cmake = "0.1"
...
@@ -26,24 +29,14 @@ cmake = "0.1"
bindgen
=
"0.51"
bindgen
=
"0.51"
[dependencies.jemalloc-sys]
[dependencies.jemalloc-sys]
version
=
"0.
1.8
"
version
=
"0.
3.2
"
optional
=
true
optional
=
true
features
=
["unprefixed_malloc_on_supported_platforms"]
features
=
["unprefixed_malloc_on_supported_platforms"]
[dependencies.libz-sys]
version
=
"1.0.25"
features
=
["static"]
[dependencies.bzip2-sys]
git
=
"https://github.com/alexcrichton/bzip2-rs.git"
[dependencies.lz4-sys]
[dependencies.lz4-sys]
git
=
"https://github.com/busyjay/lz4-rs.git"
git
=
"https://github.com/busyjay/lz4-rs.git"
branch
=
"adjust-build"
branch
=
"adjust-build"
[dependencies.zstd-sys]
git
=
"https://github.com/gyscos/zstd-rs.git"
[dependencies.snappy-sys]
[dependencies.snappy-sys]
git
=
"https://github.com/busyjay/rust-snappy.git"
git
=
"https://github.com/busyjay/rust-snappy.git"
branch
=
"static-link"
branch
=
"static-link"
librocksdb_sys/libtitan_sys/Cargo.toml
View file @
bb1922e8
...
@@ -5,7 +5,10 @@ build = "build.rs"
...
@@ -5,7 +5,10 @@ build = "build.rs"
links
=
"titan"
links
=
"titan"
[dependencies]
[dependencies]
bzip2-sys
=
"0.1.8+1.0.8"
libc
=
"0.2.11"
libc
=
"0.2.11"
libz-sys
=
{
version
=
"1.0.25"
,
features
=
["static"]
}
zstd-sys
=
"1.4.15+zstd.1.4.4"
[features]
[features]
default
=
[]
default
=
[]
...
@@ -18,20 +21,10 @@ sse = []
...
@@ -18,20 +21,10 @@ sse = []
cc
=
"1.0.3"
cc
=
"1.0.3"
cmake
=
"0.1"
cmake
=
"0.1"
[dependencies.libz-sys]
version
=
"1.0.25"
features
=
["static"]
[dependencies.bzip2-sys]
git
=
"https://github.com/alexcrichton/bzip2-rs.git"
[dependencies.lz4-sys]
[dependencies.lz4-sys]
git
=
"https://github.com/busyjay/lz4-rs.git"
git
=
"https://github.com/busyjay/lz4-rs.git"
branch
=
"adjust-build"
branch
=
"adjust-build"
[dependencies.zstd-sys]
git
=
"https://github.com/gyscos/zstd-rs.git"
[dependencies.snappy-sys]
[dependencies.snappy-sys]
git
=
"https://github.com/busyjay/rust-snappy.git"
git
=
"https://github.com/busyjay/rust-snappy.git"
branch
=
"static-link"
branch
=
"static-link"
src/compaction_filter.rs
View file @
bb1922e8
...
@@ -250,7 +250,10 @@ mod tests {
...
@@ -250,7 +250,10 @@ mod tests {
drop
(
cf_opts
);
drop
(
cf_opts
);
assert
!
(
rx
.recv_timeout
(
Duration
::
from_secs
(
1
))
.is_ok
());
assert
!
(
rx
.recv_timeout
(
Duration
::
from_secs
(
1
))
.is_ok
());
let
dir
=
tempdir
::
TempDir
::
new
(
"compaction_filter"
)
.unwrap
();
let
dir
=
tempfile
::
Builder
::
new
()
.prefix
(
"compaction_filter"
)
.tempdir
()
.unwrap
();
let
path
=
dir
.path
()
.to_str
()
.unwrap
();
let
path
=
dir
.path
()
.to_str
()
.unwrap
();
let
(
tx
,
rx
)
=
mpsc
::
sync_channel
(
1
);
let
(
tx
,
rx
)
=
mpsc
::
sync_channel
(
1
);
...
@@ -281,7 +284,10 @@ mod tests {
...
@@ -281,7 +284,10 @@ mod tests {
drop
(
cf_opts
);
drop
(
cf_opts
);
assert
!
(
rx
.recv_timeout
(
Duration
::
from_secs
(
1
))
.is_ok
());
assert
!
(
rx
.recv_timeout
(
Duration
::
from_secs
(
1
))
.is_ok
());
let
dir
=
tempdir
::
TempDir
::
new
(
"compaction_filter"
)
.unwrap
();
let
dir
=
tempfile
::
Builder
::
new
()
.prefix
(
"compaction_filter"
)
.tempdir
()
.unwrap
();
let
path
=
dir
.path
()
.to_str
()
.unwrap
();
let
path
=
dir
.path
()
.to_str
()
.unwrap
();
let
(
tx
,
rx
)
=
mpsc
::
sync_channel
(
1
);
let
(
tx
,
rx
)
=
mpsc
::
sync_channel
(
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment