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-03 22:35:39 -0700
commit44d8ce79ff3900acf69040e63f3c299a576dc106 (patch)
tree1b222fe916b82be613b9feffbf4c49b0e1252b7e
parentc0a35f72ab0f492b3ab0ec3b19c30813ff8f7f25 (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"] }