From 02f7264008e0333d7c4df183d3bcfbda8a6d930f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 1 Nov 2019 13:09:32 +0900 Subject: chore: check each feature works properly (#1695) It is hard to maintain features list manually, so use cargo-hack's `--each-feature` flag. And cargo-hack provides a workaround for an issue that dev-dependencies leaking into normal build (`--no-dev-deps` flag), so removed own ci tool. Also, compared to running tests on all features, there is not much advantage in running tests on each feature, so only the default features and all features are tested. If the behavior changes depending on the feature, we need to test it as another job in CI. --- tests-build/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 tests-build/src/lib.rs (limited to 'tests-build/src') diff --git a/tests-build/src/lib.rs b/tests-build/src/lib.rs deleted file mode 100644 index 7f38a440..00000000 --- a/tests-build/src/lib.rs +++ /dev/null @@ -1,8 +0,0 @@ -#[cfg(feature = "tokio-executor")] -pub use tokio_executor; - -#[cfg(feature = "tokio-net")] -pub use tokio_net; - -#[cfg(feature = "tokio")] -pub use tokio; -- cgit v1.2.3