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