Skip to content

Conversation

@jaudiger
Copy link
Contributor

This PR tweak the dependencies to remove two of them in the build graph of crates/brioche-packed-*-exec crates:

  • by removing the bincode crate which was not used -> we were only deriving some traits but nothing else
  • by not exposing the schemars crate, and putting it behind a feature flag named schema in runnable-core for the other crates

At the end, the binaries size are equals, since the LTO was already doing its job by removing dead code. It just reduces (a little little little bit) the compilation time since we derive fewer traits.

Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
… crates

Signed-off-by: Jérémy Audiger <jeremy.audiger@icloud.com>
@jaudiger jaudiger requested a review from kylewlacy January 16, 2026 19:48
@jaudiger jaudiger self-assigned this Jan 16, 2026
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.

2 participants