I would like statistics for namespaces in `lib` to not include dependencies
#5,016 建立於 2024年5月28日
描述
It would be nice if listing lib, the output for those libraries did not include their own dependencies. Or at minimum not include base in the statistics.
It makes lib.oauth look enormous and makes me wonder "gee, how did I write that much code? is the surface area of the library going to confuse users?", but almost all of it is dependencies in lib.oauth.lib:
When looking at a library to consider how complex it is, I don't think it's helpful to include the dependences in these statistics, because invariably anything using Nat (for example) will have base as a dependency, so a very small library will still list itself as having over 6600 terms.
Consider my library MimeType, https://share.unison-lang.org/@kylegoetz/MimeType/code/releases/1.0.0/latest
It only has two types of its own, but it uses base's Text so it's listed as having 172 types.