diff options
author | Taiki Endo <te316e89@gmail.com> | 2019-11-01 13:09:32 +0900 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-10-31 21:09:32 -0700 |
commit | 02f7264008e0333d7c4df183d3bcfbda8a6d930f (patch) | |
tree | 6100ae0b9a96178970d9e9a73e3225134a5b38a8 /tests-build/Cargo.toml | |
parent | 2902e39db0151c9064be535b7983748eb9a0d92f (diff) |
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.
Diffstat (limited to 'tests-build/Cargo.toml')
-rw-r--r-- | tests-build/Cargo.toml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests-build/Cargo.toml b/tests-build/Cargo.toml deleted file mode 100644 index 36dbc883..00000000 --- a/tests-build/Cargo.toml +++ /dev/null @@ -1,25 +0,0 @@ -[package] -name = "tests-build" -version = "0.1.0" -authors = ["Tokio Contributors <team@tokio.rs>"] -edition = "2018" -publish = false - -[features] -# executor-without-current-thread = ["tokio-executor"] -# macros-invalid-input = ["tokio/rt-full"] -# net-no-features = ["tokio-net"] -# net-with-tcp = ["tokio-net/tcp"] -# net-with-udp = ["tokio-net/udp"] -# net-with-uds = ["tokio-net/uds"] -# net-with-process = ["tokio-net/process"] -# tokio-no-features = ["tokio"] -# tokio-with-net = ["tokio/net-full"] - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -# tokio = { path = "../tokio", optional = true, default-features = false } - -[dev-dependencies] -trybuild = "1.0" |