Lib.rs

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

  • Categories
  • New and trending
  • Algorithms

    Core algorithms such as hashing, sorting and searching.
    • rand
    • rand_core
    • memchr
    • bytecount
    • ahash
    • twox-hash
    • crc
    • ndarray-linalg
    • cauchy
    • poi
    • lfest
    • ros-nalgebra
    • psl
    • vek
    • hnsw_rs
    • k
    • lyon_algorithms
    • matchit
    • median
    • and 1530 more…
  • Data structures

    Rust implementations of data structures for specific purposes.
    • bytes
    • smallvec
    • num
    • arc-swap
    • hashbrown
    • predicates
    • hdrhistogram
    • bitvec
    • indexmap
    • prometheus
    • elsa
    • tc-error
    • const-oid
    • crdts
    • openapiv3
    • python-packed-resources
    • and 1629 more…
  • Rust patterns

    Shared solutions for particular situations specific to programming in Rust.
    • derive_builder
    • thiserror
    • pin-project
    • num_enum
    • ordered-float
    • synstructure
    • color-eyre
    • downcast-rs
    • amplify
    • noisy_float
    • bool_ext
    • pin-project-lite
    • and 1960 more…
  • Development tools

    Testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
    • rustc_version
    • vergen
    • kube
    • embed-resource
    • cargo-husky
    • platforms
    • version-sync
    • assert-json-diff
    • rustsec
    • self_update
    • chalk-engine
    • chalk-recursive
    • and 1375 more…
  • Debugging

    Figure out what is going on with your code via logging, tracing, or assertions.
    • tracing
    • flexi_logger
    • env_logger
    • tracing-subscriber
    • log
    • fern
    • gimli
    • tracing-opentelemetry
    • gdbstub
    • commitlog
    • slog-extlog
    • cntr
    • ruc
    • cursive-flexi-logger-view
    • and 331 more…
  • Build Utils

    Utilities for build scripts and other build time steps.
    • cc
    • autocfg
    • ci_info
    • system-deps
    • sccache
    • shadow-rs
    • vcpkg
    • minify-html
    • cargo-parcel
    • runscript
    • xshell
    • windres
    • inwelling
    • ttrpc-codegen
    • verilator
    • flatc-rust
    • and 126 more…
  • Testing

    Verify the correctness of your code.
    • proptest
    • quickcheck
    • trybuild
    • assert_cmd
    • serde_test
    • rusoto_mock
    • insta
    • arbitrary
    • runnel
    • stubr
    • stubr-cli
    • honggfuzz
    • dockertest
    • faux
    • junit-report
    • and 400 more…
  • FFI

    Interface with other languages. Includes binding generators and helpful language constructs.
    • pyo3
    • bindgen
    • cbindgen
    • cpython
    • cpp
    • os_str_bytes
    • ffi-support
    • cxx
    • thin_trait_object
    • uniffi_build
    • maturin
    • emacs
    • kvm-bindings
    • autocxx-bindgen
    • autocxx-engine
    • and 126 more…
  • Cargo plugins

    Subcommands that extend the capabilities of Cargo.
    • cargo-cache
    • cargo-deb
    • cargo-hack
    • cargo-make
    • cargo-pgx
    • cargo-outdated
    • cargo-watch
    • cargo-deny
    • cargo-generate-rpm
    • cargo-dephell
    • cargo-pants
    • cargo-modules
    • and 408 more…
  • Procedural macros

    Extend Rust language with procedural macros.
    • syn
    • proc-macro-error
    • quote
    • derive_more
    • proc-macro2
    • proc-macro-crate
    • strum
    • quickcheck_macros
    • chalk-derive
    • rlink-derive
    • uniffi_macros
    • ethcontract-derive
    • and 997 more…
  • Profiling

    Figure out the performance of your code.
    • criterion
    • inferno
    • dogstatsd
    • profiling
    • metered
    • puffin
    • metered-macro
    • cargo-benchcmp
    • cli-log
    • histlog
    • firestorm
    • rbspy
    • pprof
    • tracy-client
    • countme
    • and 98 more…
  • Encoding data

    Encoding and/or decoding data from one data format to another.
    • base64
    • quick-xml
    • serde_json
    • serde_with
    • serde_yaml
    • byteorder
    • prost
    • toml
    • serde
    • borsh
    • serde-generate
    • borsh-derive-internal
    • borsh-schema-derive-internal
    • and 888 more…
  • Text processing

    Deal with the complexities of human language when expressed in textual form.
    • regex
    • pulldown-cmark
    • textwrap
    • encoding_rs
    • bstr
    • mdbook
    • heck
    • aho-corasick
    • stop-words
    • aki-resort
    • mdbook-playscript
    • aki-xcat
    • fm
    • pandoc
    • tagsearch
    • and 677 more…
  • Cryptography

    Algorithms intended for securing data.
    • curve25519-dalek
    • rustls
    • zeroize
    • ed25519-dalek
    • sha-1
    • sodiumoxide
    • openssl
    • bulletproofs
    • sequoia-openpgp
    • dup-crypto
    • tapyrus
    • sequoia-sq
    • sequoia-sop
    • and 1499 more…
  • Asynchronous

    Async program flow using techniques like futures, promises, waiting, or eventing.
    • tokio
    • async-std
    • actix
    • futures
    • async-task
    • rdkafka
    • async-io
    • tokio-rustls
    • async-graphql
    • async-graphql-warp
    • async-graphql-actix-web
    • async-graphql-tide
    • and 940 more…
  • Concurrency

    Implementing concurrent and parallel computation.
    • crossbeam-channel
    • dashmap
    • rayon
    • async-channel
    • spin
    • crossbeam
    • parking_lot
    • loom
    • cortex-m-rtic
    • rtic-syntax
    • cortex-m-rtic-macros
    • scc
    • asyncgit
    • tinychain
    • and 468 more…
  • Operating systems

    Bindings to operating system-specific APIs.
    • sysinfo
    • ctrlc
    • which
    • libc
    • subprocess
    • whoami
    • hostname
    • getrandom
    • bootloader
    • interprocess
    • unsafe-io
    • topgrade
    • dlib
    • sd-notify
    • copypasta-ext
    • fluvio-stream-model
    • and 518 more…
  • Windows APIs

    Bindings to Windows-specific APIs.
    • winreg
    • winapi
    • wild
    • windows-service
    • winres
    • clipboard-win
    • windows-acl
    • com
    • jlrs
    • tfc
    • winrt-notification
    • winrt
    • uds_windows
    • windows-dll
    • windows-dll-codegen
    • and 519 more…
  • Unix APIs

    Bindings to Unix-specific APIs.
    • users
    • dbus
    • nix
    • termios
    • procfs
    • neli
    • shell-words
    • caps
    • uds
    • cgroups-rs
    • posish
    • kvm-ioctls
    • rlimit
    • event-manager
    • linux-loader
    • zram-generator
    • shiplift
    • and 429 more…
  • macOS APIs

    Bindings to macOS-specific APIs.
    • core-foundation
    • security-framework-sys
    • fsevent
    • mach
    • objc
    • core-graphics
    • fse_dump
    • ash-molten
    • pfctl
    • native-dialog
    • core-text
    • mac-sys-info
    • druid-shell
    • and 87 more…
  • Web programming

    Create applications for the Web.
    • jsonwebtoken
    • jsonrpc-core
    • rust-embed
    • surf
    • http
    • rocket_contrib
    • juniper
    • ammonia
    • visdom
    • vigil-server
    • minifier
    • cloud-storage
    • jwt-simple
    • mesdoc
    • headers
    • and 1160 more…
  • HTTP client

    Make HTTP network requests.
    • ureq
    • curl
    • isahc
    • hyper
    • reqwest
    • attohttpc
    • http-client
    • http_req
    • mio_httpc
    • zeptohttpc
    • kuon
    • kube-runtime
    • tetsy-jsonrpc-core-client
    • hyper-proxy
    • fishnet
    • and 157 more…
  • HTTP server

    Serve data over HTTP.
    • warp
    • tiny_http
    • rocket
    • actix-cors
    • routerify
    • tide
    • miniserve
    • jsonrpc-http-server
    • ntex
    • async-h1
    • salvo
    • salvo_extra
    • salvo_core
    • salvo_macros
    • gotham_restful
    • and 422 more…
  • WebSocket

    Communicate over the WebSocket protocol.
    • tokio-tungstenite
    • awc
    • tungstenite
    • async-tungstenite
    • ws_stream_wasm
    • websocat
    • twilight-gateway
    • soketto
    • gambero
    • squalo
    • nash-native-client
    • juniper_graphql_ws
    • and 109 more…
  • Science

    Solving problems involving math, physics, and other scientific fields.
    • rust_decimal
    • geo
    • uom
    • peroxide
    • sprs
    • lazycell
    • rust-htslib
    • splines
    • kml
    • osm-geo-mapper
    • rust-bio-tools
    • nalgebra-spacetime
    • coin_cbc
    • rapier_testbed3d
    • and 709 more…
  • Math

    Solving problems involving math and logic.
    • num-traits
    • nalgebra
    • matrixmultiply
    • cgmath
    • num-integer
    • argmin
    • number_prefix
    • fixed
    • num-bigint
    • num-complex
    • num-rational
    • boostvoronoi
    • hexasphere
    • and 710 more…
  • Machine learning

    AI, ML, NN, etc.
    • rust-bert
    • finalfusion
    • torch-sys
    • autograd
    • tch
    • tract-onnx
    • linfa
    • orkhon
    • cogent
    • mcfly
    • onnxruntime
    • onnxruntime-sys
    • fbleau
    • rust_tokenizers
    • rv
    • openblas-build
    • and 222 more…
  • Robotics

    Crates related to robotics
    • optimization_engine
    • cam-geom
    • openrr-apps
    • herkulex_communicator
    • adskalman
    • step-dir
    • saberrs
    • linuxcnc-hal-sys
    • opencv-ros-camera
    • openrr-planner
    • and 70 more…
  • No standard library

    Libraries that function without the Rust standard library.
    • uuid
    • half
    • bitflags
    • typenum
    • paste
    • target-lexicon
    • memoffset
    • beef
    • license
    • static_init
    • cranelift-frontend
    • cranelift-bforest
    • cranelift-entity
    • cranelift-codegen
    • and 541 more…
  • WebAssembly

    Targeting or manipulating WebAssembly.
    • instant
    • wasm-bindgen
    • wasmi
    • js-sys
    • parity-wasm
    • wasmer-runtime
    • seed
    • wasm-bindgen-cli
    • trunk
    • rphtml
    • savory
    • savory-elements
    • artemis
    • lightbeam
    • near-vm-runner
    • and 861 more…
  • Parser implementations

    Parse data formats or languages.
    • csv
    • syntect
    • xml-rs
    • url
    • semver
    • goblin
    • roxmltree
    • der-parser
    • tree-sitter-elm
    • sv-parser
    • sv-parser-error
    • sv-parser-pp
    • yang2
    • pdbtbx
    • swc_ecma_parser
    • and 794 more…
  • Parser tooling

    Low-level tools and parser generators.
    • nom
    • lexical
    • pom
    • logos
    • combine
    • lalrpop
    • nom_locate
    • tree-sitter
    • tree-sitter-highlight
    • safe-regex
    • tree-sitter-tags
    • sv-parser-syntaxtree
    • mwalib
    • sv-parser-macros
    • and 263 more…
  • Filesystem

    Crates for dealing with files and filesystems.
    • notify
    • directories
    • globset
    • fs_extra
    • tempfile
    • filetime
    • walkdir
    • ignore
    • remove_dir_all
    • infer
    • pathos
    • app_dirs2
    • sanakirja
    • openat-ext
    • open
    • fselect
    • and 473 more…
  • Network programming

    Network protocols such as FTP, HTTP, or SSH, or lower-level TCP or UDP.
    • tonic
    • rusoto_core
    • pnet
    • nats
    • shadowsocks-rust
    • protobuf-codegen
    • smoltcp
    • libp2p
    • iptables
    • shadowsocks
    • pulsar
    • grpcio
    • grpcio-proto
    • quinn
    • ntex-amqp
    • and 2658 more…
  • Compression

    Algorithms for making data smaller.
    • snap
    • brotli-decompressor
    • zstd
    • zip
    • miniz_oxide
    • tar
    • flate2
    • brotli
    • zstd-safe
    • zstd-sys
    • compress-tools
    • huff_rs
    • har
    • mlar
    • bzip2
    • bzip2-sys
    • laz
    • bita
    • and 296 more…
  • Hardware support

    Interface with specific CPU or other hardware features.
    • tiberius
    • blake2b_simd
    • serialport
    • raw-cpuid
    • hidapi
    • num_cpus
    • rusb
    • usb-device
    • ilhook
    • sv-parser-parser
    • device_query
    • btleplug
    • x86
    • spotifyd
    • buttplug
    • and 1049 more…
  • Embedded development

    For embedded devices or devices without an operating system.
    • embedded-graphics
    • postcard
    • panic-semihosting
    • rhai
    • cargo-flash
    • embedded-hal
    • register
    • micromath
    • cortex-a
    • lvgl
    • alt-stm32f30x-hal
    • stm32g0xx-hal
    • and 1199 more…
  • Command-line interface

    Argument parsers, line-editing, or output coloring and formatting.
    • clap
    • colored
    • rustyline
    • rpassword
    • crossterm
    • console
    • codespan-reporting
    • structopt
    • uucore
    • vt100
    • caprice
    • cli-table
    • wrecked
    • cli-table-derive
    • cursive-tabs
    • and 372 more…
  • Command line utilities

    Applications to run at the command line.
    • ripgrep
    • fd-find
    • procs
    • tokei
    • tuftool
    • bat
    • cross
    • gitui
    • lsd
    • coreutils
    • kubie
    • odbc2parquet
    • uu_od
    • uu_fmt
    • diffsitter
    • uu_df
    • uu_cut
    • uu_install
    • uu_nl
    • uu_who
    • and 3358 more…
  • Date and time

    Dealing with the fourth dimension.
    • chrono
    • chrono-tz
    • humantime
    • time
    • clokwerk
    • date_time
    • timeago
    • coarsetime
    • libtzfile
    • dijo
    • murmur_grpc
    • cap-time-ext
    • rrule
    • cvdate
    • chrono-english
    • dia-time
    • and 145 more…
  • Database interfaces

    Interface with database management systems.
    • redis
    • sqlx
    • rusqlite
    • lapin
    • valico
    • rocksdb
    • mongodb
    • rkv
    • oracle
    • gcp-bigquery-client
    • sqlite3-sys
    • sea-query
    • odbc-api
    • pgfine
    • diesel
    • dbcrossbar
    • canonical
    • and 1008 more…
  • Database implementations

    Database management systems implemented in Rust.
    • sled
    • tantivy
    • indradb
    • rustbreak
    • sonic-server
    • pickledb
    • libimagutil
    • meilisearch-core
    • ckb-db
    • tantivy-cli
    • polodb_core
    • rbx_reflection
    • indradb-lib
    • and 334 more…
  • Memory management

    Allocation, memory mapping, garbage collection, reference counting, or interfaces to foreign memory managers.
    • bumpalo
    • generational-arena
    • jemallocator
    • sharded-slab
    • wee_alloc
    • typed-arena
    • range-alloc
    • slotmap
    • mimalloc
    • libmimalloc-sys
    • snmalloc-rs
    • snmalloc-sys
    • and 269 more…
  • Value formatting

    Format values for display to a user, potentially adapting the display to various languages and regions.
    • bytesize
    • itoa
    • dtoa
    • base-x
    • shlex
    • chrono-humanize
    • dprint-plugin-typescript
    • measurements
    • dprint-core
    • rustc-ap-rustc_ast_pretty
    • itoap
    • monies
    • septem
    • and 100 more…
  • Template engine

    Combine templates with data to produce documents, usually with an emphasis on processing text.
    • handlebars
    • tinytemplate
    • tera
    • askama
    • liquid
    • gtmpl
    • yarte_helpers
    • horrorshow
    • tagger
    • cargo-generate
    • liquid-lib
    • liquid-core
    • liquid-bin
    • yarte
    • yarte_hir
    • and 229 more…
  • Multimedia

    Audio, video, and image processing or rendering engines.
    • mime
    • gstreamer-sdp
    • rustfm-scrobble
    • allegro_color
    • tox
    • glide
    • media-toc
    • metadata
    • mediasoup
    • bookshelf
    • mediad
    • gstreamer
    • gstreamer-audio
    • gstreamer-video
    • and 252 more…
  • Images

    Process or make images.
    • image
    • opencv
    • jpeg-decoder
    • rgb
    • lodepng
    • icns
    • texture-synthesis-cli
    • dssim
    • crispy_octo_fractals
    • imgproc-rs
    • resize
    • ez-pixmap
    • mozjpeg-sys
    • sic_core
    • and 252 more…
  • Audio

    Record, output, or process audio.
    • rodio
    • cpal
    • id3
    • minimp3
    • lewton
    • jack
    • claxon
    • ncspot
    • wav
    • libpijul
    • symphonia
    • tune-cli
    • tune
    • songrec
    • librespot
    • wmidi
    • ambisonic
    • cubeb-backend
    • cubeb-core
    • and 506 more…
  • Video

    Record, output, or process video.
    • gifski
    • dcv-color-primitives
    • y4m
    • mp4parse
    • mp4
    • ffmpeg-next
    • gstreamer-video-sys
    • termplay
    • libipld-cbor
    • stainless_ffmpeg
    • ac-ffmpeg
    • rav1e
    • rav1e
    • dav1d
    • and 163 more…
  • Encoding media

    Encode or decode binary data in multimedia formats.
    • rustfft
    • kamadak-exif
    • stegano-cli
    • realfft
    • rustdct
    • audiopus_sys
    • gifsicle
    • contour_tracing
    • raster2svg
    • hound
    • and 20 more…
  • Rendering

    Real-time or offline rendering of 2D or 3D graphics, usually on a GPU.
    • sdl2
    • minifb
    • font8x8
    • tiny-skia
    • gfx-memory
    • allegro_primitives
    • sw-composite
    • qr2term
    • pilka
    • mini_gl_fb
    • renderdoc
    • imgui-glium-renderer
    • imgui-gfx-renderer
    • and 629 more…
  • Graphics APIs

    Direct access to the hardware's or the operating system's rendering capabilities.
    • ash
    • shaderc
    • vulkano
    • lyon
    • wgpu
    • tobj
    • skia-safe
    • cairo-rs
    • vulkano-shaders
    • vulkano-win
    • vk-sys
    • raui
    • raui-material
    • raui-ggez-renderer
    • raui-html-renderer
    • and 627 more…
  • Gfx data formats

    Loading and parsing of data for 2D/3D rendering, like 3D models or animations.
    • svg
    • gltf
    • truetype
    • obj-rs
    • blit
    • fbxcel-dom
    • flo_canvas
    • sdf_glyph_renderer
    • owned_ttf_parser
    • and 20 more…
  • Rendering engine

    High-level solutions for rendering on the screen.
    • spirv-reflect
    • rafx-assets
    • rpt
    • meshopt
    • amethyst_rendy
    • screen-13
    • flo_render_canvas
    • rend3-list
    • rafx-api
    • rafx-framework
    • rafx-base
    • rafx
    • rafx-visibility
    • and 38 more…
  • Configuration

    Configuration management for applications.
    • dotenv
    • envy
    • rust-ini
    • config
    • abscissa_core
    • configparser
    • envmnt
    • configure_me
    • salak
    • nccl
    • deno_lint
    • itconfig
    • itconfig-macro
    • justconfig
    • hocon
    • figment
    • and 182 more…
  • Visualization

    Ways to view data, such as plotting or graphing.
    • plotters
    • czkawka_gui
    • urdf-viz
    • imgui-inspect
    • criterion-plot
    • gnuplot
    • wgpu_glyph
    • krates
    • gazpatcho
    • plotters-conrod
    • transition
    • mrml-cli
    • mrml
    • vega_lite_4
    • and 135 more…
  • Caching

    Store the results of previous computations.
    • cached
    • lru
    • glyph_brush
    • dataloader
    • internment
    • lru-cache
    • cached-path
    • intaglio
    • lru_time_cache
    • clru
    • symbolic-symcache
    • hashconsing
    • topo
    • glyph_brush_draw_cache
    • and 106 more…
  • GUI

    Create a graphical user interface.
    • winit
    • notify-rust
    • gtk
    • fltk
    • imgui
    • native-windows-gui
    • imgui-winit-support
    • egui
    • smithay-client-toolkit
    • gtk_resources
    • ajour
    • epi
    • egui_glium
    • epaint
    • and 359 more…
  • Email

    Sending, receiving, formatting, and parsing email.
    • publicsuffix
    • imap
    • mailchecker
    • lettre
    • mailparse
    • lettre_email
    • buzz
    • check-if-email-exists
    • spf-milter
    • imap-codec
    • eml-parser
    • samotop
    • samotop-server
    • and 207 more…
  • Authentication

    Help with the process of confirming identities.
    • yup-oauth2
    • casbin
    • rusoto_credential
    • etcd-client
    • tame-oauth
    • firestore-db-and-auth
    • yubico
    • genpass
    • prs-cli
    • prs-gtk3
    • prs-lib
    • ldap3_server
    • oauth2
    • and 241 more…
  • Cryptocurrencies

    Coins, blockchains and wallets.
    • parity-scale-codec
    • bitcoin
    • k256
    • pwasm-utils
    • finality-grandpa
    • solana-gossip
    • near-sdk
    • miniscript
    • dubp-documents
    • near-vm-logic
    • near-vm-errors
    • pallet-mandate
    • and 1500 more…
  • Game dev

    Crates for creating games.
    • glam
    • legion
    • ggez
    • bevy
    • laminar
    • gilrs
    • jomini
    • hecs
    • ash-window
    • caith
    • brawllib_rs
    • rg3d-sound
    • rg3d
    • rg3d-core
    • ldtk_rust
    • zara
    • bevy_egui
    • bevy_ldtk
    • steamworks
    • and 651 more…
  • Games

    Fun and entertainment. Games implemented in the Rust programming language.
    • riven
    • shakmaty-syzygy
    • disle
    • piston-ai_behavior
    • shticker_book_unwritten
    • typeracer
    • iracing
    • castle-game
    • pgn-reader
    • tiled
    • binoxxo
    • goban-screenhack
    • and 249 more…
  • Text editors

    Applications for editing text.
    • lsp-types
    • kiro-editor
    • lino
    • kibi
    • ox
    • edit
    • boop-gtk
    • hired
    • notnow
    • smith
    • pepper
    • xi-unicode
    • scrawl
    • outline
    • tmux-thumbs
    • and 69 more…
  • Internationalization (i18n)

    and localization (l10n). Develop software for various languages and regions.
    • gettext-rs
    • fluent-bundle
    • harfbuzz_rs
    • rust_icu_ustring
    • xtr
    • json-gettext
    • intl_pluralrules
    • fluent
    • pure-rust-locales
    • gettext-sys
    • tr
    • fluent-syntax
    • and 172 more…
  • Emulators

    Run software or games not available natively on the host computer.
    • dynasmrt
    • virt
    • emulator_6502
    • kaze
    • bfc
    • runestick
    • resid-rs
    • mizu
    • chalk-solve
    • cosmwasm-vm
    • runes
    • spectrusty
    • dynasm
    • ckb-vm
    • ckb-vm-definitions
    • z80emu
    • and 113 more…
  • Simulation

    Model or construct models for some activity, e.g. to simulate a networking protocol.
    • physx
    • logicsim
    • sim
    • physx-sys
    • cqc
    • wham
    • bigbang
    • lc3tools-sys
    • nphysics2d
    • map_editor
    • sim
    • bender
    • sharedcockpit
    • ezgui
    • dqcsim
    • dqcsim-openqasm
    • lc3-rs
    • and 96 more…

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