Skip to content

Commit 629f645

Browse files
committed
Remove cyclic dependency of egui_demo_lib on itself
1 parent 5b2b8cf commit 629f645

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

Cargo.lock

-1
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,6 @@ dependencies = [
13391339
"criterion",
13401340
"document-features",
13411341
"egui",
1342-
"egui_demo_lib",
13431342
"egui_extras",
13441343
"egui_kittest",
13451344
"serde",

crates/egui_demo_lib/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ serde = { workspace = true, optional = true }
5555

5656

5757
[dev-dependencies]
58-
# when running tests we always want to use the `chrono` feature
59-
egui_demo_lib = { workspace = true, features = ["chrono"] }
60-
6158
criterion.workspace = true
6259
egui_kittest = { workspace = true, features = ["wgpu", "snapshot"] }
6360
wgpu = { workspace = true, features = ["metal"] }

crates/egui_demo_lib/src/demo/widget_gallery.rs

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ fn doc_link_label_with_crate<'a>(
286286
}
287287
}
288288

289+
#[cfg(feature = "chrono")]
289290
#[cfg(test)]
290291
mod tests {
291292
use super::*;

0 commit comments

Comments
 (0)