near / near-indexer-for-explorer

Watch NEAR network and store all the data from NEAR blockchain to PostgreSQL database
https://near-indexers.io/docs/projects/near-indexer-for-explorer
GNU General Public License v3.0
123 stars 56 forks source link

doc: Cargo.toml fomatting guide #322

Closed roshaans closed 1 year ago

roshaans commented 1 year ago

Cargo.toml formatting guide

roshaans commented 1 year ago

Initially, I collected the info in a raw format. Could you please write it down with attention to the rules of English language and the common sense? Follow the way how the rest of the file is written.

Keep in mind that the rules are only about the dependencies, it's worth to mention that.

Also, Cargo.toml in this project does not follow these rules, you need to re-check and fix it.

Also, (it's not required but anyway) it would be nice if you read something about how Cargo.toml is organised in Rust and maybe add the rules or even edit the proposed ones.

Would you say it is considered best practice to pin down a specific version rather than using ^, ~, and * when specifying dependencies?