Rust ML Libraries ML Frameworks

Comprehensive machine learning frameworks and libraries for Rust covering supervised/unsupervised learning, algorithms, and numerical computing. Does NOT include embedding-specific tools, vector databases, or domain-specific applications (e.g., kelp classification).

There are 151 rust ml libraries frameworks tracked. 6 score above 50 (established tier). The highest-rated is rust-ml/linfa at 60/100 with 4,579 stars. 2 of the top 10 are actively maintained.

Get all 151 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=rust-ml-libraries&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 rust-ml/linfa

A Rust machine learning framework.

60
Established
2 open-spaced-repetition/fsrs-optimizer

FSRS Optimizer Package

59
Established
3 SomeB1oody/RustyML

A high-performance machine learning library in pure Rust, offering...

56
Established
4 paiml/aprender

Next Generation Machine Learning, Statistics and Deep Learning in PURE Rust

56
Established
5 open-spaced-repetition/fsrs-rs

FSRS for Rust, including Optimizer and Scheduler

54
Established
6 smartcorelib/smartcore

A comprehensive library for machine learning and numerical computing. Apply...

54
Established
7 open-spaced-repetition/fsrs4anki

A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm

49
Emerging
8 cool-japan/scirs

SciRS2 - Scientific Computing and AI in Rust

48
Emerging
9 etsi-ai/etna

A high level abstraction library designed for effortless tabular data based tasks.

46
Emerging
10 surrealdb/surrealml

A machine learning library for Python and Rust, for PyTorch, Tensorflow and...

46
Emerging
11 shenxiangzhuang/bleuscore

BLEU Score in Rust

45
Emerging
12 bmsuisse/rusket

rusket 🦀🧺

43
Emerging
13 cool-japan/numrs

NumRS2: High-Performance Numerical Computing in Rust

43
Emerging
14 cool-japan/quantrs

QuantRS2: Rust Quantum Computing Framework

42
Emerging
15 cool-japan/optirs

OptiRS is a comprehensive optimization library for machine learning

41
Emerging
16 cool-japan/sklears

A comprehensive machine learning library in Rust, inspired by scikit-learn's...

41
Emerging
17 davechallis/rust-xgboost

Rust bindings for XGBoost.

41
Emerging
18 open-spaced-repetition/srs-benchmark

A benchmark for spaced repetition schedulers/algorithms

40
Emerging
19 AtheMathmo/rusty-machine

Machine Learning library for Rust

40
Emerging
20 kyle-mirich/rouge-rust

High-performance Rust-backed ROUGE scoring for Python

40
Emerging
21 Skeletonxf/easy-ml

Machine learning library providing matrices, named tensors, linear algebra...

40
Emerging
22 jinlow/forust

A lightweight gradient boosted decision tree package.

40
Emerging
23 SkuldNorniern/cetana

An advanced machine learning library empowering developers to build...

39
Emerging
24 anowell/are-we-learning-yet

How ready is Rust for Machine Learning?

38
Emerging
25 open-spaced-repetition/fsrs-browser

FSRS for the browser, including Optimizer and Scheduler

38
Emerging
26 ralfbiedert/ffsvm

FFSVM stands for "Really Fast Support Vector Machine"

37
Emerging
27 vaaaaanquish/Awesome-Rust-MachineLearning

This repository is a list of machine learning libraries written in Rust....

36
Emerging
28 Human-Centric-Machine-Learning/memorize

Code and real data for "Enhancing Human Learning via Spaced Repetition...

36
Emerging
29 cmccomb/rust-automl

Automated Machine Learning in Rust 🦀

34
Emerging
30 maciejkula/sbr-rs

Deep recommender systems for Rust

34
Emerging
31 rust-ml/book

The Rust Machine Learning Book

34
Emerging
32 tomtung/omikuji

An efficient implementation of Partitioned Label Trees & its variations for...

34
Emerging
33 CogitatorTech/vq

A vector quantization library for Rust :crab: with Python bindings 🐍

34
Emerging
34 Pushp-Kharat1/LEMMA

LEMMA: Logical Engine for Multi-domain Mathematical Analysis

33
Emerging
35 outbrain-inc/fwumious_wabbit

Fwumious Wabbit, fast on-line machine learning toolkit written in Rust

33
Emerging
36 benjarison/eval-metrics

Evaluation metrics for machine learning

32
Emerging
37 negativa-ai/negativa-ml

A tool analyzing unused GPU code by machine learning workloads

31
Emerging
38 sipemu/anofox-regression

Regression analysis in Rust.

30
Emerging
39 br0kej/bin2ml

A command line tool for extracting machine learning ready data from software...

30
Emerging
40 smartcorelib/smartcore-examples

SmartCore examples

30
Emerging
41 rhaiscript/rhai-ml

Machine learning for Rhai.

30
Emerging
42 ErikPartridge/parsnip

Assorted data science metrics for Rust

29
Experimental
43 KerfuffleV2/repugnant-pickle

Low effort scraping Python's pickle format in Rust. It is to complete...

29
Experimental
44 liborty/rstats

Statistics, Information Measures, Linear Algebra, Cholesky Matrix...

29
Experimental
45 shadeMe/liblinear-rs

Rust language bindings for the LIBLINEAR C/C++ library

28
Experimental
46 jackgerrits/reductionml

Reduction-based machine learning framework with a focus on contextual bandits

28
Experimental
47 FL03/concision

Concision is a toolkit for building machine-learning models in Rust.

28
Experimental
48 Schultzer/libblas

BLAS for Rust

28
Experimental
49 lazear/simd-euclidean

Calculation of euclidean distance between vectors, with SIMD

28
Experimental
50 open-spaced-repetition/srs-simulator

A fast, dual‑engine spaced‑repetition simulator for comparing schedulers,...

28
Experimental
51 fff-rs/juice

The Hacker's Machine Learning Engine

27
Experimental
52 jjfiv/fastrank

My most frequently used learning-to-rank algorithms ported to rust for...

27
Experimental
53 zama-ai/concrete-ml-extensions

Concrete ML Rust toolkit and Client SDK for Swift and WASM

26
Experimental
54 vaaaaanquish/label-propagation-rs

Label Propagation Algorithm by Rust. Label propagation (LP) is graph-based...

26
Experimental
55 antononcube/Raku-ML-TriesWithFrequencies

Raku package with functions for creation and manipulation of tries (prefix...

25
Experimental
56 dvigneshwer/DevfestYangon

Contents of Building AI units using Rust talk and Hacker's guide to Rust...

24
Experimental
57 jinlow/discrust

Supervised discretization in Rust

24
Experimental
58 psychonautwiki/karma

Hidden Markov Model using the Baum-Welch algorithm in Rust, reference...

24
Experimental
59 fff-rs/greenglas

Machine Intelligence Preprocessing Framework

23
Experimental
60 kachark/rust-optimal-transport

Rust Optimal Transport solvers

23
Experimental
61 AbdelStark/runway-rs

Unofficial Rust SDK for the Runway API

23
Experimental
62 pavan2318/cmdsec-ml

Rust prototype for synthetic command dataset generation, feature extraction,...

23
Experimental
63 apple-fritter/driftwood

🏖 A unified IRC log format and a world of possibilities for building...

23
Experimental
64 extendr/mdl

An opinionated and performant reimagining of model matrices using rust

23
Experimental
65 Gravitalia/remini

Machine learning algorithms for SBC.

22
Experimental
66 ieoop/corroded

🛠️ Simplify Rust development with corroded, a set of safe utilities that...

22
Experimental
67 arclabs561/sheaf

Hierarchical structure, community detection, reconciliation, and conformal prediction

22
Experimental
68 ricardofrantz/libsvm-rs

Pure Rust LIBSVM (v337) with model/CLI compatibility, differential parity...

22
Experimental
69 arclabs561/fynch

Differentiable sorting and ranking: PAVA, Fenchel-Young losses, and O(n log...

22
Experimental
70 viodotcom/ppca_rs

Python+Rust implementation of the Probabilistic Principal Component Analysis model

22
Experimental
71 loony-bean/fastapprox-rs

Rust version of fastapprox: approximate versions of functions commonly used...

22
Experimental
72 jzombie/rust-triplets

Composable data sampling primitives for deterministic multi-source ML/AI...

22
Experimental
73 bzsanti/azure-ai-foundry

🦀 Unofficial Rust SDK for Microsoft Foundry (Azure AI Foundry) — Chat...

22
Experimental
74 arclabs561/lapl

Spectral methods: graph Laplacian, eigenmaps, spectral clustering

22
Experimental
75 arclabs561/rkhs

Reproducing Kernel Hilbert Space: kernels, MMD, and Dense Associative Memory...

22
Experimental
76 CogitatorTech/feature-factory

A feature engineering library for Rust 🦀 with Python bindings 🐍 (WIP)

21
Experimental
77 UnixJunkie/orf

OCaml Random Forests

21
Experimental
78 sky-flux/flux

Pure Go implementation of the FSRS v6 spaced repetition algorithm. Zero...

20
Experimental
79 piiadov/quality_control_room

Quality Control Room

20
Experimental
80 YoungHaKim7/Machine_Learning_Rust

Machine_Learning_Rust & My Youtube Channel - GlobalYoung...

20
Experimental
81 tomtung/craftml-rs

A Rust🦀 implementation of CRAFTML, an Efficient Clustering-based Random...

20
Experimental
82 fff-rs/juice-examples

Examples for the Hacker's Machine Learning Framework Juice which are...

20
Experimental
83 victor-iyi/iris

Iris dataset pre-processing in Rust

20
Experimental
84 sanity/pav.rs

An implementation of the Pair Adjacent Violators algorithm for isotonic...

19
Experimental
85 Axect/Peroxide_Gallery

Examples of Peroxide (Rust numeric library)

19
Experimental
86 sablokrep/klebnz

giant kelp machine learning

19
Experimental
87 sablokrep/statreg

regression analysis rust

19
Experimental
88 geoffsee/auto-g-embed

A text embedding model

19
Experimental
89 sablokrep/rustshap

rust implementation of shap

19
Experimental
90 sipemu/oxits-rs

Time series classification and transformation library for Rust — port of pyts

19
Experimental
91 galafis/rust-fundamentals-learning

Hands-on Rust programming exercises covering ownership, borrowing,...

19
Experimental
92 asdrubalinea/blog

Rust + Axum + htmx + crate2nix + Nix + Org Mode + Fly.io

19
Experimental
93 aniketchavan2211/AI-Projects

Rust language based DS, DP, ML & AI

19
Experimental
94 dacarlin/heme

Fast and friendly tools for protein design

16
Experimental
95 Abhinav-Kumar012/Rust_Python_ML_PE

comparison between Rust and Python in ML domain

16
Experimental
96 thfm/scholar

A supervised machine learning library.

16
Experimental
97 cool-japan/cool-japan

COOLJAPAN

16
Experimental
98 miniex/maidenx

A user-friendly ML framework built in Rust

16
Experimental
99 sreyassabbani/tml

An experimental yet robust, type-safe machine learning library implemented...

15
Experimental
100 didinj/rust-machine-learning-ml-getting-started

Getting Started with Machine Learning in Rust

15
Experimental
101 AXECAC/docs-search

Поиск контекста/файлов по словам.

15
Experimental
102 ether-lang/ether

High-Performance programming language with first-class machine learning and...

15
Experimental
103 LordSaumya/DeepIron

Machine learning library written in Rust

14
Experimental
104 KjetilIN/rustic_ml

A machine learning library created from scratch with Rust. It focuses on...

14
Experimental
105 PABannier/sparseglm

Fast and modular solver for sparse generalized linear models

14
Experimental
106 IreGaddr/ppflib

🚀 Advanced Physics-Prime Factorization (PPF) computational library: quantum...

14
Experimental
107 dystopiaprotozoalinfection911/cool-japan

Build a memory-safe, pure Rust ecosystem with 597 crates and 21 million...

14
Experimental
108 Saswatsusmoy/treeshap-rs

Exact TreeSHAP in Rust — fast Shapley values for XGBoost, LightGBM, and ONNX...

14
Experimental
109 Adeptcontriver/p2r

🐍 Transform Python code into efficient Rust with p2r, a static transpiler...

14
Experimental
110 Syahideos/distill

🌐 Scrape web pages efficiently and analyze content with LLM using this...

14
Experimental
111 sctg-development/french-names-extractor

First names and Last names extracted from INSEE death records

14
Experimental
112 zeerkius/lavalamp

Machine Learning Library In Rust

14
Experimental
113 Morphophonemicsystemmarylandchicken839/garbage_collector

🗑️ Implement a mark-and-sweep garbage collector in Rust to understand memory...

14
Experimental
114 DevAlone/machine-learning-course-by-andrew-ng-in-rust

Implementation of algorithms from machine learning course by Andrew Ng...

14
Experimental
115 orhnk/Mars

Mars is a rust machine learning library. [Goal is to make Simple as possible]

13
Experimental
116 dvigneshwer/deeprust

Machine learning crate in Rust

13
Experimental
117 aarangop/rust-ml

Implementation of various machine learning algorithms in pure Rust.

13
Experimental
118 dr-saad-la/ds-distilled-with-rust

Data Science distilled with Rust

12
Experimental
119 miniex/maidenx-old

Rust ML Framework designed for learning purposes and building my AI engines...

12
Experimental
120 bubble-07/FETISH-RS

(F)unctional (E)mbedding of (T)erms (I)n a (S)patial (H)ierarchy -- as a Rust crate!

12
Experimental
121 J0y-B0y/Blackforest

Random Forest machine learning library written in Rust

12
Experimental
122 AndreaCatania/grape_ml

Machine learning library

12
Experimental
123 TheseusInstitute/nix-ml-override

MLOverride enables modern Machine Learning in Nix

11
Experimental
124 mortylen/ml-compass-guide

Central repository for ML Compass Guide - documentation and links to the web...

11
Experimental
125 mortylen/ml-knn-metrics-rs

This project implements a simple k-Nearest Neighbors (k-NN) algorithm in the...

11
Experimental
126 jinlow/closest

A simple KDTree nearest neighbors implementation.

11
Experimental
127 ds1sqe/rust_ml_toolkit

Rust Machine Learing Toolkit from scratch

11
Experimental
128 headwaymaps/airmail

Experiments with offline geocoding

11
Experimental
129 UserLeeIsTired/RustML

Rust machine learning from scratch

11
Experimental
130 jonysy/leaf

A hard-fork of Leaf, an open machine intelligence framework for hackers.

11
Experimental
131 homezloco/rustify-ml

CLI to profile Python ML hotspots and generate Rust/PyO3 stubs for acceleration.

11
Experimental
132 baxtersa/decepticon

Learning about machine learning in Rust

11
Experimental
133 jtrawinski/linfa-preprocessing

A data preprocessing library for Rust.

11
Experimental
134 Jordan-M-Young/Pikus

Machine Learning & Linear Algebra Library

11
Experimental
135 apple-fritter/flotsam

Flotsam is a moderation tool to supplement Jetsam, for IRC logs stored in...

10
Experimental
136 apple-fritter/snar3

📔Transcribe XML formatted Android SMS export to nested TSV files. Written in Rust.

10
Experimental
137 apple-fritter/jetsam

Jetsam is a tool designed to sanitize IRC logs stored in the Driftwood...

10
Experimental
138 edfix/mlx-rust

Safe and idiomatic Rust binding for Apple MLX project

10
Experimental
139 justcode740/fastgen

Blazing fast model & feature selection for large datasets

10
Experimental
140 aryalaadi/basilisk

ARCHIVE ONLY NOW ON CODEBERG

10
Experimental
141 MitchellShibilski-Unkel/RustML

Open-source AI Framework for Rust

10
Experimental
142 andreytkachenko/yarblas

Yet another rust BLAS

10
Experimental
143 opixelum/atamai

Lightweight ML library in Rust

10
Experimental
144 apple-fritter/ploop.rs

➿Loop through a TSV file and pass columns of data to an external program....

10
Experimental
145 Axect/Noisy_Candle

A Rust project showcasing regression on noisy data using machine learning libraries.

10
Experimental
146 sno2/aister

A machine learning API that is completely free and open source that allows...

10
Experimental
147 apple-fritter/scrimshaw

Scrimshaw parses IRC logs stored in the driftwood format for quotes...

10
Experimental
148 gregyjames/RustDecisionTree

Decision Tree implemented in rust

10
Experimental
149 phase/astral-dunes

gpt impl with rust + pytorch

10
Experimental
150 KyGost/QCT

Quantum Computing Trainer

10
Experimental
151 rdiachenko/ml-lab

Machine learning from scratch in Rust

10
Experimental