CATEGORY
Mathematics 4,394 crates
Data as of 2026-07-25 (crates.io database dump, timestamp 2026-07-25T02:00:36Z). Source: crates.io · db-dump.tar.gz · methodology & corrections.
crypto-bigintPure Rust implementation of a big integer library which has been designed from
the ground-up for use in cryptographic…232,479,376Apache-2.0 OR MIT
rust_decimalDecimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.122,746,248MIT
bigdecimalArbitrary precision decimal numbers100,896,446MIT/Apache-2.0
smawkFunctions for finding row-minima in a totally monotone matrix.80,538,838MIT
nalgebraGeneral-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices.80,106,185Apache-2.0
simbaSIMD algebra for Rust66,673,372Apache-2.0
pxfmFast and accurate math48,652,291BSD-3-Clause OR Apache-2.0
nalgebra-macrosProcedural macros for nalgebra46,778,925Apache-2.0
strict-numA collection of bounded numeric types36,405,020MIT
core_mathsExtension trait for full float functionality in `#[no_std]` backed by `libm`.33,728,066MIT
ethnum256-bit integer implementation26,079,036MIT OR Apache-2.0
num-modularImplementation of efficient integer division and modular arithmetic operations with generic number types.
Supports various…25,933,130Apache-2.0
ruintUnsigned integer type with const-generic bit length23,873,091MIT
ruint-macroThe `uint!` macro for `Uint` and `Bits` literals22,240,808MIT
emathMinimal 2D math library for GUI work21,017,504MIT OR Apache-2.0
float_next_afterA trait for native rust f64/f32 nextafter20,164,192MIT
ecolorColor structs and color conversion utilities19,419,455MIT OR Apache-2.0
num-orderNumerically consistent `Eq`, `Ord` and `Hash` implementations for various `num` types (`u32`, `f64`, `num_bigint::BigInt`, etc.)18,764,019Apache-2.0
spadeDelaunay triangulations for the rust ecosystem16,257,092MIT OR Apache-2.0
choiceSimilar to `either` but supports an unbounded number of variants.14,219,396MIT
ortA safe Rust wrapper for ONNX Runtime 1.24 - Optimize and accelerate machine learning inference & training13,997,154MIT OR Apache-2.0
ort-sysUnsafe Rust bindings for ONNX Runtime 1.24 - Optimize and Accelerate Machine Learning Inferencing13,619,538MIT OR Apache-2.0
fixedFixed-point numbers.12,878,074MIT/Apache-2.0
argminmaxArgMinMax (argmin & argmax in 1 function) with SIMD for floats and integers12,816,402MIT
bnumFixed-size integer types with generic signedness, bit width and overflow behaviour.11,504,291MIT OR Apache-2.0
noisy_floatContains floating point types that panic if they are set to an illegal value, such as NaN11,488,576Apache-2.0
fast-srgb8Very fast conversions between linear float and 8-bit sRGB (with no_std support).9,579,730MIT OR Apache-2.0 OR CC0-1.0
hexasphereA library to evenly tile hexagons on a sphere.8,442,463MIT OR Apache-2.0
malachite-baseA collection of utilities, including new arithmetic traits and iterators that generate all values of a type.8,358,969LGPL-3.0-only
malachite-nzThe bignum types Natural and Integer, with efficient algorithms partially derived from GMP and FLINT.8,351,826LGPL-3.0-only
malachite-qThe arbitrary-precision type Rational, with efficient algorithms partially derived from GMP and FLINT.8,111,749LGPL-3.0-only
malachiteArbitrary-precision arithmetic, with efficient algorithms partially derived from GMP, FLINT, and MPFR.7,983,568LGPL-3.0-only
parry3d-f643 dimensional collision detection library in Rust. 64-bits precision version.6,246,871Apache-2.0
extendedExtended precision 80-bit floating-point numbers (f80).6,025,549MIT
i_overlayBoolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon…5,843,747MIT OR Apache-2.0
cnfgenGenerate DIMACS CNF formula from operations5,737,934Apache-2.0
i_floatThis fixed float math library provides an efficient and deterministic solution for arithmetic and geometric operations.5,670,209MIT
divremDivision and modulus variants5,628,224MIT
gmp-mpfr-sysRust FFI bindings for GMP, MPFR and MPC.5,292,396LGPL-3.0+
rugArbitrary-precision integers, rational, floating-point and complex numbers based
on GMP, MPFR and MPC.5,093,437LGPL-3.0+
option-operationsTraits and auto-implementations to improve arithmetic operations usability when dealing with `Option`s.4,918,366MIT/Apache-2.0
fastnumFast decimal numbers library4,516,241MIT OR Apache-2.0
rapier3d-f643-dimensional physics engine in Rust.4,406,539Apache-2.0
find_peaksFind peaks that match criteria in 1D data.4,349,915MIT
simplify-polylineSimplify polylines using Douglas-Peucker and radial distance algorithms. Port of the simplify-js library.4,311,185MIT
interpA Rust implementation of Matlab's interp1 function4,099,883MIT OR Apache-2.0
orx-priority-queuePriority queue traits and high performance d-ary heap implementations.3,682,621MIT OR Apache-2.0
good_lpMixed Integer Linear Programming for Rust, with an user-friendly API. This crate allows modeling LP problems, and lets you solve…3,598,211MIT
decorumTotal ordering, equivalence, hashing, and constraints for floating-point types.3,499,344MIT
micromathEmbedded-friendly math library featuring fast floating point approximations
(with small code size) for common arithmetic…3,065,797Apache-2.0 OR MIT
dashu-baseCommon trait definitions and tools for the `dashu` libraries2,465,290MIT OR Apache-2.0
dashu-intA big integer library with good performance2,464,471MIT OR Apache-2.0
dashu-floatA big float library supporting arbitrary precision, arbitrary base and arbitrary rounding mode2,321,880MIT OR Apache-2.0
polycoolPolynomial root-finding2,320,975MIT OR Apache-2.0
starknet-types-coreCore types representation for Starknet2,303,602MIT
unicode-math-classDetermine the Unicode class of a mathematical character.2,231,072MIT OR Apache-2.0
xsumFast Exact Summation of Floating-Point Numbers2,116,895MIT
parry3d3 dimensional collision detection library in Rust.2,089,564Apache-2.0
linfa-linalgPure-Rust implementation of linear algebra routines for ndarray1,961,683MIT/Apache-2.0
simsimdPortable mixed-precision BLAS-like vector math library for x86 and ARM1,866,876Apache-2.0
dashu-ratioA big rational library with good performance1,683,446MIT OR Apache-2.0
dashuA library set of big numbers1,682,315MIT OR Apache-2.0
dashu-macrosProcedure macros for creating big numbers1,678,688MIT OR Apache-2.0
amplify_numAmplifying numeric types: big-sized and bit-sized integers1,604,657Apache-2.0
easerTiny library imlementing Robert Penner's easing functions1,571,212MIT
amdApproximate Minimum Degree ordering1,552,834BSD-3-Clause
parry2d2 dimensional collision detection library in Rust.1,496,172Apache-2.0
linfaA Machine Learning framework for Rust1,474,142MIT OR Apache-2.0
clarabelClarabel Conic Interior Point Solver for Rust / Python1,466,308Apache-2.0
simple_moving_averageLibrary of simple moving average (SMA) algorithms1,463,245MIT
rapier3d3-dimensional physics engine in Rust.1,377,044Apache-2.0
windowfunctionsCommon window functions for apodization1,336,593MIT
puruspePure Rust Special function library1,299,402MIT OR Apache-2.0
microlpA fast linear programming solver library.1,244,568Apache-2.0
sark0y_tam_rstAutomation tool to make Console/Terminal more comfy. Have a great Day & Night, Dear User 💯❤️1,166,552non-standard
minilpA fast linear programming solver library.1,136,908Apache-2.0
nalgebra-glmA computer-graphics oriented API for nalgebra, inspired by the C++ GLM library.1,099,040Apache-2.0
saturating_castLibrary for saturating casts between integer primitives.1,029,371MIT OR Apache-2.0
cubecl-commonCommon crate for CubeCL1,013,708MIT OR Apache-2.0
linfa-nnA collection of nearest neighbour algorithms1,004,804MIT OR Apache-2.0
levenberg-marquardtLevenberg-Marquardt algorithm built on top of nalgebra997,813MIT
snarkvm-parametersParameters for a decentralized virtual machine933,308Apache-2.0
linfa-clusteringA collection of clustering algorithms925,873MIT OR Apache-2.0
cubecl-coreCubeCL core create923,968MIT OR Apache-2.0
cubeclMulti-platform high-performance compute language extension for Rust.921,663MIT OR Apache-2.0
snarkvm-curvesCurves for a decentralized virtual machine918,416Apache-2.0
snarkvm-utilitiesUtilities for a decentralized virtual machine918,290Apache-2.0
snarkvm-algorithmsAlgorithms for a decentralized virtual machine917,757Apache-2.0
snarkvm-fieldsFields for a decentralized virtual machine900,764Apache-2.0
malachite-floatThe arbitrary-precision floating-point type Float, with efficient algorithms partially derived from MPFR.895,242LGPL-3.0-only
scientificArbitrary precision scientific number (no_std capable, in pure Rust)890,755MIT
rapier2d2-dimensional physics engine in Rust.876,394Apache-2.0
scientific-macroMacro for scientific, the arbitrary precision scientific number. Not intended to be used directly.872,800MIT
lstsqReturn the least-squares solution to a linear matrix equation859,948MIT/Apache-2.0
map_3dLibrary for 3D geographic coordinate transformation854,484Apache-2.0
ibigA big integer library with good performance779,570MIT OR Apache-2.0
snarkvmA decentralized virtual machine770,573Apache-2.0
ndarray-interpInterpolation package for ndarray747,136MIT
snarkvm-utilities-derivesCanonical serialization for a decentralized virtual machine743,224Apache-2.0
cubecl-stdCubeCL Standard Library.732,916MIT OR Apache-2.0
snarkvm-circuitCircuits for a decentralized virtual machine705,816Apache-2.0
keyframeA simple library for animation in Rust703,484MIT
snarkvm-synthesizerSynthesizer for a decentralized virtual machine689,948Apache-2.0
parry2d-f642 dimensional collision detection library in Rust. 64-bit precision version.662,745Apache-2.0
accurate(more or less) accurate floating point algorithms644,059MIT OR Apache-2.0
kmeans_colorsSimple k-means clustering to find dominant colors in images.
Backed by a generic k-means implementation offered as a standalone…627,271MIT OR Apache-2.0
cubecl-reduceCubeCL Reduce Algorithms.613,437MIT OR Apache-2.0
smallbitsetThis crate provides a series of allocation free sets capable of holding small integer values.594,446MIT
const-primesWork with prime numbers in const contexts. Prime generation, primality testing, prime counting, and more.590,449MIT OR Apache-2.0
float4MXFP4-compatible 4-bit floating point types and block formats for Rust.587,289MIT
lambert_wFast and accurate evaluation of the Lambert W function by the method of T. Fukushima.575,513MIT OR Apache-2.0
nalgebra-sparseSparse matrix computation based on nalgebra.537,745Apache-2.0
snarkvm-synthesizer-snarkSNARK wrappers for a decentralized virtual machine462,763Apache-2.0
graph-cyclesDetect all cycles in a petgraph graph447,941MIT OR Apache-2.0
msetA mset / multiset / bag implementation446,706MIT/Apache-2.0
mathruFundamental algorithms for scientific computing in Rust440,227MIT
numsNumber theoretic functions, such as primality testing and factorization, for BigUints434,106MIT OR Apache-2.0
snarkvm-synthesizer-programProgram for a decentralized virtual machine433,814Apache-2.0
snarkvm-r1csR1CS for a decentralized virtual machine425,524Apache-2.0
snarkvm-synthesizer-processA process for a decentralized virtual machine412,126Apache-2.0
snarkvm-ledger-narwhal-transmission-idA transmission ID for a Narwhal-style memory pool in a decentralized virtual machine390,153Apache-2.0
snarkvm-ledger-narwhal-batch-headerA batch header for a Narwhal-style memory pool in a decentralized virtual machine389,270Apache-2.0
snarkvm-ledger-narwhal-batch-certificateA batch certificate for a Narwhal-style memory pool in a decentralized virtual machine388,361Apache-2.0
snarkvm-ledger-committeeA committee for a decentralized virtual machine388,345Apache-2.0
snarkvm-ledger-narwhal-subdagA subdag for a Narwhal-style memory pool in a decentralized virtual machine387,945Apache-2.0
snarkvm-ledger-authorityData structures for a block authority in a decentralized virtual machine387,561Apache-2.0
snarkvm-ledger-narwhal-dataA batch certificate for a Narwhal-style memory pool in a decentralized virtual machine383,808Apache-2.0
snarkvm-ledger-narwhal-transmissionA transmission for a Narwhal-style memory pool in a decentralized virtual machine377,784Apache-2.0
snarkvm-ledger-narwhalData structures for a Narwhal-style memory pool in a decentralized virtual machine376,347Apache-2.0
scirs2-coreCore utilities and common functionality for SciRS2 (scirs2-core)363,830Apache-2.0
scirs2-linalgLinear algebra module for SciRS2 (scirs2-linalg)345,504Apache-2.0
cubecl-linalgCubeCL Linear Algebra Library.344,384MIT OR Apache-2.0
gauss-quadIntegrate functions with Gaussian quadrature336,665MIT OR Apache-2.0
graafWork with directed graphs.336,028MIT OR Apache-2.0
bevy_heavyMass property computation for Bevy's geometric primitives.335,710MIT OR Apache-2.0
snarkvm-ledger-coinbaseCoinbase puzzle for a decentralized virtual machine330,416Apache-2.0
indxvecVecs sorting, merging, indexing, ranking, searching, reversing, intersecting, printing, etc.328,845Apache-2.0
cubecl-matmulCubeCL Matrix Multiplication Kernels Engine321,475MIT OR Apache-2.0
cubecl-randomCubeCL Random Number Generation.321,415MIT OR Apache-2.0
cubecl-convolutionCubeCL Convolution Kernels Engine320,484MIT OR Apache-2.0
glamxExtensions for glam: Pose2, Pose3, Rot2, and matrix utilities.317,293MIT OR Apache-2.0
oxiblas-coreCore traits and SIMD abstractions for OxiBLAS308,884Apache-2.0
oxiblas-matrixMatrix types and views for OxiBLAS308,814Apache-2.0
oxiblas-blasBLAS operations for OxiBLAS - pure Rust implementation308,664Apache-2.0
oxiblas-lapackLAPACK operations for OxiBLAS - pure Rust implementation308,160Apache-2.0
oxiblas-ndarrayndarray integration for OxiBLAS307,435Apache-2.0
rstatsStatistics, Information Measures, Data Analysis, Linear Algebra, Clifford Algebra, Machine Learning, Geometric Median, Matrix…300,117Apache-2.0
fastevalFast evaluation of algebraic expressions300,069MIT
varproA straightforward nonlinear least-squares fitting library which uses the Variable Projection algorithm.287,771MIT
easyfftA library crate providing an easy FFT API for arrays and slices284,633MIT OR Apache-2.0
scirs2-interpolateInterpolation module for SciRS2 (scirs2-interpolate)283,379Apache-2.0
nonzero_litEasy, safe, and fully zero-cost NonZero constants and literals.280,175MIT OR Apache-2.0 OR CC0-1.0
linfa-kernelKernel methods for non-linear algorithms273,959MIT OR Apache-2.0
miden-stdlibMiden VM standard library267,285MIT OR Apache-2.0
sci-rsRust scientific analysis library similar to SciPy266,078MIT OR Apache-2.0
metis-sysRaw FFI to METIS, the serial graph partitioner and fill-reducing matrix orderer263,860MIT OR Apache-2.0
cubecl-zspaceCubeCL ZSpace Library.258,685MIT OR Apache-2.0
xsfRust implementations and bindings for scipy.special functions.257,879BSD-3-Clause
linfa-reductionA collection of dimensionality reduction techniques256,457MIT OR Apache-2.0
metisIdiomatic wrapper for METIS, the serial graph partitioner and fill-reducing matrix orderer255,802MIT OR Apache-2.0
linfa-linearA Machine Learning framework for Rust243,024MIT OR Apache-2.0
gaussfiltDesign and apply Gaussian filter for 1D data234,897MIT OR Apache-2.0
rssnA comprehensive scientific computing library for Rust, aiming for feature parity with NumPy and SymPy.231,650Apache-2.0
mediansMedian, Statistical Measures, Mathematics, Statistics228,567BSD-3-Clause
coin_cbcRust bindings to the CoinOR CBC MILP Solveur using the C API.225,269MIT
coin_cbc_sysRust bindings to the CoinOR CBC MILP Solveur using the C API.216,575MIT
cubek-randomCubeK: Random Number Generation211,254MIT OR Apache-2.0
cubek-quantCubeK: Quantization Library210,836MIT OR Apache-2.0
cubek-reduceCubeK: Reduce Kernels210,671MIT OR Apache-2.0
cubek-convolutionCubeK: Convolution Kernels210,510MIT OR Apache-2.0
cubek-attentionCubeK: Attention Kernels210,456MIT OR Apache-2.0
cubekCubeK: CubeCL Kernels210,407MIT OR Apache-2.0
cubek-matmulCubeK: Matrix Multiplication Kernels208,355MIT OR Apache-2.0
ruint2-macroThe `uint!` macro for `Uint` literals202,053non-standard
ruint2Unsigned integer type with cont-generic bit length201,281MIT
typed_floats_macrosCrate only used to generate the `typed_floats` crate.200,917MIT OR Apache-2.0
smallest-enclosing-circleIterative two-dimensional implementations of Welzl's algorithm for computing the smallest enclosing circle.196,140MIT
yataYet another Technical Analysis library. For rust now.195,325Apache-2.0
sharksFast, small and secure Shamir's Secret Sharing library crate187,559MIT/Apache-2.0
typed_floatsTypes for handling floats with type checking at compile time.187,270MIT OR Apache-2.0
bezier-rsComputational geometry algorithms for Bézier segments and shapes useful in the context of 2D graphics186,057MIT OR Apache-2.0
dusk-plonkA pure-Rust implementation of the PLONK ZK-Proof algorithm185,250MPL-2.0
butterworthA library for simple Butterworth filters.184,811MIT OR Apache-2.0
strict_typesStrict types: confined generalized algebraic data types (GADT)181,978Apache-2.0
blahajFast, small, and secure Shamir's Secret Sharing181,229MIT
num-dualGeneralized (hyper) dual numbers for the calculation of exact (partial) derivatives180,374MIT OR Apache-2.0
fpmathA floating point math library162,704MIT OR Apache-2.0
modinverseSmall library for finding the modular multiplicative inverses.158,900Unlicense
qsv-statsComputing summary statistics on streams.154,976MIT OR Unlicense
linfa-treesA collection of tree-based algorithms154,376MIT OR Apache-2.0
p256k1Rust wrappers around libsecp256k1 which expose internal scalar and point APIs143,356Apache-2.0
linear_isomorphicA set of traits to astract over linear-like types.142,094MIT OR Apache-2.0
hexxHexagonal utilities137,947Apache-2.0
erydanosOptimized routines for ARM NEON and SSE137,393Apache-2.0 OR BSD-3-Clause
twenty-firstCollection of mathematics routines and cryptography for the twenty-first century.136,655GPL-2.0
ezpzA constraint solver for KCL and Zoo Design Studio135,895MIT
snarkvm-wasmWASM for a decentralized virtual machine134,779Apache-2.0
fsumThe library to calculate accurate sum of floats.134,430MIT OR Apache-2.0
ethnum-macros256-bit integer literals134,421MIT OR Apache-2.0
fend-coreArbitrary-precision unit-aware calculator130,853MIT