book icon indicating copy to clipboard operation
book copied to clipboard

Required Internet connection

Open ris58h opened this issue 2 years ago • 1 comments

  • [x] I have checked the latest main branch to see if this has already been fixed
  • [x] I have searched existing issues and pull requests for duplicates

URL to the section(s) of the book with this problem: 2. Programming a Guessing Game

Description of the problem: There is nothing in the book about required Internet connection. I've downloaded the book and done everything from 1.1 Installation chapter. I was disappointed when being offline I couldn't go past the second chapter where rand dependency is required to build a program.

Suggested fix:

  • Could we have a disclaimer about required Internet connection to finish the book?
  • Could we pre-download required dependencies to be able to finish the book while being offline? I'm new to Rust and may be wrong, but it seems like Cargo shares dependencies between projects and stores them in a local repository.

ris58h avatar Jul 26 '22 13:07 ris58h

Thanks for the feedback! I think we could definitely add a sentence to make it clear. I will also think on whether and how we could make it “work offline”.

chriskrycho avatar Apr 25 '24 18:04 chriskrycho