As more and more tools are being developed (cargo, clippy, rustfmt, clog-cli, … ) the number of configuration files in your root folder becomes quite large.
I really like that we have small tools that do one specific task extremely well. I also like that a lot of those tools are highly configurable. It allows developers to pick the ones they need and tweak them for their projects. But a lot of small configurable tools means a lot of small configuration files, and that I like less.
That’s not really a problem as every tool would use it’s own name-space (table in TOML) for example if we would have one
a = "z"
b = "y"
c = "x"
a = "w"
b = "v"
c = "u"
Any clash in name-space could already happen currently if two tools share the same config file name.
I am not saying that this approach would be the holy-grail, but I think it would:
- reduce the number of configuration files needed for tools in the rust ecosystem
- create a standard way of exposing configuration options
- encourage small tools to expose configuration options because they would not feel bad about introducing yet another configuration file for 2-3 configuration options.
- unify the tooling around rust even more