From bb252e2788a8db8fedd6e7dfc0700aad52f6aa70 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 23 May 2023 09:26:40 +0200 Subject: [PATCH] Check `egui_extras --all-features` on CI (#3019) * Check egui_extras --all-features on CI * Fix egui_extras with `datepicker` feature --- .github/workflows/rust.yml | 6 ++++++ crates/egui_extras/Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fbf69917..201fec28 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -53,6 +53,12 @@ jobs: command: check args: --locked --all-features --all-targets + - name: check egui_extras --all-features + uses: actions-rs/cargo@v1 + with: + command: check + args: --locked --all-features --all-targets -p egui_extras + - name: check default features uses: actions-rs/cargo@v1 with: diff --git a/crates/egui_extras/Cargo.toml b/crates/egui_extras/Cargo.toml index b42dd5c1..b4fb1b55 100644 --- a/crates/egui_extras/Cargo.toml +++ b/crates/egui_extras/Cargo.toml @@ -44,7 +44,7 @@ serde = { version = "1", features = ["derive"] } #! ### Optional dependencies # Date operations needed for datepicker widget -chrono = { version = "0.4", optional = true, default-features = false, feature = [ +chrono = { version = "0.4", optional = true, default-features = true, feature = [ "js-sys", "wasmbind", ] }