Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
208 changes: 205 additions & 3 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ dependencies = [
"memchr",
]

[[package]]
name = "alloca"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4"
dependencies = [
"cc",
]

[[package]]
name = "allocator-api2"
version = "0.2.21"
Expand Down Expand Up @@ -202,6 +211,12 @@ dependencies = [
"libc",
]

[[package]]
name = "anes"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"

[[package]]
name = "anstream"
version = "1.0.0"
Expand Down Expand Up @@ -709,6 +724,12 @@ dependencies = [
"wayland-client",
]

[[package]]
name = "cast"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"

[[package]]
name = "cc"
version = "1.4.0"
Expand Down Expand Up @@ -742,6 +763,58 @@ dependencies = [
"libc",
]

[[package]]
name = "ciborium"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
dependencies = [
"ciborium-io",
"ciborium-ll",
"serde",
]

[[package]]
name = "ciborium-io"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"

[[package]]
name = "ciborium-ll"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
dependencies = [
"ciborium-io",
"half",
]

[[package]]
name = "clap"
version = "4.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca"
dependencies = [
"clap_builder",
]

[[package]]
name = "clap_builder"
version = "4.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889"
dependencies = [
"anstyle",
"clap_lex",
]

[[package]]
name = "clap_lex"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"

[[package]]
name = "clipboard-win"
version = "5.4.1"
Expand Down Expand Up @@ -855,6 +928,39 @@ dependencies = [
"cfg-if",
]

[[package]]
name = "criterion"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3"
dependencies = [
"alloca",
"anes",
"cast",
"ciborium",
"clap",
"criterion-plot",
"itertools 0.13.0",
"num-traits",
"oorandom",
"page_size",
"regex",
"serde",
"serde_json",
"tinytemplate",
"walkdir",
]

[[package]]
name = "criterion-plot"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea"
dependencies = [
"cast",
"itertools 0.13.0",
]

[[package]]
name = "crossbeam-deque"
version = "0.8.7"
Expand Down Expand Up @@ -967,7 +1073,8 @@ dependencies = [
"linked_axes",
"log",
"markers",
"performance",
"performance_lines",
"performance_markers",
"plot_span",
"save_plot",
"stacked_bar",
Expand Down Expand Up @@ -1107,7 +1214,7 @@ dependencies = [
"bitflags 2.13.1",
"emath",
"epaint",
"itertools",
"itertools 0.15.0",
"log",
"nohash-hasher",
"profiling",
Expand Down Expand Up @@ -1202,12 +1309,14 @@ version = "0.37.0"
dependencies = [
"ahash",
"assertables",
"criterion",
"document-features",
"egui",
"egui_kittest",
"emath",
"env_logger",
"log",
"performance_lines",
"serde",
]

Expand Down Expand Up @@ -1378,6 +1487,7 @@ dependencies = [
"eframe",
"egui",
"egui_kittest",
"egui_plot",
]

[[package]]
Expand Down Expand Up @@ -1969,6 +2079,15 @@ dependencies = [
"examples_utils",
]

[[package]]
name = "itertools"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
dependencies = [
"either",
]

[[package]]
name = "itertools"
version = "0.15.0"
Expand All @@ -1978,6 +2097,12 @@ dependencies = [
"either",
]

[[package]]
name = "itoa"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"

[[package]]
name = "jiff"
version = "0.2.35"
Expand Down Expand Up @@ -2740,6 +2865,12 @@ version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"

[[package]]
name = "oorandom"
version = "11.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"

[[package]]
name = "open"
version = "5.4.0"
Expand Down Expand Up @@ -2788,6 +2919,16 @@ dependencies = [
"ttf-parser",
]

[[package]]
name = "page_size"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da"
dependencies = [
"libc",
"winapi",
]

[[package]]
name = "parking"
version = "2.2.1"
Expand Down Expand Up @@ -2837,7 +2978,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"

[[package]]
name = "performance"
name = "performance_lines"
version = "0.1.0"
dependencies = [
"eframe",
"egui_plot",
"env_logger",
"examples_utils",
]

[[package]]
name = "performance_markers"
version = "0.1.0"
dependencies = [
"eframe",
Expand Down Expand Up @@ -3426,6 +3577,19 @@ dependencies = [
"syn 3.0.3",
]

[[package]]
name = "serde_json"
version = "1.0.151"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
dependencies = [
"itoa",
"memchr",
"serde",
"serde_core",
"zmij",
]

[[package]]
name = "serde_repr"
version = "0.1.21"
Expand Down Expand Up @@ -3777,6 +3941,16 @@ dependencies = [
"zerovec",
]

[[package]]
name = "tinytemplate"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
dependencies = [
"serde",
"serde_json",
]

[[package]]
name = "toml"
version = "1.1.4+spec-1.1.0"
Expand Down Expand Up @@ -4417,6 +4591,22 @@ dependencies = [
"web-sys",
]

[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]

[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"

[[package]]
name = "winapi-util"
version = "0.1.11"
Expand All @@ -4426,6 +4616,12 @@ dependencies = [
"windows-sys 0.61.2",
]

[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"

[[package]]
name = "windows"
version = "0.62.2"
Expand Down Expand Up @@ -5031,6 +5227,12 @@ dependencies = [
"syn 2.0.119",
]

[[package]]
name = "zmij"
version = "1.0.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"

[[package]]
name = "zune-core"
version = "0.5.1"
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ legend_sort = { version = "0.1.0", path = "examples/legend_sort" }
lines = { version = "0.1.0", path = "examples/lines" }
linked_axes = { version = "0.1.0", path = "examples/linked_axes" }
markers = { version = "0.1.0", path = "examples/markers" }
performance = { version = "0.1.0", path = "examples/performance" }
performance_lines = { version = "0.1.0", path = "examples/performance_lines" }
performance_markers = { version = "0.1.0", path = "examples/performance_markers" }
plot_span = { version = "0.1.0", path = "examples/plot_span" }
save_plot = { version = "0.1.0", path = "examples/save_plot" }
stacked_bar = { version = "0.1.0", path = "examples/stacked_bar" }
Expand Down
3 changes: 2 additions & 1 deletion demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ legend_sort.workspace = true
lines.workspace = true
linked_axes.workspace = true
markers.workspace = true
performance.workspace = true
performance_lines.workspace = true
performance_markers.workspace = true
plot_span.workspace = true
save_plot.workspace = true
stacked_bar.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion demo/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ impl DemoGallery {
Box::new(lines::LineExample::default()),
Box::new(linked_axes::LinkedAxesExample::default()),
Box::new(markers::MarkerDemo::default()),
Box::new(performance::PerformanceDemo::default()),
Box::new(performance_lines::PerformanceLinesDemo::default()),
Box::new(performance_markers::PerformanceMarkersDemo::default()),
Box::new(plot_span::PlotSpanDemo::default()),
Box::new(save_plot::SavePlotExample::default()),
Box::new(stacked_bar::StackedBarExample::default()),
Expand Down
7 changes: 7 additions & 0 deletions egui_plot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ serde = { workspace = true, optional = true }

[dev-dependencies]
assertables.workspace = true
criterion = { version = "0.8.2", default-features = false }
egui = { workspace = true, features = ["default_fonts"] }
egui_kittest.workspace = true
env_logger.workspace = true
log.workspace = true
performance_lines.workspace = true

[[bench]]
name = "performance"
harness = false
Loading
Loading