Skip to content

A Practical Guide on how to Structure and Maintain your Rust Projects

License

Notifications You must be signed in to change notification settings

rust-project-primer/book

Repository files navigation

Rust Project Primer

A Practical Guide on how to Structure and Maintain your Rust Projects

Summary

This guide offers advice on structuring and maintaining Rust projects, drawing from popular Rust projects and personal experience. It should not be viewed as a definitive guide, but rather as a collection of potential issues you might encounter and various ways to address them. Recognizing that some problems have multiple effective solutions, this guide presents a range of options. The hope is that it equips you with valuable advice, allowing your projects to benefit from the learnings of those that came before.

Implementation

This book uses mdBook, a tool that is commonly used by the Rust ecosystem to write documentation in the style of books. It makes some modifications to the default mdBook configuration:

In addition to that, there are some mdBook plugins that are used:

  • mdbook-admonish
  • mdbook-reading
  • mdbook-files

Building

To build the book, you can do one of:

  • Install dependencies and run just build
  • Run nix build .?submodules=1

Style

For writing style, read the STYLE file.

License

CC BY-NC-SA 4.0

About

A Practical Guide on how to Structure and Maintain your Rust Projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published