Skip to content

Commit

Permalink
librocksdb_sys: prefer tikv/rust-snappy (rust-rocksdb#780)
Browse files Browse the repository at this point in the history
* librocksdb_sys: prefer tikv/rust-snappy
* Fix make

Signed-off-by: Neil Shen <overvenus@gmail.com>
  • Loading branch information
overvenus committed Jan 11, 2024
1 parent 73ba736 commit c247909
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ out/
target
Cargo.lock
rust-toolchain
rust-toolchain.toml
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: format build test

prepare:
curl https://raw.githubusercontent.com/tikv/tikv/master/rust-toolchain > rust-toolchain
curl https://raw.githubusercontent.com/tikv/tikv/master/rust-toolchain.toml > rust-toolchain.toml

format: prepare
@cargo fmt --all
Expand Down
2 changes: 1 addition & 1 deletion librocksdb_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ optional = true
features = ["unprefixed_malloc_on_supported_platforms"]

[dependencies.snappy-sys]
git = "https://github.com/busyjay/rust-snappy.git"
git = "https://github.com/tikv/rust-snappy.git"
branch = "static-link"
2 changes: 1 addition & 1 deletion librocksdb_sys/libtitan_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ cc = "1.0.3"
cmake = "0.1"

[dependencies.snappy-sys]
git = "https://github.com/busyjay/rust-snappy.git"
git = "https://github.com/tikv/rust-snappy.git"
branch = "static-link"

0 comments on commit c247909

Please sign in to comment.