Description
Remark: this issue is more like a topic for discussion, than actual change request.
Description
Currently, most of crates in the rust
repository don't have a personal README.md
file.
There is a rustc-guide
intended for developers, but it doesn't expose the purpose and the core moments of libraries.
Thus, a new developer has to dig in by himself.
Example scenario: developer decides to improve something in the compiler. He finds the module responsible for the feature he wants to enhance, and... that's it. Now he have to understand the whole module before he will be able to start working on it.
My proposal is the following:
Add a README.md
to each crate (of course, not all at the same time) which will contain the following information:
- Short overview of the purpose of the crate.
- Core entry points (e.g., exposed public interfaces).
- Short description of modules in the crate, if they are has significant logical meaning.
- Optionally: some hints for developing in this module.
- Optionally: list of persons who are responsible for this module, so developers will know who they should be requesting a review from.
With such a file, entry threshold will be much lower and (I believe) getting into rust
development will become easier.
From my side, I can try to implement such a README.md
for libtest
(as I'm familiar with it).