Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested recommendations for test, dev env, supply chain and error handling #62

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Sans-Atout
Copy link

Hi, everyone,

A few months ago, I had to produce a guide on how to develop securely in Rust.
This guide was a great help and one of my main sources.
So I thought I'd propose a few rules and a few changes that I think are relevant after my research.

I apologise in advance for any mistakes I may have made.
I've tried using grammar checkers but I'm not sure I've corrected them all.

Here is a summary of the changes I am proposing :

  1. Use of a private registry [9838274]
  2. Supply chain security [a67bbce]
  3. Improve unsafe block's checking ((False positives seem to have disappeared since the issue Forbid unsafe code #10 was written) [47c3727]
  4. Improving best practice in error handling [e8be56f]
  5. Good practice for writing tests [02e20a8]
  6. Added the fact that you can now force lints in Cargo.toml [8c7b07f]

I hope these changes will be useful and I'd be more than happy to discuss them.

`+` Best practice in the use of an internal registry
`+` Best practice for using several registry in a project
`+` Publishing a project in an internal registry
`+` Setting up a default registry for a developer

`+` Adding french and english version
`+` Bests practices added for supply chain security

`+` Adding french and english version
`+` Add a tool for checking the use of `unsafe` blocks in a program's supply chain
`+` Adding french and english version

`^` Translation error corrected in one of the links
`+` Test to comply with RFC1236
`+` Error API recommendation

`+` French and english version
`^` Updating SUMMARY.md
`^` Updating 01_introduction.md

`+` Best practice in testing added
`.` Correct grammar error in french

`+` Second method added for blocking `unsafe` blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant