diff --git a/Cargo.toml b/Cargo.toml index c28f732..6b5d667 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "influx-writer" -version = "0.19.1" +version = "0.19.2" authors = ["Jonathan Strong "] edition = "2018" description = "opinionated influxdb client" diff --git a/src/lib.rs b/src/lib.rs index fa7a212..da0b9ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,9 @@ //! Utilities to efficiently send data to influx //! -#![feature(test)] +#![cfg_attr(feature = "unstable", feature(test))] -#[cfg(test)] +#[cfg(all(feature = "unstable", test))] extern crate test; #[macro_use] extern crate slog;