diff --git a/Cargo.toml b/Cargo.toml index 0c8133b..076affe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvbench" -version = "0.1.2-alpha" +version = "0.1.2" authors = ["Chen Chen "] description = "A key-value store benchmark framework with customizable workloads" edition = "2021" @@ -11,6 +11,10 @@ keywords = ["benchmark", "key-value"] categories = ["concurrency", "development-tools::profiling", "development-tools::testing"] exclude = ["examples"] +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [dependencies] ahash = "0.8.11" bincode = "1.3.3" diff --git a/src/lib.rs b/src/lib.rs index 5a4ecee..f687000 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +#![cfg_attr(docsrs, feature(doc_auto_cfg))] + //! A benchmark framework designed for testing key-value stores with easily customizable //! workloads. //!