Cargo.toml: Introduce 'quick-build-application' feature
Use it like this: cargo build --no-default-features --features quick-build-application It reduces dependencies to build from 154 to 125, allowing quicker iteration when developing the app.
This commit is contained in:
1 parent
905902d811
commit
cb4973987b
2 files changed
+23
-2
No files matched your search
@@ -246,6 +246,13 @@ jobs:
|
||||
command: check
|
||||
args: --locked --target=${{ matrix.job.target }} --verbose --lib --no-default-features --features regex-onig,git,paging
|
||||
|
||||
- name: "Feature check: quick-build-application"
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: ${{ matrix.job.use-cross }}
|
||||
command: check
|
||||
args: --locked --target=${{ matrix.job.target }} --verbose --no-default-features --features quick-build-application
|
||||
|
||||
- name: Create tarball
|
||||
id: package
|
||||
shell: bash
|
||||
|
||||
Reference in new issue
Block a user