feat(lib): disable all optional features by default (#2336)

BREAKING CHANGE: All optional features have been disabled by default.
This commit is contained in:
Sean McArthur
2020-11-19 10:05:39 -08:00
committed by GitHub
parent abb6471690
commit ed2b22a7f6
5 changed files with 68 additions and 55 deletions

View File

@@ -59,11 +59,11 @@ jobs:
include:
- rust: stable
features: ""
features: "--features full"
- rust: beta
features: ""
features: "--features full"
- rust: nightly
features: "--features nightly"
features: "--features full,nightly"
benches: true
runs-on: ${{ matrix.os }}
@@ -132,4 +132,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: rustdoc
args: -- -D broken-intra-doc-links
args: --features full -- -D broken-intra-doc-links

View File

@@ -26,7 +26,7 @@ jobs:
# Run benchmark and stores the output to a file
- name: Run benchmark
run: cargo bench --bench ${{ matrix.bench }} | tee output.txt
run: cargo bench --features full --bench ${{ matrix.bench }} | tee output.txt
# Download previous benchmark result from cache (if exists)
- name: Download previous benchmark data