Skip to content

tmunongo/library-in-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo for tutorial

I took lifetimes in Rust a bit too literally.

In this one, we explore Rust lifetimes and traits by building a Time Traveller's Library. Book exist in a given timeline, and can only be borrowed from the library while they exist.

There's also so much potential to extend the metaphor with time travelling and time-constrained readers.

Usage

  1. Clone the repo
git clone github.com/tmunongo/library-in-time
  1. Enter directory
cd library-in-time
  1. Run it
cargo run

Releases

No releases published

Packages

No packages published

Languages