It is indeed many packages, but if you look into the dependencies and code, docs is full blown standalone HTTP async server which uses tokio, AWS S3 and Postgresql. It is used to host the docs.rs where is the documentation of every cargo project.
Maybe they should feature-gate some functionality and also split the dependencies
After all it runs on many platforms. I counted 16 Windows packages just by glancing over and also many macOS related.
But 541 for docs?
Surely there's a gradient between trusting no one and trusting 541 packages to generate static files.