rocks-sys 0.1.1

Raw RocksDB bindings for Rust, used internally in rust-rocks
Documentation



src/%.rs: rocks/%.h
	bindgen --no-derive-debug \
		--no-layout-tests \
		--whitelist-function 'rocks.*?' \
		--whitelist-function 'cxx_.*?' \
		--whitelist-function 'free.*?' \
		--whitelist-type 'rocks.*?' \
		$^ -o $@

# $^ -o $@

#all: src/options.rs \
#	src/rate_limiter.rs \
#	src/db.rs \
#	src/status.rs

all: src/c.rs


format:
	find rocks/ -iname '*.h' -o -iname '*.cc' -o -iname '*.hpp' | xargs clang-format -style=file -i