Rs
Module 8Cargo & ModulesLesson 2 of 716 min

Crates Map for Quants

What each popular crate is for — and when you need it.

Map

Crate Role
------- ------
serde / serde_json config & JSON
csv flat files
rayon parallel iterators
ndarray / nalgebra arrays & linear algebra
polars dataframes
chrono timestamps
rand / rand_distr RNG
tokio / reqwest async network
plotters charts
criterion benches

Teaching choice

We reimplement small kernels in std so you understand the math before the crates.

Challenge

Write your personal top-5 crate install list for a backtester.

Tips
  • Learn std first
  • Add crates with purpose
  • Read crate docs/examples

Try it live

Crates Map for QuantsRust 2021
Loading editor…
Output
Press Run to compile and execute.