Browse Source

put feature(test) behind unstable feat flag so compiling with stable works

master
Jonathan Strong 3 years ago
parent
commit
486d8bf300
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Cargo.toml
  2. +2
    -2
      src/lib.rs

+ 1
- 1
Cargo.toml View File

@@ -1,6 +1,6 @@
[package] [package]
name = "influx-writer" name = "influx-writer"
version = "0.19.1"
version = "0.19.2"
authors = ["Jonathan Strong <jonathan.strong@gmail.com>"] authors = ["Jonathan Strong <jonathan.strong@gmail.com>"]
edition = "2018" edition = "2018"
description = "opinionated influxdb client" description = "opinionated influxdb client"


+ 2
- 2
src/lib.rs View File

@@ -1,9 +1,9 @@
//! Utilities to efficiently send data to influx //! 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; extern crate test;
#[macro_use] #[macro_use]
extern crate slog; extern crate slog;


Loading…
Cancel
Save