Skip to content

Commit 399ba3f

Browse files
committed
Cargo.toml: Make slang a default feature
It is now stable enough in a sense that it compiles on all platform without major issues
1 parent 6caee13 commit 399ba3f

5 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
shared-key: ci-test-${{ matrix.os }}-${{ matrix.rust }}
3939
cache-workspace-crates: "true"
4040
- name: Build
41-
run: cargo build --all-features
41+
run: cargo build
4242
- name: Cargo Test
43-
run: cargo test --workspace --all-features
43+
run: cargo test --workspace
4444
- name: Run unit-tests
4545
run: tests/run_all.sh
4646
shell: bash
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
shared-key: ci-clippy-${{ runner.os }}-stable
6262
cache-workspace-crates: "true"
63-
- run: cargo clippy --all-features
63+
- run: cargo clippy
6464

6565
unused-deps:
6666
name: Unused Dependencies

.github/workflows/cli_regression.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
toolchain: stable
2121
- name: Run CLI Regression
22-
run: cargo test --all-features --test cli_regression -- --ignored
22+
run: cargo test --test cli_regression -- --ignored
2323
env:
2424
BENDER_TEST_GOLDEN_BRANCH: ${{ github.base_ref }}
2525

@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
toolchain: stable
3535
- name: Run CLI Regression
36-
run: cargo test --all-features --test cli_regression -- --ignored
36+
run: cargo test --test cli_regression -- --ignored
3737
env:
3838
BENDER_TEST_GOLDEN_BRANCH: ${{ github.base_ref }}
3939

@@ -47,6 +47,6 @@ jobs:
4747
with:
4848
toolchain: stable
4949
- name: Run CLI Regression
50-
run: cargo test --all-features --test cli_regression -- --ignored
50+
run: cargo test --test cli_regression -- --ignored
5151
env:
5252
BENDER_TEST_GOLDEN_BRANCH: ${{ github.base_ref }}

.github/workflows/release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ jobs:
5656
shared-key: release-build-${{ matrix.target }}
5757
cache-workspace-crates: "true"
5858
- name: Build (release)
59-
run: cargo build --release --all-features
59+
run: cargo build --release

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ assert_cmd = "2.1.1"
6060
pretty_assertions = "1.4"
6161

6262
[features]
63+
default = ["slang"]
6364
slang = ["dep:bender-slang"]

dist-workspace.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-da
1515
install-path = "CARGO_HOME"
1616
# Whether to install an updater program
1717
install-updater = false
18-
# Whether to pass --all-features to cargo build
19-
all-features = true
2018
# Whether +crt-static should be used on msvc
2119
msvc-crt-static = false
2220

0 commit comments

Comments
 (0)