Skip to content

Trim dependency features and uncalled code - #240

Merged
romaintb merged 2 commits into
mainfrom
chore/trim-deps-and-dead-code
Sep 6, 2026
Merged

romaintb merged 2 commits into
mainfrom
chore/trim-deps-and-dead-code

Conversation

@romaintb

@romaintb romaintb commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

Two independent cuts found while auditing dependency weight. No behaviour change.

Changes

  • Code changes
  • Tests added/updated
  • Docs updated (README/CHANGELOG)

Deps (no source change): tokio was on "full" for time, sync, spawn and join. sea-orm was on defaults, enabling bigdecimal, rust_decimal, time, chrono and serde_json integrations no entity uses, plus rustls for a local SQLite file. Drops 27 packages, 296 -> 279 crates.

Dead code: Component::init, handle_events, on_focus and on_blur had no call sites; callers reach for handle_key_events directly. Also ScrollbarHelper::state, needs_scrollbar's visibility, and one unreferenced constant.

Checklist

  • cargo fmt passes
  • cargo clippy -- -D warnings passes
  • cargo test passes

tokio was on "full" for time, sync, spawn and join. sea-orm was on defaults,
enabling bigdecimal, rust_decimal, time, chrono and serde_json integrations no
entity uses, plus rustls for a local SQLite file.

Drops 27 packages, 296 -> 279 crates. No source change.
init, handle_events, on_focus and on_blur had no call sites; callers reach for
handle_key_events directly. Also ScrollbarHelper::state, needs_scrollbar's
visibility, and one unreferenced constant.
@romaintb romaintb self-assigned this Sep 6, 2026
@romaintb
romaintb merged commit 700aac3 into main Sep 6, 2026
9 checks passed
@romaintb
romaintb deleted the chore/trim-deps-and-dead-code branch September 6, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant