MCPcopy Index your code
hub / github.com/Apress/beginning-rust-2e

github.com/Apress/beginning-rust-2e @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
994 symbols 1,205 edges 577 files 586 documented · 59%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apress Source Code

This repository accompanies Beginning Rust, Second Edition by Carlo Milanesi (Apress, 2022).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

Extension points exported contracts — how you extend this code

HasSqrtAndAbs (Interface)
Removed the standalone sqrt function. [2 implementers]
Source Code/19-17.rs
HasSqrtAndAbs (Interface)
Removed the standalone sqrt function. [2 implementers]
Source Code/19-16.rs
HasSqrtAndAbs (Interface)
Removed the standalone sqrt function. [2 implementers]
Source Code/19-15.rs
HasSquareRoot (Interface)
(no doc) [2 implementers]
Source Code/19-14.rs
Draw (Interface)
(no doc) [2 implementers]
Source Code/20-19.rs
Draw (Interface)
(no doc) [2 implementers]
Source Code/20-23.rs
HasSquareRoot (Interface)
(no doc) [2 implementers]
Source Code/19-08.rs
HasSquareRoot (Interface)
(no doc) [2 implementers]
Source Code/19-06.rs

Core symbols most depended-on inside this repo

sqrt
called by 18
Source Code/19-14.rs
clone
called by 12
Source Code/22-24.rs
g
called by 7
Source Code/18-14.rs
sqrt
called by 5
Source Code/19-14.rs
into
called by 4
Source Code/20-13.rs
abs
called by 4
Source Code/19-17.rs
f
called by 4
Source Code/09-11.rs
show_result
called by 4
Source Code/20-16.rs

Shape

Function 761
Method 85
Class 82
Interface 35
Enum 31

Languages

Rust97%
C2%
C++1%

Modules by API surface

Source Code/09-25.rs9 symbols
Source Code/20-23.rs8 symbols
Source Code/20-22.rs8 symbols
Source Code/20-21.rs8 symbols
Source Code/20-20.rs8 symbols
Source Code/20-19.rs8 symbols
Source Code/20-18.rs8 symbols
Source Code/24-17.rs7 symbols
Source Code/19-30.rs7 symbols
Source Code/19-29.rs7 symbols
Source Code/19-27.rs7 symbols
Source Code/19-19.rs7 symbols

For agents

$ claude mcp add beginning-rust-2e \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact