Skip to content

Conversation

@fulmicoton-dd
Copy link
Collaborator

Summary

  • Disable unused default features from 6 dependencies to reduce compile times and binary size
  • hyper-util: Changed from full to specific features (client-legacy, server-auto, server-graceful, service, tokio)
  • tokio-util: Changed from full to specific features (compat, io-util)
  • prometheus: Disabled protobuf default (only TextEncoder is used)
  • dialoguer: Disabled editor and password defaults (only Confirm is used)
  • zstd: Disabled legacy, arrays, and zdict_builder defaults
  • env_logger: Disabled humantime and regex defaults (timestamps are disabled anyway)

Test plan

  • cargo check --workspace passes

🤖 Generated with Claude Code

…d binary size

Optimizes hyper-util, tokio-util, prometheus, dialoguer, zstd, and env_logger by disabling default features that aren't used by the codebase.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@fulmicoton-dd fulmicoton-dd force-pushed the fulmicoton/remove-unused-dep-features branch from 23ba1f3 to e371278 Compare January 28, 2026 17:41
whichlang = "0.1"
wiremock = "0.6"
zstd = "0.13"
zstd = { version = "0.13", default-features = false }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removes legacy. I checked the legacy format is really old and predates Quickwit by a large margin.

@fulmicoton fulmicoton merged commit 73877d1 into main Jan 29, 2026
8 checks passed
@fulmicoton fulmicoton deleted the fulmicoton/remove-unused-dep-features branch January 29, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants