Forcing reduced size dependency trees
Forcing reduced size dependency trees
Posted Sep 19, 2025 12:25 UTC (Fri) by farnz (subscriber, #17727)In reply to: Should C++ be deprecated? by excors
Parent article: Comparing Rust to Carbon
Arguably, that's what tools like cargo vet are for. An interested organisation (say Debian, or the FSF, or Google, or CENELEC) can set up a URL that lets you grab their current approved list of dependencies, along with their audit criteria, and then tell you things like "if you want this to be in the main archive, you need to meet 'debian-main' criteria for dependencies" or "we require that new dependencies for the Chrome build system meet our 'safe-to-deploy' audit criteria".
This tames the "massive dependency tree" by requiring that you either audit your dependencies yourself (and publish an audits.toml that documents this audit), or that you import someone else's audit of your dependencies. It still allows people who don't care to have a massive dependency tree, of course.