CATEGORY

Algorithms 7,448 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.

asbytesTraits for viewing data as byte slices or consuming data into byte vectors. Relies on bytemuck for POD safety.3,984MITAlgorithmsData structures ndmathTraits for doing vector geometry operations using built-in types3,981UnlicenseAlgorithmsRust patterns bbseBackward Binary Search Encoding — minimal and deterministic scheme for sorted domains3,976MITAlgorithmsCompression rabitqA Rust implementation of the RaBitQ vector search algorithm.3,970AGPL-3.0AlgorithmsScience rust_heapSimple bounded binary heap3,967WTFPLAlgorithmsData structures radish-typesTypes for interact with Radish Database3,961AGPL-3.0-or-laterAlgorithmsDatabase implementations thirtysecondsShort Rust 🦀 code snippets for inspiration.3,960CC-BY-4.0Algorithms quaminaFast pattern-matching library for filtering JSON events3,960Apache-2.0AlgorithmsText processing ukhsUniversal K-mer Hitting Sets3,948MIT/Apache-2.0AlgorithmsScience evioliteToolkit for working with evolutionary algorithms3,947MITAlgorithmsMathematics amari-automataCellular automata, inverse design, and self-assembly using geometric algebra3,947MIT OR Apache-2.0AlgorithmsMathematics matrix_operations_cudaA library to perform matrix operations using cuda3,946MITAlgorithmsConcurrency convolve2dEasy and extensible pure rust image convolutions3,942MITAlgorithmsComputer vision iter-rationalsA fixed size, linear time, no-std iterator over the rational numbers.3,940MPL-2.0AlgorithmsNo standard library fips197A 0 dependency, no_std implementation of AES128, AES192 and AES256 ciphers.3,937ISCAlgorithmsCryptography more-iterMore iterator utilities3,937Apache-2.0AlgorithmsData structures ed2kAn implementation of the ED2K hash function3,937MIT OR Apache-2.0AlgorithmsCryptography misc_iteratorsA collection of uncommon but useful iterators, like DDA or BFS/DFS.3,936Apache-2.0AlgorithmsData structures mittaglefflerHigh performance implementations of the Mittag-Leffler function3,933MITAlgorithmsScience litecoin_hashesHash functions used by the rust-bitcoin eccosystem3,932CC0-1.0Algorithms vqA vector quantization library for Rust3,921MIT OR Apache-2.0AlgorithmsCompression promergeParse, edit and merge Prometheus metrics exposition format3,918MITAlgorithmsEncoding igsolveThe program for solving impartial games.3,915GPL-3.0-or-laterAlgorithmsGame development bigint-base10Experimental API for dealing with big integers in base-ten3,908UnlicenseAlgorithmsData structures romapA trait for read-only-maps3,904MIT OR Apache-2.0AlgorithmsNo standard library::No dynamic allocation timestretchPure Rust audio time stretching library optimized for EDM3,902MITAlgorithmsMultimedia::Audio ferrolearn-coreCore traits, error types, and pipeline for the ferrolearn ML framework3,900MIT OR Apache-2.0AlgorithmsScience graph-api-petgraphIntegration between graph-api and petgraph - use graph-api's traversal system with petgraph structures3,899Apache-2.0AlgorithmsData structures box-image-pyramidMinimal u8 grayscale image pyramid using 2x box-filter downsampling with reusable buffers3,897MITAlgorithmsMultimedia::Images quickphf_codegenCode generator for creating static maps and sets for use with quickphf3,890Zlib OR Apache-2.0 OR MITAlgorithmsData structures dartlibDisk backed concurrent Adaptive Radix Tree implementation, with optional generations.3,888non-standardAlgorithmsCaching flowingRusty flow graph processing library3,886MITAlgorithmsData structures icentral-graphA Rust library for advanced graph manipulation, focusing on minimum union cycles, betweenness centrality, and biconnected…3,885MIT OR Apache-2.0AlgorithmsData structures lorustModern Rust utility library delivering modularity, performance & extras; or simply Rust version of Lodash3,884MIT OR Apache-2.0AlgorithmsDevelopment tools fast-boolean-anf-transformFast implementation of the boolean Algebraic Normal Form (ANF) transform3,880MIT OR Apache-2.0AlgorithmsCryptography lockstepAn iterator adaptor for selective zipping3,876MIT OR Apache-2.0AlgorithmsNo standard library rec_rsysLibrary for different maths functions related to recsys and ML3,873MIT OR Apache-2.0AlgorithmsMathematics momba-exploreState space exploration engine for PTAs and MDPs augmented with variables.3,869MITAlgorithmsData structures tw-id-numCheck or generate Taiwan ID numbers.3,865MITAlgorithmsNo standard library response-time-analysisDefinitions and algorithms for response-time analysis of real-time systems3,856MITAlgorithmsScience rttRapidly-Exploring random trees path planning algorithm.3,848MITAlgorithms keypeatGeneric, std-only key repetition handling for Rust.3,843Apache-2.0 OR MITAccessibilityAlgorithms rand-bitsRandom number generators with a fixed number of set bits (ones).3,829MITAlgorithms rust-v4vV4V utility crate. Including bLIP 10 implementation for Rust, split calculation and serialization3,818MITAlgorithmsCryptography::Cryptocurrencies chess-cornersHigh-level chessboard / ChESS corner detection API3,813MITAlgorithmsMultimedia::Images n18ioManages the (de)serialisation of 18xx tiles and maps.3,811MIT OR Apache-2.0AlgorithmsGraphics tenhou-shuffleTenhou Deck/Wall-Shuffling Algorithm3,809MITAlgorithmsGame development shamirssHobbist implementation of Shamirs Secret Sharing algorithm.3,808non-standardAlgorithmsCryptography minet_aiMiNET AI (Miniaturized Neural Evolutionary Topology) is a minimalistic Rust library that evolves small neural networks via…3,805MIT OR Apache-2.0AlgorithmsData structures atomic-try-updatePrimitives that make it easy to implement correct lock-free algorithms3,803MITAlgorithmsConcurrency opendeviationbar-hurstHurst Exponent estimator functions for open deviation bar financial analysis3,803MITAlgorithmsMathematics scrolling_window_pattern_matcherA unified pattern matching library with optional context support and extractor-driven architecture for streaming data processing.3,799MIT OR Apache-2.0AlgorithmsParsing tools aob_macrosString searching with wildcards3,7950BSDAlgorithms easylazyEasy lazy initialization of variables3,792MITAlgorithmsCaching nucleic-acidImplementations of Suffix Array, Burrows-Wheeler Transform and FM-index3,790MITAlgorithmsData structures wl-toolsWordlist tools – algorithms and data structures for working with lists of words3,788ISCAlgorithmsData structures threeway_mergeGit-style 3-way string merging using proven algorithms from libgit2/xdiff. Statically links xdiff (LGPL-2.1+).3,786MITAlgorithmsDevelopment tools distrandcommit-reveal distributed random value generation3,784MPL-2.0Algorithms quantrs2-annealQuantum annealing support for the QuantRS2 framework3,778Apache-2.0AlgorithmsScience cecile-supercool-trackerMachine learning framework for building object trackers and similarity search engines3,773Apache-2.0AlgorithmsComputer vision consumeMemory order consume for when it's known that the compiler can't elide the dependency3,773MITAlgorithmsConcurrency random-pickerGenerates random choices based on the weight table of probabilities. It can be used to calculate each item's probability of being…3,770MIT OR Apache-2.0AlgorithmsCommand line utilities multrixA simple matrix multiplication and manipulation library with multithreading support3,769MITAlgorithmsMathematics talrostA mathematics library for embedded scientific computation.3,769Apache-2.0AlgorithmsEmbedded development crcanyCompute any CRC.3,763MITAlgorithms cryptix-fieldA library for group, ring and field arithmetics based on cryptix-bigint3,762GPL-3.0AlgorithmsCryptography kll-rsKLL quantiles sketch from Apache DataSketches for Rust3,751Apache-2.0AlgorithmsCommand line utilities mctserAn incridiblely easy-to-use library for Monte Carlo Tree Search3,751MITAlgorithms fusion-imuRust wrapper for the Fusion AHRS C library3,751MITAlgorithmsAPI bindings dam_levImplements the Damerau–Levenshtein diff algorithm.3,747MITAlgorithms xbarAn iterator-based implementation of the locality-preserving one-sided binary tree - crossbar switch wiring design algorithm.3,746MITAlgorithms clhlockAn implementation of Craig and, indenpendently, Magnussen, Landin, and Hagersten queue lock for mutual exclusion, referred to as…3,746MIT OR Apache-2.0AlgorithmsConcurrency kratomSimple neural network library.3,740GPL-3.0AlgorithmsScience sixarm_collectionsCollections for HashMapToSet and BTreeMapToSet as trait extensions. By SixArm.com.3,740MIT OR Apache-2.0 OR GPL-2.0-onlyAlgorithmsData structures cdc-chunkersA collection of Content Defined Chunking algorithms3,735MITAlgorithms fastxfixExtremely fast prefix/suffix finder for any 2D data type3,735MITAlgorithms elm-solve-depsA dependency solver for the elm ecosystem3,732MPL-2.0Algorithms monarch-butterflyProc-Macro unrolled FFTs3,729MITAlgorithmsScience aobString searching with wildcards3,7270BSDAlgorithms fdaf-aecAn Acoustic Echo Canceller (AEC) using the Frequency Domain Adaptive Filter (FDAF) algorithm.3,727MITAlgorithmsMultimedia::Audio offroad2D offsetting for arc polylines/polygons.3,727MITAlgorithmsData structures mega-security-rsAn implementation of Mega's security whitepaper3,725MITAlgorithmsAuthentication tiltflakeTiltflake is a distributed database that uses the flake algorithm to generate unique IDs.3,719MITAlgorithmsData structures control_systems_torboxControl systems toolbox3,716MITAlgorithmsMathematics quadimFastest image quadtree stylization implementation to date, capable of hundreds of fps and avoiding ugly non-squares.3,715MIT OR Apache-2.0AlgorithmsCommand line utilities nyxs_owlA comprehensive Rust library for trading, forecasting, and financial analysis3,710MIT OR Apache-2.0AlgorithmsFinance etospheres-labs-lamport_sigsImplementation of the Lamport one-time signature scheme.3,707BSD-3-ClauseAlgorithmsCryptography modular-decompositionA library for computing the modular decomposition of a graph3,706MITAlgorithmsScience median-heapA median heap implementation in Rust, used to keep track of a running median of a sequence of numbers.3,706MITAlgorithmsData structures fast_plA plane-sweep implementation to compute persistence landscapes3,701AGPL-3.0-or-laterAlgorithmsMathematics trie_libA small library implementing a trie data structure3,693GPL-3.0AlgorithmsData structures plonk-jubjubDusk's fork of the implementation of the Jubjub elliptic curve group3,691MIT/Apache-2.0AlgorithmsCryptography ewaldEwald SPME force calculations3,685MITAlgorithmsMathematics ruvector-crvCRV (Coordinate Remote Viewing) protocol integration for ruvector - maps 6-stage signal line methodology to vector database…3,681MIT OR Apache-2.0AlgorithmsScience fast_trieA memory efficient trie library.3,681MITAlgorithmsData structures thin-shuntingA library for evaluating math expressions3,674MITAlgorithmsParsing tools mahfA framework for modular construction and evaluation of metaheuristics.3,671GPL-3.0-or-laterAlgorithmsScience wildescapeSimple string matching with questionmark, star wildcard operator and an escaped character.3,670MITAlgorithms velesdb-coreHigh-performance vector database engine written in Rust3,662non-standardAlgorithmsData structures itertools-wildExtra wild iterator adaptors, wild iterator methods, wild free functions, and wild macros.3,661MIT/Apache-2.0AlgorithmsRust patterns physdes-rsPhysical Design in Rust3,661MIT OR Apache-2.0AlgorithmsScience k_nearestK-nearest neighbors search for points with maximal search radius3,659non-standardAlgorithms barnes_hutFast n-body simluation using the Barnes Hut algorithm3,649MITAlgorithmsMathematics luneswebLibrary for communication with nodes in mainnet or testnet of the lunes-blockchain network Allows the automation of sending…3,645Apache-2.0AlgorithmsCryptography insightfaceCrate to work with Insightface's Face Detection and Face Swap models.3,643MITAlgorithmsComputer vision ufixFlexible and usable generic fixed-point numeric type3,641MITAlgorithmsData structures rev_bitsreverses bits in a specified range3,636Apache-2.0AlgorithmsData structures rand-wyrandThe extremely fast WyRand PRNG for the rand ecosystem of crates.3,635Apache-2.0 OR MITAlgorithmsNo standard library bcrypterThe bcrypt password hashing function in pure Rust. Supports no_std3,633MIT OR Apache-2.0AlgorithmsCryptography chksum-ffiFFI bindings for chksum library.3,633MITAlgorithmsCryptography nuban_rustA validator and generator of Nigerian Uniform Bank Account Number(NUBAN)3,632MITAlgorithms deep_rustMachine learning crate in Rust (under dev)3,630MITAlgorithms consistent-rsConsistent hash package for Rust3,630MITAlgorithms octocodeAI-powered code intelligence with semantic search, knowledge graphs, and built-in MCP server. Transform your codebase into a…3,630Apache-2.0AlgorithmsCommand line utilities einops-macrosSimplistic API for deep learning tensor operations3,624MIT OR Apache-2.0AlgorithmsMathematics chksum-asyncAsynchronous higher-level functions for chksum library.3,623MITAlgorithmsAsynchronous redcUnsigned integer types which are constrained within a modular field using montgomery multiplication, never overflowing or…3,622MIT OR Apache-2.0AlgorithmsCryptography chksum-syncSynchronous higher-level functions for chksum library.3,611MITAlgorithmsCryptography fourierFast Fourier transforms (FFTs)3,609MIT OR Apache-2.0AlgorithmsMathematics mcg59MCG59 random number generator3,608Unlicense OR CC0-1.0AlgorithmsMathematics hashlibProvide various hash algorithms under a same abstraction layer.3,607Apache-2.0 OR MITAlgorithms adversarial_searchRust adversarial search library3,607MITAlgorithms funtoolsa collection of fun iterators to tinker with.3,605GPL-2.0Algorithms entoliA functional programming library inspired by haskell.3,605MITAlgorithmsData structures weighted_levenshteinGeneric implementation of Levenshtein distance allowing arbitrary weighting of operations3,599MITAlgorithmsText processing digit-bin-indexA high-performance, O(P) data structure for weighted random sampling of binned probabilities, ideal for large-scale simulations.3,596MITAlgorithmsData structures isochronous_finite_fieldsIsochronous implementation of GF(2^8) arithmetic3,591MITAlgorithmsCryptography gathersClustering algorithms.3,588Apache-2.0AlgorithmsScience kmeans_smidSmall and fast library for k-means clustering calculations. Fixing smid from `kmeans-rs`.3,585Apache-2.0AlgorithmsScience commonsA high-performance Rust utility library3,578Apache-2.0/MITAlgorithmsData structures next-plaid-onnxFast ColBERT multi-vector encoding using ONNX Runtime3,578Apache-2.0AlgorithmsScience oefpil-sysRust FFI bindings to statically linked C/Fortran library OEFPIL3,576MIT OR Apache-2.0AlgorithmsExternal FFI bindings slab-allocA fast, single-threaded object allocator.3,570Apache-2.0AlgorithmsCaching rag-moduleEnterprise RAG module with chat context storage, vector search, session management, and model downloading. Rust implementation…3,564MITAlgorithmsAPI bindings pwgWith pwg you can easily create random passwords. You can specify how long the password should be and whether it should also…3,563MITAlgorithmsCryptography ttlhashmapOptionally bounded HashMap-like container with decaying nodes.3,5610BSDAlgorithms vaultkeyA secure and customizable password generator library for Rust, designed to create strong, random passwords with various…3,561MITAlgorithmsAuthentication nicolasComputational Algebra Library3,555Apache-2.0AlgorithmsScience alazarrandomness3,553MIT OR Apache-2.0AlgorithmsEmbedded development moving-least-squaresImage deformation using moving least squares3,549MPL-2.0AlgorithmsComputer vision fibonacci_seriesFibonacci Sequence. The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... The next number is…3,548MITAlgorithms stochastic_universal_samplingThe stochastic universal sampling algorithm for the rand crate.3,542MIT-0Algorithms blake2b-powA Library for Performing Proof of Work Using Blake2B Based Off of Nano's Consensus Algorithm3,541MITAlgorithmsCryptography AlgodMany types of rust algorithms and data-structures3,537MITAlgorithms p8n-typesBasic types for representing binary programs3,535LGPL-2.1-or-laterAlgorithmsData structures paybackCalculate to resolve debt networks with as few transactions as possible.3,534GPL-3.0-onlyAlgorithmsCommand line utilities hyperbitbitImplementation of HyperBitBit data structure3,527Apache-2.0AlgorithmsData structures memegeomcomputational geometry library3,526MIT OR Apache-2.0AlgorithmsData structures optical-flow-lkRust implementation of Lucas-Kanade optical flow and Shi-Tomasi feature detection3,523MITAlgorithmsComputer vision cxmr-ta-coreTechnical analysis library. Implements number of indicators: EMA, SMA, RSI, MACD, Stochastic, etc.3,520MITAlgorithmsScience rlx-irTensor IR for the RLX ML compiler — standalone, serializable, optimizable3,520GPL-3.0-onlyAlgorithmsCompilers tiamata PRNG library3,515AGPL-3.0Algorithms moving-least-squares-imageImage deformation using moving least squares3,512MPL-2.0AlgorithmsComputer vision ogre-stream-ext`futures` shortcuts with ergonomic extensions to unlock the full power of Streams in Rust3,510UnlicenseAlgorithmsAsynchronous bitrush-indexA serializable bitmap index library able to index millions values/sec on a single thread.3,509GPL-3.0AlgorithmsData structures rumiPCR Deduplication via directional adjacency3,506MITAlgorithmsScience fast-erasure-shake-rngFast erasure (forward secure) sponge/duplex based PRNG using the Keccak permutation3,506MIT OR Apache-2.0AlgorithmsNo standard library financial_indicatorsA Rust library providing a comprehensive suite of financial technical indicators for cryptocurrency and stock analysis. Includes…3,506MITAlgorithmsDevelopment tools brace-expandRust crate which performs brace expansion of strings, as in shells like Bash etc.3,499MITAlgorithms atomexAtomics extensions in Rust3,496MIT/Apache-2.0AlgorithmsNo standard library chess-corners-mlONNX-based ML refiner inference for chess-corners3,494MITAlgorithmsMultimedia::Images arrow-graphArrow-native graph processing engine with SQL interface3,493Apache-2.0AlgorithmsDatabase interfaces for_build_rsSimple lexer for Rust's build.rs3,489non-standardAlgorithmsRust patterns opendeviationbar-coreCore open deviation bar construction algorithm with temporal integrity guarantees3,486MITAlgorithmsData structures stack-cell-refShare a reference in thread inner.3,482MIT OR Apache-2.0AlgorithmsNo standard library bubble-sortA quick and non-optimized, cloning version of the bubble sort algorithm. Created as a showcase for publishing crates in the Rust…3,481MITAlgorithms bn254Open source implementation of Barreto-Naehrig (BN) aggregate signatures written in Rust3,473MITAlgorithmsCryptography rcubercrate for rubiks cube and solver (LBL, CFOP, Roux, min2phase)3,471MITAlgorithms bmlsBasic Machine Learning Subsystems3,468MIT OR Apache-2.0AlgorithmsMathematics sudokoA comprehensive Sudoku solving library with multiple strategies, puzzle generation, and WebAssembly support3,468MITAlgorithmsGames alea-jsRust port of the javascript alea rng3,461MITAlgorithms dpdk-cyclic-redundancy-checkA wrapper around DPDK's Cyclic Redundancy Check (CRC) functionality3,459AGPL-3.0AlgorithmsExternal FFI bindings rust-lstmA complete LSTM neural network library with training capabilities, multiple optimizers, and peephole variants.3,455MITAlgorithmsScience small_iterA 3-pointer iterator that moves out of a `Vec<T>` or `Box<[T]>`3,449MITAlgorithmsData structures smol_bitmapA space-efficient bitmap with inline storage optimization for small bitmaps3,446MITAlgorithmsData structures procedural_tilemaps_coreLightweight 2D tilemap generation with Wave Function Collapse / Model Synthesis for Bevy3,446MIT OR Apache-2.0AlgorithmsGame development bagpipeA concurrent bag datastructure.3,444Apache-2.0AlgorithmsConcurrency concision-extthis crate implements additional models using the concision framework3,440Apache-2.0AlgorithmsMathematics rng-cliA random data generator CLI tool. Prints an infinite stream of data generated from a selected PRNG algorithm to stdout.…3,440Apache-2.0/MITAlgorithmsCommand line utilities ort-webONNX Runtime on the web 🌐 - An alternative backend for ort3,427MIT OR Apache-2.0AlgorithmsMathematics pbt-macroProperty-based testing with `#![no_std]` compatibility, automatic edge cases, and exhaustive breadth-first search over arbitrary…3,421MPL-2.0AlgorithmsDevelopment tools nanoftsHigh-performance full-text search engine in Rust3,420Apache-2.0AlgorithmsDatabase interfaces async-jobsAsynchronous job orchestration for Rust3,412MIT OR Apache-2.0AlgorithmsAsynchronous tagged_ufsA union-find-set implementation, in which sets can be associated with tags. When two sets are united, their tags are merged.3,410non-standardAlgorithmsData structures modern-icpA modern modular pure Rust implementation of the Iterative Closest Point algorithm.3,408MITAlgorithmsGraphics const-sortSort a slice of elements in constant time (with respect to slice length).3,406MPL-2.0AlgorithmsCryptography lzdLZ double-factor factorization3,400MITAlgorithmsCompression bittysetA BitSet type for manipulating bit sets.3,394MITAlgorithmsData structures kfst-rsFast and portable HFST-compatible finite-state transducers.3,393LGPL-3.0-or-laterAlgorithmsData structures try-iteratorAdds a few fallible methods to iterators.3,389MITAlgorithmsRust patterns kaminparRust wrapper around KaMinPar which is a shared-memory parallel tool to heuristically solve the graph partitioning problem.3,388MITAlgorithmsScience stencilStencil Calculation3,388MITAlgorithmsScience fastexpr-rsA tiny, fast Javascript expression parser3,388MITAlgorithmsParsing tools lcg69069LCG69069 / MTH$RANDOM Pseudorandom linear congruential generator3,388Unlicense OR CC0-1.0AlgorithmsMathematics pcg32No-frills PCG32 random number generator implementation3,383CC0-1.0AlgorithmsNo standard library jam-rsJust another (genomic) minhash (Jam) implementation in Rust3,379MITAlgorithmsCommand line utilities agreed-memstoreAn in-memory implementation of the `agreed::RaftStorage` trait. Fork of async-raft's memstore crate.3,377MIT/Apache-2.0AlgorithmsAsynchronous obzenflow-topologyFlow topology graph structures for ObzenFlow3,376MIT OR Apache-2.0AlgorithmsData structures humnumHuman numeric sorting program — does what `sort -h` is supposed to do!3,375Apache-2.0AlgorithmsCommand line utilities slurA fast, iterative, correct approach to Stackblur, resulting in a very smooth and high-quality output, with no edge bleeding3,374MITAlgorithmsGraphics