https://github.com/lily-mara/refactoring-to-rust
Code to accompany Refactoring to Rust
https://github.com/lily-mara/refactoring-to-rust
book learning refactoring rust
Last synced: 5 months ago
JSON representation
Code to accompany Refactoring to Rust
- Host: GitHub
- URL: https://github.com/lily-mara/refactoring-to-rust
- Owner: lily-mara
- Created: 2020-12-09T06:23:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T18:24:34.000Z (almost 2 years ago)
- Last Synced: 2024-09-06T21:49:56.585Z (almost 2 years ago)
- Topics: book, learning, refactoring, rust
- Language: Rust
- Homepage: https://www.manning.com/books/refactoring-to-rust
- Size: 378 KB
- Stars: 86
- Watchers: 6
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code from for Refactoring to Rust
[Get the book Here!][buy_book]
This repository contains all of the code listings from the new book,
_Refactoring to Rust_. Listings are organized by chapter number and listing
number in the text. Larger examples, which may not be expressible in a single
listing, are given their own directories.
## Running the code
Most of the examples are written in Rust or Python 3. The latest Rust
compiler can be installed by following the instructions at https://rustup.rs/
The simpler Rust examples can be tried in a web browser without installing
any software, by visiting https://play.rust-lang.org/
**IMPORTANT**: Some sections of the book illustrate compiler errors that
developers new to Rust can commonly make. Listings which have NO_COMPILE in
the directory names are expected to fail to compile.
[buy_book]: https://www.manning.com/books/refactoring-to-rust?utm_source=mara&utm_medium=affiliate&utm_campaign=book_mara_refactoring_1_6_21&a_aid=mara&a_bid=eedce54d