feat(lib): disable all optional features by default (#2336)
BREAKING CHANGE: All optional features have been disabled by default.
This commit is contained in:
8
.github/workflows/CI.yml
vendored
8
.github/workflows/CI.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/bench.yml
vendored
2
.github/workflows/bench.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user