Lib.rs

Index of 87,336 Rust libraries and applications. Fast, lightweight, opinionated, unofficial alternative to crates.io. More…

  • Categories
  • New and trending
  • Stats
  • Cryptography

    Algorithms intended for securing data.
    • rustls
    • blake3
    • digest
    • curve25519-dalek
    • x25519-dalek
    • rsa
    • secp256k1
    • aes
    • tor-llcrypto
    • tor-checkable
    • risc0-zkvm-verify
    • risc0-zkvm-serde
    • halo2_proofs
    • and 4566 more…
  • Rust patterns

    Shared solutions for particular situations specific to programming in Rust.
    • color-eyre
    • thiserror
    • once_cell
    • ordered-float
    • num_enum
    • amplify
    • bitflags
    • validator
    • miette
    • methods-enum
    • geo-types
    • caret
    • retry-error
    • tor-units
    • size
    • and 2305 more…
  • Data structures

    Rust implementations of data structures for specific purposes.
    • bitvec
    • hashbrown
    • half
    • predicates
    • priority-queue
    • hdrhistogram
    • arrayvec
    • guppy
    • smallvec
    • hashbag
    • lambda-runtime-types
    • cordyceps
    • array-init
    • avm1-types
    • and 2172 more…
  • Encoding data

    Encoding and/or decoding data from one data format to another.
    • base64
    • serde_with
    • serde_json
    • prost
    • lexical
    • bincode
    • toml
    • scale-info
    • binrw
    • google-api-proto
    • serde_dhall
    • airmash-protocol
    • tor-bytes
    • furse
    • strict_encoding
    • and 1505 more…
  • Algorithms

    Core algorithms such as hashing, sorting and searching.
    • rand
    • crc
    • twox-hash
    • ndarray-linalg
    • bytecount
    • ahash
    • pathfinding
    • crc-any
    • chalk-solve
    • sets
    • chalk-recursive
    • chalk-engine
    • chalk-ir
    • contour
    • movavg
    • and 2096 more…
  • Development tools

    Testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
    • git2
    • irust
    • pretty_assertions
    • git-mit-config
    • kube
    • vergen
    • rustc_version
    • wtools
    • zuk
    • public-api
    • eva-sdk
    • lic
    • capctl
    • cargo-license-template
    • sway-lsp
    • and 2486 more…
  • Debugging

    Figure out what is going on with your code via logging, tracing, or assertions.
    • flexi_logger
    • tracing-subscriber
    • log4rs
    • tracing
    • prometheus
    • opentelemetry
    • gimli
    • iced-x86
    • tracing-core
    • log-fastly
    • symbolic
    • sentry-types
    • fast_log
    • and 510 more…
  • Build Utils

    Utilities for build scripts and other build time steps.
    • cc
    • autocfg
    • pkg-config
    • shadow-rs
    • system-deps
    • ci_info
    • oracle
    • sccache
    • turtle-build
    • rblog
    • cargo-xbuild
    • cargo-auto
    • rmake
    • mvn-autoenforce
    • keystring_generator
    • and 320 more…
  • Testing

    Verify the correctness of your code.
    • trybuild
    • arbitrary
    • assert_cmd
    • httpmock
    • cross
    • proptest
    • rstest
    • insta
    • serial_test
    • goldenfile
    • derive_arbitrary
    • otter-webdriver-tests
    • otter-api-tests
    • and 684 more…
  • FFI

    Interface with other languages. Includes binding generators and helpful language constructs.
    • pyo3
    • napi
    • cbindgen
    • numpy
    • cxx-build
    • bindgen
    • pyo3-build-config
    • maturin
    • ic-cdk
    • rb-sys
    • blst
    • fastly-shared
    • widestring
    • yara
    • cxxbridge-cmd
    • cxx-gen
    • and 199 more…
  • Procedural macros

    Extend Rust language with procedural macros.
    • syn
    • proc-macro-error
    • quote
    • derive_more
    • synstructure
    • proc-macro-crate
    • ctor
    • proc-macro2
    • strum_macros
    • chalk-derive
    • miette-derive
    • metamorphose
    • dbg-pls-derive
    • and 3313 more…
  • Profiling

    Figure out the performance of your code.
    • profiling
    • criterion
    • inferno
    • usdt
    • flowsamples
    • critcmp
    • firestorm
    • dogstatsd
    • puffin_egui
    • nodejs-resolver
    • shumai
    • brunch
    • benchie
    • fast-bernoulli
    • chord-core
    • and 198 more…
  • Cargo plugins

    Subcommands that extend the capabilities of Cargo.
    • cargo-cache
    • cargo-hack
    • cargo-outdated
    • cargo-deb
    • honggfuzz
    • cargo-ndk
    • cargo-make
    • cargo-edit
    • cargo-wasix
    • semverver
    • cargo-depgraph
    • cargo-show-asm
    • and 646 more…
  • Network programming

    Network protocols such as FTP, HTTP, or SSH, or lower-level TCP or UDP.
    • tonic
    • ipnet
    • trust-dns-resolver
    • rusoto_s3
    • tarpc
    • backoff
    • pulsar
    • agate
    • libunftp
    • unftp-sbe-fs
    • actix-protobuf
    • unftp-sbe-gcs
    • ipp
    • unftp-auth-rest
    • unftp-auth-jsonfile
    • and 4275 more…
  • Asynchronous

    Async program flow using techniques like futures, promises, waiting, or eventing.
    • tokio
    • tokio-util
    • wiremock
    • async-task
    • rdkafka
    • tower
    • async-graphql
    • async-io
    • async-graphql-warp
    • async-graphql-actix-web
    • async-graphql-parser
    • async-graphql-tide
    • and 1527 more…
  • Concurrency

    Implementing concurrent and parallel computation.
    • parking_lot
    • crossbeam-channel
    • dashmap
    • rayon
    • crossbeam-queue
    • spin
    • loom
    • flume
    • portable-atomic
    • seize
    • crossbeam-utils
    • ringbuf
    • left-right
    • sharded_mutex
    • and 735 more…
  • Text processing

    Deal with the complexities of human language when expressed in textual form.
    • bstr
    • pulldown-cmark
    • regex
    • globset
    • encoding_rs
    • const_format
    • fancy-regex
    • unicode-xid
    • sscanf
    • aki-txpr-macro
    • yozuk
    • yozuk-sdk
    • yozuk-core-skillset
    • and 1143 more…
  • Web programming

    Create applications for the Web.
    • jsonwebtoken
    • http
    • jsonrpc-core
    • libreddit
    • rust-embed
    • headers
    • v8
    • axum
    • swc_ecmascript
    • swc
    • swc_ecma_minifier
    • swc_html_minifier
    • privatemail
    • spider_cli
    • and 1694 more…
  • HTTP client

    Make HTTP network requests.
    • ureq
    • hyper
    • curl
    • isahc
    • graphql_client
    • attohttpc
    • reqwest
    • kube-runtime
    • hentai
    • indieweb
    • frankenstein
    • http-client
    • twitter-v2
    • async-fetcher
    • apca
    • jsonrpsee-http-client
    • and 264 more…
  • HTTP server

    Server-side programming
    • actix-web
    • routerify
    • lambda_runtime
    • rocket
    • miniserve
    • tiny_http
    • actix-cors
    • salvo_extra
    • rustus
    • afire
    • salvo
    • salvo_core
    • deno_web
    • rocket_prometheus
    • and 819 more…
  • WebSocket

    Communicate over the WebSocket protocol.
    • actix-http
    • tungstenite
    • ws_stream_wasm
    • tokio-tungstenite
    • async-tungstenite
    • message-io
    • hyper-tungstenite
    • websocat
    • kaminari
    • lightws
    • poem-dbsession
    • and 164 more…
  • WebAssembly

    Targeting or manipulating WebAssembly.
    • instant
    • wasmer-wasi
    • plotters
    • rpassword
    • console_error_panic_hook
    • webbrowser
    • wasmer
    • wasm-bindgen
    • wasix
    • air-interpreter-wasm
    • gloo
    • wasmtime-provider
    • and 1398 more…
  • Science

    Solving problems involving math, physics, and other scientific fields.
    • uom
    • peroxide
    • geozero
    • splines
    • rust-htslib
    • roqoqo
    • birli
    • rapier2d
    • geocoding
    • proj
    • coord_transforms
    • proj-sys
    • bed-reader
    • qoqo_calculator
    • qoqo-macros
    • and 1255 more…
  • Math

    Solving problems involving math and logic.
    • rust_decimal
    • num-traits
    • nalgebra
    • matrixmultiply
    • num-bigint
    • euclid
    • ultraviolet
    • argmin
    • jlrs
    • lsts
    • num-rational
    • medians
    • nalgebra_latex
    • polynomial-ring
    • and 1256 more…
  • Machine learning

    AI, ML, NN, etc.
    • tch
    • tract-nnef
    • rstats
    • rust-bert
    • tract
    • rcudnn
    • pv_porcupine
    • picovoice
    • einops
    • dfdx
    • mosec
    • ors
    • cv-convert
    • forust-ml
    • linfa
    • linfa-clustering
    • linfa-bayes
    • and 366 more…
  • Robotics

    Robotics and vehicle engineering
    • rosrust
    • opencv-ros-camera
    • tello
    • adskalman
    • bayes_estimate
    • openrr-apps
    • openrr-planner
    • abbegm
    • yakf
    • rosbag
    • cam-geom
    • canadensis_write_crc
    • erdos
    • libfranka-rs
    • and 86 more…
  • Parser implementations

    Parse data formats or languages.
    • uuid
    • quick-xml
    • semver
    • csv
    • goblin
    • der-parser
    • sqlparser
    • toml_edit
    • metar
    • tor-netdoc
    • tor-cert
    • tor-cell
    • tor-consdiff
    • wavefront_rs
    • deseresp
    • cameleon-genapi
    • and 1375 more…
  • Parser tooling

    Low-level tools and parser generators.
    • nom
    • combine
    • logos
    • tree-sitter
    • lalrpop
    • nom_locate
    • evalexpr
    • sbp
    • parol_runtime
    • skyscraper
    • parsel
    • parsel_derive
    • locspan
    • lang-util
    • parol
    • somen
    • hime_redist
    • and 475 more…
  • Hardware support

    Interface with specific CPU or other hardware features.
    • memchr
    • serialport
    • crc32fast
    • blake2b_simd
    • rusb
    • tiberius
    • dvm
    • raw-cpuid
    • lss_driver
    • customasm
    • cameleon-device
    • rp-pico
    • tokio-modbus
    • iot_device_bridge
    • and 1319 more…
  • Embedded development

    For embedded devices or devices without an operating system.
    • smoltcp
    • embedded-graphics
    • rhai
    • embedded-hal
    • postcard
    • stm32h7xx-hal
    • embedded-time
    • atsamd-hal
    • cortex-m-rtic
    • embedded-canvas
    • cortex-m-rtic-macros
    • and 2323 more…
  • Operating systems

    Bindings to operating system-specific APIs.
    • sysinfo
    • ctrlc
    • os_info
    • whoami
    • object
    • which
    • nu
    • subprocess
    • app_dirs2
    • hermit-abi
    • hermit-sys
    • fd-lock
    • errno-no-std
    • multiboot2
    • dittolive-ditto-sys
    • and 608 more…
  • Unix APIs

    Bindings to Unix-specific APIs.
    • rustix
    • nix
    • rua
    • dbus
    • neli
    • zbus
    • users
    • syslog
    • paru
    • docker-api
    • flatpak-rs
    • netlink-packet-route
    • genetlink
    • procfs
    • smithay-clipboard
    • eadb
    • linux-procfs
    • and 606 more…
  • Windows APIs

    Bindings to Windows-specific APIs.
    • winreg
    • native-windows-gui
    • winres
    • wmi
    • wild
    • clipboard-win
    • windows-service
    • winsafe
    • uiautomation
    • windows-dll
    • dll-syringe
    • windows
    • windows_x86_64_msvc
    • and 718 more…
  • macOS and iOS APIs

    Bindings to Apple-specific APIs.
    • core-foundation
    • embed_plist
    • security-framework-sys
    • core-graphics
    • fse_dump
    • anybar_rs
    • objc
    • swift-bridge-ir
    • objc2
    • objc-sys
    • objc2-foundation
    • objc2-encode
    • and 137 more…
  • Compression

    Algorithms for making data smaller.
    • snap
    • zstd
    • flate2
    • brotli
    • zip
    • brotli-decompressor
    • deflate
    • lz4_flex
    • compress-tools
    • minify-js
    • minify-html-onepass
    • arcode
    • cab
    • eszip
    • cpio
    • flate2-expose
    • and 434 more…
  • Command-line interface

    Argument parsers, line-editing, or output coloring and formatting.
    • clap
    • crossterm
    • owo-colors
    • codespan-reporting
    • uucore
    • colored
    • cursive
    • console
    • bpaf
    • fade
    • cli-batteries
    • ansi_rgb
    • tuifw-window
    • tuifw-screen-base
    • and 631 more…
  • Command line utilities

    Applications to run at the command line.
    • fd-find
    • procs
    • ripgrep
    • zoxide
    • tp-note
    • bat
    • quicktest
    • git-delta
    • machine_setup
    • cliblur
    • paper-terminal
    • melody_cli
    • otter-cli
    • chwp
    • ipp-util
    • cargo-patch
    • and 4593 more…
  • Filesystem

    Crates for dealing with files and filesystems.
    • directories
    • relative-path
    • ignore
    • infer
    • path-absolutize
    • notify-rust
    • notify
    • filetime
    • nameless
    • fs-set-times
    • disktest
    • vsb
    • fs-mistrust
    • cap-fs-ext
    • and 694 more…
  • Date and time

    Dealing with the fourth dimension.
    • chrono-tz
    • time
    • chrono
    • hifitime
    • rrule
    • coarsetime
    • cron
    • chronoutil
    • cap-time-ext
    • date-formats-workflow
    • libtzfile
    • tzdb
    • dtparse
    • uhlc
    • speedate
    • polars-time
    • and 239 more…
  • Database interfaces

    Interface with database management systems.
    • rusqlite
    • sqlx
    • redis
    • lapin
    • rocksdb
    • deadpool
    • mysql_async
    • mongodb
    • mango-orm
    • qldb
    • rbatis
    • linked-hash-map
    • asyncmigrate
    • turbosql
    • zapp
    • turbosql-impl
    • and 1775 more…
  • Memory management

    Allocation, memory mapping, garbage collection, reference counting, or interfaces to foreign memory managers.
    • arc-swap
    • bumpalo
    • memmap2
    • jemallocator
    • slotmap
    • tikv-jemallocator
    • vm-memory
    • gc
    • tikv-jemalloc-sys
    • jemalloc-sys
    • second-stack
    • ra_ap_la-arena
    • sensitive
    • and 416 more…
  • Database implementations

    Database management systems implemented in Rust.
    • tantivy
    • sled
    • indradb
    • sonic-server
    • terminus-store
    • indicium
    • pickledb
    • oxigraph
    • doublets
    • axum_database_sessions
    • rapiddb
    • r2d2
    • tmdb-async
    • atomic-cli
    • and 456 more…
  • Value formatting

    Format values for display to a user, potentially adapting the display to various languages and regions.
    • ryu
    • itoa
    • bytesize
    • lexical-util
    • base-x
    • lexical-write-float
    • ryu-js
    • measurements
    • dprint-plugin-typescript
    • human-repr
    • prettyplease
    • uniquote
    • nu-pretty-hex
    • and 154 more…
  • Template engine

    Combine templates with data to produce documents, usually with an emphasis on processing text.
    • tera
    • handlebars
    • askama
    • liquid
    • tinytemplate
    • ramhorns
    • fluent-templates
    • minijinja
    • resticular
    • hairy
    • oapi_generator
    • build_html
    • flowscripter_template_rust_library
    • and 343 more…
  • Multimedia

    Audio, video, and image processing or rendering engines.
    • gstreamer
    • gstreamer-video
    • menyoki
    • spectrum-analyzer
    • mime
    • empress
    • rust_cast
    • rescrobbled
    • livestream-dl
    • decoreco
    • meter
    • matroska-demuxer
    • rusty_ffmpeg
    • and 487 more…
  • Images

    Process or make images.
    • image
    • png
    • lodepng
    • opencv
    • rgb
    • texture-synthesis-cli
    • usvg
    • palette
    • image-canvas
    • badge-maker
    • imageinfo
    • srgb
    • colorsys
    • sctk-adwaita
    • turbojpeg
    • zune-jpeg
    • and 484 more…
  • Audio

    Record, output, or process audio.
    • cpal
    • ncspot
    • id3
    • termusic
    • rspotify
    • librespot-playback
    • microwave
    • spotify_player
    • mpd-discord-rpc
    • riff-wave
    • surge-hound
    • surge-param
    • surge-types
    • and 775 more…
  • Video

    Record, output, or process video.
    • gifski
    • v4l
    • ffmpeg-next
    • openh264
    • mp4
    • cameleon
    • tvrank
    • rsmpeg
    • ab-av1
    • rml_rtmp
    • matroska
    • openh264-sys2
    • asn1-codecs
    • plex-discord-rpc
    • dash-mpd-cli
    • and 281 more…
  • Encoding media

    Encode or decode binary data in multimedia formats.
    • realfft
    • stegano-cli
    • dantalian
    • webm-iterable
    • env-libvpx-sys
    • audiopus_sys
    • rapid-qoi
    • discortp
    • blend_info
    • ebml-iterable
    • opus
    • fast_qr
    • webm-sys
    • alac-encoder
    • and 25 more…
  • Rendering

    Real-time or offline rendering of 2D or 3D graphics, usually on a GPU.
    • sdl2
    • tiny-skia
    • minifb
    • pixels
    • skulpin
    • sdl2-sys
    • pilka
    • flo_curves
    • smallpt
    • pixel-canvas
    • bevy_prototype_debug_lines
    • notan
    • encase
    • encase_derive
    • encase_derive_impl
    • and 864 more…
  • Graphics APIs

    Direct access to the hardware's or the operating system's rendering capabilities.
    • ash
    • glib
    • luminance
    • wgpu
    • gltf
    • glfw
    • skia-safe
    • resvg
    • deno_webgpu
    • bgfx-rs
    • mltg
    • gfx_glow
    • notan_graphics
    • ansipix
    • lyon_geom
    • footile
    • iced_wgpu
    • pigeon-parrot
    • and 861 more…
  • Gfx data formats

    Loading and parsing of data for 2D/3D rendering, like 3D models or animations.
    • glyph_brush
    • spirv-tools
    • landon
    • sdf_glyph_renderer
    • shalrath
    • obj-rs
    • tween
    • poppler-rs
    • fbxcel-dom
    • nobject-rs
    • owned_ttf_parser
    • spirv-tools-sys
    • pbf_font_tools
    • and 36 more…
  • Rendering engine

    High-level solutions for rendering on the screen.
    • rs_pbrt
    • slint-interpreter
    • slint
    • spirv-reflect
    • rend3
    • intel_tex_2
    • ispc-texcomp
    • flo_render_canvas
    • rend3-gltf
    • rend3-types
    • vk-mem-erupt
    • vk-mem
    • meshopt
    • and 39 more…
  • Programming languages

    Programming languages
    • rustc-demangle
    • hvm
    • ariadne
    • swc_cli
    • cranelift-frontend
    • tree-sitter-python
    • tokay
    • ascent
    • melody_compiler
    • swc_ecma_transforms
    • swc_bundler
    • swc_estree_compat
    • and 329 more…
  • Configuration

    Configuration management for applications.
    • config
    • configparser
    • dotenv
    • rust-ini
    • envmnt
    • figment
    • abscissa_core
    • envy
    • tor-config
    • tor-persist
    • econf
    • no-proxy
    • dt-cli
    • vsmtp-rule-engine
    • dt-core
    • and 341 more…
  • No standard library

    Libraries that function without the Rust standard library.
    • libm
    • core_extensions
    • target-lexicon
    • amplify_apfloat
    • core2
    • hash32
    • generativity
    • str-buf
    • cranelift-bforest
    • cranelift-module
    • cranelift-native
    • cranelift
    • and 391 more…
  • GUI

    Create a graphical user interface.
    • fltk
    • winit
    • gtk
    • fontdue
    • smithay-client-toolkit
    • miniquad
    • orbtk
    • gtk4
    • wayland-client
    • wayland-protocols
    • wayland-scanner
    • wayland-server
    • wayland-cursor
    • and 653 more…
  • Caching

    Store the results of previous computations.
    • cached
    • internment
    • http-cache-semantics
    • ustr
    • intaglio
    • cached-path
    • lru
    • twilight-cache-inmemory
    • michie
    • http-cache
    • http-cache-reqwest
    • http-cache-surf
    • and 182 more…
  • Game dev

    Crates for creating games.
    • egui
    • bevy
    • glam
    • hecs
    • macroquad
    • gilrs
    • bevy-inspector-egui
    • jomini
    • screen-13
    • benimator
    • apecs
    • conditional_commands
    • bevy_sepax2d
    • pix-engine
    • iyes_loopless
    • and 1444 more…
  • Games

    Fun and entertainment. Games and mods implemented in Rust.
    • shticker_book_unwritten
    • riven
    • shakmaty-syzygy
    • rs-cache
    • rosu-pp
    • disle
    • typeracer
    • fastanvil
    • hustle
    • otter
    • otter-base
    • otter-support
    • pkpw
    • newdoku
    • and 532 more…
  • Authentication

    Help with the process of confirming identities.
    • yup-oauth2
    • termion
    • josekit
    • prs-cli
    • git-credential-keepassxc
    • jwt-cli
    • keyring
    • vaultrs
    • ctap-hid-fido2
    • axum_sessions_auth
    • ffsend
    • prs-gtk3
    • prs-lib
    • and 545 more…
  • Email

    Sending, receiving, formatting, and parsing email.
    • lettre
    • imap
    • mailchecker
    • mrml
    • mailparse
    • check-if-email-exists
    • viaspf
    • rrss2imap
    • vsync
    • spftrace
    • yxy
    • snitch
    • imap-codec
    • vomit
    • imap-types
    • smtp-codec
    • and 268 more…
  • Internationalization (i18n)

    and localization (l10n). Develop software for various languages and regions.
    • fluent-bundle
    • rust_icu_ustring
    • i18n-embed
    • rust_icu_uenum
    • icu_provider
    • autocorrect
    • gettext-rs
    • focaccia
    • twine
    • tantivy-pinyin
    • sys-locale
    • jp-prefecture
    • and 250 more…
  • Text editors

    Applications for editing text.
    • lsp-types
    • pepper
    • kiro-editor
    • hired
    • lino
    • kibi
    • notnow
    • edit
    • tui-textarea
    • flowistry
    • add-ed
    • dart-ffi
    • pepper-plugin-lsp
    • zte
    • edhex
    • exm
    • exomind-protos
    • and 130 more…
  • Visualization

    Ways to view data, such as plotting or graphing.
    • poloto
    • urdf-viz
    • krates
    • bottom
    • prodash
    • czkawka_gui
    • datavzrd
    • textplots
    • graplot
    • pgfplots
    • plotters-iced
    • mini_markdown
    • coffeevis
    • triple_arena_render
    • and 199 more…
  • Emulators

    Run software or games not available natively on the host computer.
    • vm-superio
    • qip
    • mizu
    • iz80
    • vtx-bin
    • runes
    • brainhug
    • rvemu
    • mizu-core
    • save_state
    • save_state_derive
    • unicorn-engine
    • vm-superio-ser
    • scriptful
    • rtlola-interpreter
    • and 164 more…
  • Simulation

    Model or construct models for some activity, e.g. to simulate a networking protocol.
    • qoqo
    • physx
    • sim
    • bigbang
    • wham
    • freebj
    • roqoqo-test
    • pacifist-chess-simulation
    • roqoqo-derive
    • roqoqo-quest
    • quest-sys
    • qoqo-quest
    • simrs
    • dubins_paths
    • and 220 more…
  • Accessibility

    Assistive technologies
    • cnsl
    • actix-error-mapper-middleware
    • aq
    • rs-utilities
    • accelhints
    • tolk
    • rs-utililies
    • rust-gecko
    • and 9 more…

About the site. By kornelski. (Source code). Feed. Feedback and feature requests are welcome!