mirror of
https://github.com/storytold/egui.git
synced 2026-11-25 03:53:35 +01:00
Allow compiling eframe with --no-default-features (#2728)
* Check that we can compile eframe with --no-default-features * Allow compiling eframe with `--no-default-features` This is useful for libraries that depend on `eframe::Frame` but don't care what renderer eframe is using.
This commit is contained in:
1 parent
e3e781ced8
commit
df7e5bd57a
4 files changed
+48
-11
No files matched your search
@@ -47,24 +47,30 @@ jobs:
|
||||
with:
|
||||
crate: cargo-cranky
|
||||
|
||||
- name: Check all features
|
||||
- name: check --all-features
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --locked --all-features --all-targets
|
||||
|
||||
- name: Check default features
|
||||
- name: check default features
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --locked --all-targets
|
||||
|
||||
- name: Check no default features
|
||||
- name: check --no-default-features
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --locked --no-default-features --lib --all-targets
|
||||
|
||||
- name: check eframe --no-default-features
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --locked --no-default-features --lib --all-targets -p eframe
|
||||
|
||||
- name: Test doc-tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user