From 8965930ecd738d70a6cd1d3c9e406d2d9b8e902f Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Thu, 23 May 2024 20:26:58 +0300 Subject: [PATCH] ngpreview.2 with docsrs --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5827412..be8b49e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ng-rocksdb" description = "Rust wrapper for Facebook's RocksDB embeddable database, fork for Nextgraph.org" -version = "0.21.0-ngpreview.1" +version = "0.21.0-ngpreview.2" edition = "2018" rust-version = "1.60" authors = ["Tyler Neely ", "David Greenberg "] diff --git a/src/lib.rs b/src/lib.rs index ed81eba..aa2d93e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,7 +72,7 @@ clippy::from_over_into, )] -#[cfg(all(not(doc), NG_ROCKS_DB_NOT_FOUND))] +#[cfg(all(not(docsrs), NG_ROCKS_DB_NOT_FOUND))] std::compile_error!("empty librocksdb-sys/rocksdb directory"); #[macro_use]