Re: [RFC PATCH 2/2] Documentation: dev-tools: add kconfirm

Julian Braha
2026-04-28T17:01:20Z

On Mon, Apr 27, 2026 at 9:34 PM Arnd Bergmann <arnd@arndb.de> wrote:
> It would also be helpful to reduce the number of hard dependencies
> and ideally only rely on packages that are already shipping in common
> distros.
>
> From the dependency list, it appears that the majority of dependencies
> here are only indirectly pulled in by 'reqwest'. I guess is only
> required for dead-link checking, so maybe that part could be
> made optional?

Thanks Arnd, I've done a deep dive on this, and found a number of ways
to reduce the size of the vendored dependencies:

1. replace the reqwest dependency with the smaller ureq,
2. remove rustls as a dependency, and instead expect the user's system
to have openssl,
3. filter out unneeded artifacts (e.g. none of their tests or
docs),
4. filter out non-linux platform support

With all of this, the size of the entire tool source with dependencies
is under 50mb (about the same as the perf tool).

And then an internet connection can be avoided when using Make.

- Julian Braha