From 2c79cae275bf194d61c15059cba52a1c29dac4e0 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 8 Jan 2026 10:35:27 +0000 Subject: [PATCH] drover: task-1767765225063234946 Task: Implement bundle size monitoring --- Cargo.toml | 5 +++-- packages/bundle-size-monitor/Cargo.toml | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 packages/bundle-size-monitor/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index ebadd9c..e27f9cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,8 +89,9 @@ members = [ "examples/leptos", # Example application "scripts/run_quality_assessment", - "scripts/generate_component_tests" -, "leptos_v0_8_test_app"] + "scripts/generate_component_tests", + "packages/bundle-size-monitor", # Bundle size monitoring tool + "leptos_v0_8_test_app"] [workspace.package] authors = ["CloudShuttle "] diff --git a/packages/bundle-size-monitor/Cargo.toml b/packages/bundle-size-monitor/Cargo.toml new file mode 100644 index 0000000..c661235 --- /dev/null +++ b/packages/bundle-size-monitor/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "bundle-size-monitor" +description = "Automated bundle size tracking for WASM bundles" +publish = false + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = "0.9.0" + +[dependencies] +anyhow.workspace = true +cargo_metadata = "0.18" +chrono = "0.4" +dirs = "5.0" +serde.workspace = true +serde_json.workspace = true +glob = "0.3" + +[[bin]] +name = "bundle-size-monitor" +path = "src/main.rs"