Skip to content

Documentation about resource management in the Rust programming language

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

PieterPenninckx/resource-management-in-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resource management in Rust

Documentation about resource management in the Rust programming language. We zoom in on some concepts that are specific to Rust:

  • ownership
  • borrowing
  • lifetimes

Read online.

Unmaintained and probably outdated

I wrote this at the time to better understand Rust. I don't maintain it anymore. It is probably outdated. It is not part of the official Rust documentation.

Target audience

This documentation is for you if you

  • are learning the Rust programming language and you want to understand lifetimes, ownership, borrowing etc. better,
  • already understand the basics (structs, enums, traits, ...),
  • have some experience with a garbage-collected object oriented programming language,
  • are comfortable reading simple technical English,
  • have no problem with the fact that this documentation is probably a work in progress for ever.

Building

We use mdBook to build the HTML version of the documentation. You can install mdBook with the following command:

cargo install mdbook

To build, go to the folder containing the src folder and run the following command:

mdbook build

The result is in the book directory.

Contributing

We welcome contributions, big and small. See CONTRIBUTING for details.

License

"Resource management in Rust" is licensed under the Apache License, Version 2.0 (see LICENSE-APACHE), or the MIT license (see LICENSE-APACHE), at your opinion.

About

Documentation about resource management in the Rust programming language

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published