1. Introduction
  2. Useful crates
  3. Snippets
  4. 1. Command-Line Interface
  5. 2. Handle errors for binaries
  6. 3. Handle errors for libraries
  7. 4. Logging and tracing
  8. 5. JSON parsing and generation
  9. Contributing

Rust Snippets

Useful crates

Collections

  • Blessed.rs
  • Awesome Rust

Crates that are likely be included in snippets

  • eyre
  • thiserror
  • tracing
  • serde and serde_json