Skip to content

Commit

Permalink
Merge #1956
Browse files Browse the repository at this point in the history
1956: feat: replace rocksdb wrapper r=zhangsoledad a=zhangsoledad

## Issue
Cargo fetch the git repository is unbearably slow

## Proposed Changes
Replace it with published crate.
explicitly `features = ["snappy"]` for backward compatibility.

Co-authored-by: zhangsoledad <787953403@qq.com>
  • Loading branch information
bors[bot] and zhangsoledad committed Mar 6, 2020
2 parents 95a67b4 + 556a766 commit 04d8fa8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 53 deletions.
84 changes: 35 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ ckb-logger = { path = "../util/logger" }
tempfile = "3.0"
ckb-error = { path = "../error" }
libc = "0.2"

[dependencies.rocksdb]
git = "https://github.com/nervosnetwork/rust-rocksdb"
rev = "a8dd2ad"
rocksdb = { package = "ckb-rocksdb", version = "=0.12.3", features = ["snappy"] }

0 comments on commit 04d8fa8

Please sign in to comment.