Lib.rs

Index of 90,516 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
    • curve25519-dalek
    • digest
    • rsa
    • secp256k1
    • k256
    • x25519-dalek
    • ecdsa
    • pact_verifier_cli
    • crypto_box
    • signature
    • umbral-pre
    • groestlcoin
    • unknown_order
    • and 4821 more…
  • Rust patterns

    Shared solutions for particular situations specific to programming in Rust.
    • color-eyre
    • thiserror
    • once_cell
    • bytes
    • num_enum
    • ordered-float
    • miette
    • validator
    • pin-project
    • pin-project-internal
    • rustdoc-types
    • expect-exit
    • dyn-dyn
    • and 2377 more…
  • Development tools

    Testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
    • git2
    • assert-json-diff
    • pretty_assertions
    • kube
    • irust
    • vergen
    • include_dir
    • xargo
    • git-mit-config
    • mit-prepare-commit-msg
    • mit-pre-commit
    • mit-commit-msg
    • and 2568 more…
  • Debugging

    Figure out what is going on with your code via logging, tracing, or assertions.
    • flexi_logger
    • log4rs
    • tracing
    • prometheus
    • tracing-opentelemetry
    • gimli
    • iced-x86
    • log
    • SafeManuallyDrop
    • ruc
    • cargo-expand
    • fast_log
    • console-subscriber
    • and 536 more…
  • Build Utils

    Utilities for build scripts and other build time steps.
    • cc
    • autocfg
    • pkg-config
    • system-deps
    • shadow-rs
    • ci_info
    • linkme
    • sccache
    • yamis
    • const-gen
    • crossbow-ios
    • embed-manifest
    • build-probe-mpi
    • preproc
    • scratch
    • and 328 more…
  • Testing

    Verify the correctness of your code.
    • trybuild
    • assert_cmd
    • arbitrary
    • insta
    • cross
    • httpmock
    • rstest
    • test-case
    • pact_mock_server_cli
    • datatest-stable
    • trycmd
    • snapbox
    • thirtyfour
    • fantoccini
    • and 702 more…
  • FFI

    Interface with other languages. Includes binding generators and helpful language constructs.
    • pyo3
    • napi
    • cbindgen
    • cxx-build
    • numpy
    • bindgen
    • pyo3-build-config
    • cxxbridge-flags
    • maturin
    • ext-php-rs
    • elm_rs
    • minutus
    • flutter_rust_bridge_codegen
    • flutter_rust_bridge
    • and 210 more…
  • Profiling

    Figure out the performance of your code.
    • criterion
    • profiling
    • inferno
    • firestorm
    • dogstatsd
    • usdt
    • oha
    • puffin
    • prof
    • precision
    • times
    • deno_bench_util
    • timedilator-2
    • witchcraft-metrics
    • tiny-bench
    • and 204 more…
  • Procedural macros

    Extend Rust language with procedural macros.
    • syn
    • proc-macro-error
    • derive_more
    • proc-macro-crate
    • ctor
    • synstructure
    • quote
    • enum_dispatch
    • refinery-macros
    • rash_derive
    • wasmbus-macros
    • dhall_proc_macros
    • and 3499 more…
  • Cargo plugins

    Subcommands that extend the capabilities of Cargo.
    • cargo-hack
    • cargo-deb
    • cargo-cache
    • honggfuzz
    • cargo-outdated
    • cargo-ndk
    • cargo-audit
    • cargo-sort
    • cargo-semver-checks
    • cargo-license
    • cargo-show-asm
    • and 668 more…
  • Data structures

    Rust implementations of data structures for specific purposes.
    • bitvec
    • hashbrown
    • half
    • priority-queue
    • phf_codegen
    • predicates
    • arrayvec
    • hdrhistogram
    • kd-tree
    • lib-sokoban
    • indxvec
    • lambda-runtime-types
    • gapbuf
    • funcmap
    • and 2224 more…
  • Network programming

    Network protocols such as FTP, HTTP, or SSH, or lower-level TCP or UDP.
    • tonic
    • ipnet
    • tonic-build
    • trust-dns-resolver
    • thrift
    • tarpc
    • quinn
    • backoff
    • naia-shared
    • naia-server
    • naia-client
    • naia-client-socket
    • rustdtp
    • rustcat
    • and 4617 more…
  • Algorithms

    Core algorithms such as hashing, sorting and searching.
    • rand
    • twox-hash
    • crc
    • bytecount
    • ndarray-linalg
    • crypto-bigint
    • ahash
    • pathfinding
    • trade_aggregation
    • feruca
    • metaheuristics-nature
    • skillratings
    • dyn-stack
    • and 2178 more…
  • Encoding data

    Encoding and/or decoding data from one data format to another.
    • serde_with
    • base64
    • bson
    • serde_json
    • prost
    • lexical
    • bincode
    • rmp
    • webb-proposals
    • bytemuck
    • serde_dhall
    • prost-reflect
    • serde-querystring
    • bytemuck_derive
    • and 1543 more…
  • Asynchronous

    Async program flow using techniques like futures, promises, waiting, or eventing.
    • tokio
    • tokio-util
    • wiremock
    • async-task
    • async-io
    • mio
    • rdkafka
    • event-listener
    • async-graphql-actix-web
    • linemux
    • async-graphql
    • async-graphql-axum
    • futures
    • and 1566 more…
  • Concurrency

    Implementing concurrent and parallel computation.
    • parking_lot
    • crossbeam-channel
    • dashmap
    • rayon
    • moka
    • spin
    • crossbeam-queue
    • flume
    • portable-atomic
    • testbench
    • choir
    • genserver
    • apalis
    • fault-injection
    • and 755 more…
  • Text processing

    Deal with the complexities of human language when expressed in textual form.
    • bstr
    • regex
    • globset
    • const_format
    • encoding_rs
    • tabled
    • fancy-regex
    • unicode-normalization
    • instant-segment
    • yozuk
    • zhconv
    • varcon-core
    • yozuk-core-skillset
    • and 1173 more…
  • Parser implementations

    Parse data formats or languages.
    • uuid
    • quick-xml
    • semver
    • goblin
    • csv
    • serde_yaml
    • der-parser
    • xml-rs
    • roxmltree
    • shellish_parse
    • quil-rs
    • wthor
    • libyaml
    • owlchess
    • teehistorian
    • shiratsu-naming
    • and 1418 more…
  • Web programming

    Create applications for the Web.
    • jsonwebtoken
    • jsonrpc-core
    • http
    • rust-embed
    • ammonia
    • teloxide
    • serenity
    • iref
    • lunatic
    • v8
    • dav-server
    • swc_plugin_proxy
    • reasonable
    • swc
    • swc_ecma_minifier
    • and 1682 more…
  • HTTP client

    Make HTTP network requests.
    • ureq
    • curl
    • hyper
    • octocrab
    • graphql_client
    • isahc
    • reqwest
    • aliyundrive-webdav
    • twilight-lavalink
    • twilight-http
    • feignhttp
    • apca
    • twitter-v2
    • recursive_scraper
    • and 269 more…
  • HTTP server

    Server-side programming
    • actix-web
    • lambda_runtime
    • routerify
    • axum
    • salvo_extra
    • rocket
    • lambda_http
    • actix-cors
    • http-server
    • salvo_core
    • salvo
    • salvo_macros
    • poem
    • warpy
    • actix-governor
    • and 810 more…
  • WebSocket

    Communicate over the WebSocket protocol.
    • tungstenite
    • actix-http
    • awc
    • tokio-tungstenite
    • ws_stream_wasm
    • async-tungstenite
    • message-io
    • soketto
    • ratchet_rs
    • poem-dbsession
    • ratchet_deflate
    • deno_websocket
    • and 175 more…
  • Parser tooling

    Low-level tools and parser generators.
    • nom
    • combine
    • logos
    • tree-sitter
    • pest
    • pest_derive
    • evalexpr
    • nom_locate
    • pest_consume
    • rustlr
    • parol-ls
    • twilight-interactions
    • twilight-interactions-derive
    • and 503 more…
  • WebAssembly

    Targeting or manipulating WebAssembly.
    • plotters
    • wasmer-wasi
    • wasmer
    • console_error_panic_hook
    • yew
    • wasm-bindgen
    • wat
    • instant
    • psd
    • fp-bindgen
    • air-interpreter-wasm
    • wa_proto
    • fp-bindgen-support
    • and 1482 more…
  • Science

    Solving problems involving math, physics, and other scientific fields.
    • uom
    • geo
    • peroxide
    • splines
    • rust-htslib
    • geojson
    • rapier3d
    • geozero
    • d4-hts
    • sgp4
    • pn-editor
    • rems
    • roqoqo
    • dos-actors
    • qoqo_calculator
    • rinex
    • qoqo-macros
    • and 1301 more…
  • Math

    Solving problems involving math and logic.
    • rust_decimal
    • num-bigint
    • matrixmultiply
    • nalgebra
    • euclid
    • num-traits
    • fixed
    • geos
    • primal-check
    • primal-sieve
    • option-operations
    • primal
    • primal-bit
    • primal-estimate
    • and 1304 more…
  • Machine learning

    AI, ML, NN, etc.
    • rstats
    • tract-nnef
    • rust-bert
    • tch
    • pv_porcupine
    • tract-hir
    • rcudnn
    • picovoice
    • intricate-macros
    • similari
    • custos
    • tract-core
    • tract-pulse-opl
    • tract
    • tract-linalg
    • and 388 more…
  • Robotics

    Robotics and vehicle engineering
    • rosrust
    • opencv-ros-camera
    • adskalman
    • yakf
    • tello
    • stepper
    • bayes_estimate
    • tf_rosrust
    • jps
    • stspin220
    • drv8825
    • map_3d
    • abbegm
    • rosbag
    • cam-geom
    • libfranka-rs
    • and 85 more…
  • Hardware support

    Interface with specific CPU or other hardware features.
    • memchr
    • serialport
    • crc32fast
    • blake2b_simd
    • rppal
    • raw-cpuid
    • btleplug
    • rusb
    • blinkt
    • autd3-driver
    • rust-hdl
    • cryptoki-sys
    • leaprs
    • pact-plugin-driver
    • rp2040-boot2
    • and 1379 more…
  • Embedded development

    For embedded devices or devices without an operating system.
    • smoltcp
    • embedded-hal
    • rhai
    • probe-rs
    • stm32h7xx-hal
    • postcard
    • embedded-time
    • cty
    • jep106
    • cortex-m
    • ws2812-esp32-rmt-driver
    • stm32-eth
    • idsp
    • bme280-multibus
    • and 2405 more…
  • Compression

    Algorithms for making data smaller.
    • snap
    • zstd
    • flate2
    • brotli
    • miniz_oxide
    • zip
    • lz4_flex
    • tar
    • brotlic
    • chd
    • sqlar
    • partialzip
    • conserve
    • chd-capi
    • compress-tools
    • lzma-rs-headerless
    • msgpacker
    • and 454 more…
  • Operating systems

    Bindings to operating system-specific APIs.
    • sysinfo
    • ctrlc
    • subprocess
    • object
    • whoami
    • os_info
    • which
    • nu
    • plow_package_management
    • uhyve
    • hermit-sys
    • redox_syscall
    • plow_linter
    • libc
    • fluvio-extension-common
    • and 602 more…
  • Unix APIs

    Bindings to Unix-specific APIs.
    • xcb
    • nix
    • neli
    • users
    • zbus
    • shell-words
    • syslog
    • calloop
    • xremap
    • linux-futex
    • systeroid-core
    • ocipkg
    • caps
    • evdev
    • xkbcommon
    • x11-clipboard
    • procfs
    • automatic-timezoned
    • and 599 more…
  • Windows APIs

    Bindings to Windows-specific APIs.
    • winreg
    • native-windows-gui
    • winres
    • wmi
    • wild
    • clipboard-win
    • windows-service
    • d3d12
    • win_desktop_duplication
    • winfw
    • uiautomation
    • winpty-rs
    • tts
    • wineventhook
    • and 722 more…
  • macOS and iOS APIs

    Bindings to Apple-specific APIs.
    • core-foundation
    • embed_plist
    • security-framework-sys
    • objc
    • core-graphics
    • core-foundation-sys
    • swift-bridge-ir
    • fse_dump
    • cacao
    • mac-notification-sys
    • and 142 more…
  • Memory management

    Allocation, memory mapping, garbage collection, reference counting, or interfaces to foreign memory managers.
    • arc-swap
    • bumpalo
    • jemallocator
    • linked_list_allocator
    • slab
    • vm-memory
    • gc
    • heapless
    • memmap2
    • ra_ap_la-arena
    • cap
    • yoke
    • ensf594-project-mmap
    • bufsize
    • and 428 more…
  • Command-line interface

    Argument parsers, line-editing, or output coloring and formatting.
    • clap
    • crossterm
    • owo-colors
    • rustyline
    • colored
    • prettytable-rs
    • codespan-reporting
    • uucore
    • tui
    • tui-tree-widget
    • combu
    • cargo-php
    • cli-batteries
    • happylog
    • and 654 more…
  • Command line utilities

    Applications to run at the command line.
    • fd-find
    • ripgrep
    • zoxide
    • names
    • bat
    • jql
    • fishnet
    • tp-note
    • starship
    • guess-that-lang
    • wthrr
    • cranko
    • refinery_cli
    • gitten
    • tuirealm
    • lngcnv
    • plow_cli
    • gex
    • and 4795 more…
  • Date and time

    Dealing with the fourth dimension.
    • chrono-tz
    • time
    • hifitime
    • chrono
    • cron
    • coarsetime
    • rrule
    • tokio-cron-scheduler
    • utc2k
    • tzdb
    • iana-time-zone
    • icalendar
    • qsv-dateparser
    • utcnow
    • heliocron
    • and 273 more…
  • Database interfaces

    Interface with database management systems.
    • rusqlite
    • mongodb
    • lapin
    • rocksdb
    • deadpool
    • sqlx
    • sea-query
    • mysql_async
    • refinery
    • rbatis
    • influxrs
    • rbdc
    • reql
    • sql_query_builder
    • pontus_onyx
    • pontus_onyx_cli
    • and 1876 more…
  • Filesystem

    Crates for dealing with files and filesystems.
    • directories
    • relative-path
    • path-absolutize
    • ignore
    • infer
    • notify-rust
    • path-slash
    • open
    • notify
    • camino
    • legdur
    • opendal
    • easy_file
    • fs-tree
    • dhall
    • parquet2
    • and 724 more…
  • Database implementations

    Database management systems implemented in Rust.
    • sled
    • tantivy
    • sonic-server
    • indradb
    • oxigraph
    • indicium
    • pickledb
    • opensrv-mysql
    • rustdb
    • surrealdb
    • rustdb-axum-example
    • memory-lol
    • rbx-ds-cloud
    • worterbuch
    • and 476 more…
  • Value formatting

    Format values for display to a user, potentially adapting the display to various languages and regions.
    • itoa
    • ryu
    • bytesize
    • lexical-util
    • base-x
    • lexical-write-float
    • ryu-js
    • dtoa
    • currency_rs
    • dprint-plugin-json
    • prettyplease
    • dragonbox
    • precise
    • dprint-plugin-typescript
    • and 157 more…
  • Template engine

    Combine templates with data to produce documents, usually with an emphasis on processing text.
    • tera
    • handlebars
    • askama
    • liquid
    • fluent-templates
    • tinytemplate
    • ramhorns
    • minijinja
    • bempline
    • malvolio
    • anathema
    • format_xml
    • nate
    • fmtools
    • build_html
    • and 357 more…
  • Programming languages

    Compilers
    • rustc-demangle
    • hvm
    • ariadne
    • clang-ast
    • cranelift-frontend
    • swc_cli
    • tree-sitter-python
    • onlang
    • swc_core
    • swc_plugin_runner
    • swc_ecma_dep_graph
    • swc_ecma_transforms_classes
    • and 350 more…
  • Configuration

    Configuration management for applications.
    • config
    • dotenv
    • configparser
    • envmnt
    • rust-ini
    • figment
    • abscissa_core
    • feattle
    • cvar
    • abnf_to_pest
    • vsmtp-rule-engine
    • abserde
    • cf-env
    • vnetod
    • tor-config
    • and 357 more…
  • No standard library

    Libraries that function without the Rust standard library.
    • cxx
    • libm
    • core_extensions
    • target-lexicon
    • colorous
    • sallyport
    • obfstr
    • amplify_apfloat
    • efd
    • eint
    • license
    • hermit-entry
    • ptr_meta
    • x2apic
    • nuuid
    • atomic-memcpy
    • and 414 more…
  • Multimedia

    Audio, video, and image processing or rendering engines.
    • gstreamer
    • menyoki
    • gstreamer-video
    • spectrum-analyzer
    • rust_cast
    • empress
    • gstreamer-audio
    • rescrobbled
    • adder-codec-rs
    • ndi
    • sax-fingering-chart
    • ril
    • and 501 more…
  • Images

    Process or make images.
    • image
    • palette
    • png
    • opencv
    • lodepng
    • rgb
    • usvg
    • imgref
    • identicon-rs
    • vimba-sys
    • annatar
    • artano
    • jpegxl-rs
    • captis
    • pdfium-render
    • sctk-adwaita
    • img-parts
    • and 496 more…
  • Audio

    Record, output, or process audio.
    • cpal
    • id3
    • ncspot
    • rodio
    • rspotify
    • spotify_player
    • microwave
    • librespot-playback
    • optivorbis
    • bliss-audio
    • blissify
    • fundsp
    • lofty
    • kira
    • gonk
    • bass-sys
    • termusic
    • and 801 more…
  • Video

    Record, output, or process video.
    • gifski
    • openh264
    • ffmpeg-next
    • mp4
    • rustube
    • cameleon
    • v4l
    • tvrank
    • grav1synth
    • av1-grain
    • bevy_capture_media
    • vid_dup_finder_lib
    • ffmpeg_cmdline_utils
    • and 290 more…
  • Rendering

    Real-time or offline rendering of 2D or 3D graphics, usually on a GPU.
    • sdl2
    • tiny-skia
    • skulpin
    • sdl2-sys
    • flo_curves
    • pixels
    • russimp
    • minifb
    • bevy_pixel_buffer
    • rasterize
    • sw-composite
    • allegro_primitives
    • shadertoy-rs
    • wgpu_text
    • and 886 more…
  • Graphics APIs

    Direct access to the hardware's or the operating system's rendering capabilities.
    • glib
    • ash
    • wgpu
    • vulkano
    • skia-safe
    • gdk-pixbuf
    • resvg
    • wgpu-types
    • old_school_gfx_glutin_ext
    • wgsl-playground
    • spirv-std
    • spirv-builder
    • rustc_codegen_spirv
    • and 887 more…
  • Gfx data formats

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

    High-level solutions for rendering on the screen.
    • rs_pbrt
    • slint-interpreter
    • slint
    • intel_tex_2
    • spirv-reflect
    • rend3
    • ispc-texcomp
    • meshopt
    • dsa-lib
    • rend3-types
    • rend3-gltf
    • vk-mem-erupt
    • vk-mem
    • and 43 more…
  • GUI

    Create a graphical user interface.
    • winit
    • fltk
    • gtk
    • iced
    • gtk4
    • fontdue
    • smithay-client-toolkit
    • miniquad
    • tao
    • wita
    • i3-autolayout
    • fui_controls
    • wry
    • create-tauri-app
    • iced_style_config
    • and 676 more…
  • Game dev

    Crates for creating games.
    • egui
    • glam
    • bevy
    • macroquad
    • jomini
    • bevy_ecs
    • gilrs
    • bevy_asset_loader
    • bevy_kira_audio
    • aoe2-probe
    • bevy_mod_picking
    • bevy_mod_raycast
    • naia-bevy-server
    • and 1546 more…
  • Caching

    Store the results of previous computations.
    • cached
    • internment
    • http-cache-semantics
    • ustr
    • lru
    • intaglio
    • twilight-cache-inmemory
    • cached-path
    • assets_manager
    • pi_assets
    • symbolic-symcache
    • cached_proc_macro
    • and 187 more…
  • Visualization

    Ways to view data, such as plotting or graphing.
    • poloto
    • czkawka_gui
    • krates
    • bottom
    • urdf-viz
    • prodash
    • criterion-plot
    • plotters-iced
    • datavzrd
    • fdg-sim
    • gfx_debug_draw
    • picolo
    • triple_arena_render
    • prometheus-client
    • and 211 more…
  • Games

    Fun and entertainment. Games and mods implemented in Rust.
    • shticker_book_unwritten
    • rosu-pp
    • riven
    • shakmaty-syzygy
    • rs-cache
    • fastanvil
    • disle
    • proton-call
    • oc-wasm-safe
    • othello-cli
    • cobble-core
    • cfr
    • pkpw
    • libosu
    • and 460 more…
  • Authentication

    Help with the process of confirming identities.
    • yup-oauth2
    • keyring
    • josekit
    • secret-service
    • vaultrs
    • actix-web-grants
    • yubico
    • casbin
    • twapi-reqwest
    • aws-creds
    • sspi
    • aliri_oauth2
    • aliri_tokens
    • rsasl
    • and 550 more…
  • Text editors

    Applications for editing text.
    • lsp-types
    • pepper
    • kiro-editor
    • edit
    • kibi
    • lino
    • ox
    • notnow
    • vimdir
    • pepper-plugin-lsp
    • tui-textarea
    • nvim-oxi
    • aurelius
    • hired
    • add-ed
    • dart-ffi
    • zte
    • exm
    • and 132 more…
  • Email

    Sending, receiving, formatting, and parsing email.
    • lettre
    • imap
    • mailchecker
    • mailparse
    • check-if-email-exists
    • mrml
    • viaspf
    • imap-proto
    • spftrace
    • vsmtp-mail-parser
    • vsmtp
    • strfmt
    • mail-send
    • cfdkim
    • email_address
    • and 271 more…
  • Internationalization (i18n)

    and localization (l10n). Develop software for various languages and regions.
    • fluent-bundle
    • icu_datetime
    • i18n-embed
    • rust_icu_ustring
    • icu_provider
    • focaccia
    • gettext-rs
    • autocorrect
    • icu_testdata
    • icu_datagen
    • icu_locid
    • icu
    • icu_calendar
    • and 258 more…
  • Emulators

    Run software or games not available natively on the host computer.
    • vm-superio
    • resid-rs
    • qip
    • termin-8
    • mizu
    • iz80
    • rtlola-interpreter
    • scriptful
    • gameboyr
    • deca
    • riscv-atomic-emulation-trap
    • boytacean
    • unicorn-engine
    • lochnes
    • and 176 more…
  • Simulation

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

    Assistive technologies
    • mickey
    • bevy_color_blindness
    • accesskit_consumer
    • rs-utilities
    • accelhints
    • aq
    • tolk
    • doyoumarkdown
    • and 10 more…

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