summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Orchard <if_coding@fastmail.com>2021-08-03 22:35:39 -0700
committerDavid Orchard <if_coding@fastmail.com>2021-08-15 10:34:19 -0700
commit9075ca9018417f4b15b60f31e5e3aff64009132c (patch)
tree70dc9fb2f007ca3dd5df24dda1355501085f1313
parentbe82af2a474b9c6ac85ec1e001af1704521820e6 (diff)
Test with all features enabled in CI
-rw-r--r--.github/workflows/msrv.yml4
-rw-r--r--Cargo.toml3
2 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml
index 23e8047..3ec7270 100644
--- a/.github/workflows/msrv.yml
+++ b/.github/workflows/msrv.yml
@@ -63,6 +63,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
+ args: --all-features
- name: Run cargo test (nightly)
if: matrix.rust == '1.46.0'
@@ -70,7 +71,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
- args: --tests
+ args: --tests --all-features
- name: Run cargo test (nightly)
if: matrix.rust == 'nightly'
@@ -78,6 +79,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
+ args: --all-features
fmt:
needs: [check]
diff --git a/Cargo.toml b/Cargo.toml
index d530d06..fcc1c1e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,6 +46,3 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util
warp = "0.3.1"
futures = "0.3.15"
reqwest = "0.11.3"
-# Workaround to activate non-default features for tests:
-# https://github.com/rust-lang/cargo/issues/2911
-config = { path = ".", features = ["preserve_order"] }