Lib.rs

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

  • Categories
  • New and trending
  • Stats
  • Popular
  • Network programming

    Network protocols such as FTP, HTTP, or SSH, or lower-level TCP or UDP.
    • rustls
    • ipnet
    • tower
    • tonic
    • socket2
    • trust-dns-resolver
    • aws-sdk-s3
    • thrift
    • aws-sdk-kms
    • aws-sdk-dynamodb
    • aws-sdk-secretsmanager
    • aws-sdk-lambda
    • aws-sdk-cloudformation
    • and 5405 more…
  • Rust patterns

    Shared solutions for particular situations specific to programming in Rust.
    • anyhow
    • once_cell
    • bytes
    • miette
    • color-eyre
    • derive_builder
    • itertools
    • ordered-float
    • orchestra
    • num_enum
    • amplify_derive
    • components-arena
    • tynm
    • sashay
    • and 2731 more…
  • Data structures

    Rust implementations of data structures for specific purposes.
    • hashbrown
    • phf
    • bitvec
    • indexmap
    • half
    • predicates
    • either
    • priority-queue
    • tinystr
    • zerovec
    • intrusive-collections
    • array-concat
    • smallbitset
    • chargrid_input
    • and 2458 more…
  • Development tools

    Testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
    • pretty_assertions
    • git2
    • kube
    • assert-json-diff
    • version_check
    • duct
    • include_dir
    • rustversion
    • crates-index
    • release-plz
    • gptcommit
    • lang_tester
    • code-it-later-rs
    • and 2369 more…
  • Build Utils

    Utilities for build scripts and other build time steps.
    • cc
    • pkg-config
    • vergen
    • autocfg
    • prost-build
    • system-deps
    • shadow-rs
    • cmake
    • semantic-release-cargo
    • opencv-binding-generator
    • rb-sys-build
    • fbthrift-transport-response-handler
    • and 627 more…
  • Debugging

    Figure out what is going on with your code via logging, tracing, or assertions.
    • env_logger
    • log
    • tracing-subscriber
    • prometheus
    • tracing-opentelemetry
    • flexi_logger
    • opentelemetry
    • tracing
    • cargo-expand
    • sentry
    • sentry-backtrace
    • sentry-tower
    • and 593 more…
  • Testing

    Verify the correctness of your code.
    • trybuild
    • insta
    • assert_cmd
    • test-case
    • rstest
    • log4rs
    • arbitrary
    • serial_test
    • prop-check-rs
    • tg-bindings-test
    • chronos-parser-rs
    • grillon
    • goose-eggs
    • and 996 more…
  • FFI

    Interface with other languages. Includes binding generators and helpful language constructs.
    • pyo3
    • cxx-build
    • napi
    • bindgen
    • pyo3-build-config
    • cbindgen
    • numpy
    • jni
    • cxx
    • cxx-gen
    • cxxbridge-cmd
    • cxxbridge-flags
    • cxxbridge-macro
    • dart-sys
    • sentinel
    • and 285 more…
  • Profiling

    Figure out the performance of your code.
    • criterion
    • hdrhistogram
    • inferno
    • profiling
    • pprof
    • cadence
    • firestorm
    • bencher
    • brunch
    • deno_bench_util
    • datafusion-optimizer
    • calliper
    • tracy-client
    • tracy-client-sys
    • and 321 more…
  • Procedural macros

    Extend Rust language with procedural macros.
    • syn
    • darling
    • proc-macro-error
    • proc-macro-crate
    • quote
    • derive_more
    • strum
    • ctor
    • utoipa-gen
    • databake
    • wasmer-derive
    • blackbox_core_codegen
    • blackbox_cast_codegen
    • and 4090 more…
  • Cargo plugins

    Subcommands that extend the capabilities of Cargo.
    • cargo-hack
    • cargo
    • cargo-outdated
    • cargo-sort
    • cargo-dylint
    • cargo-ndk
    • cargo-cache
    • cargo-deb
    • cargo-c
    • cargo-edit
    • cargo-my-bin
    • cargo-pgx
    • cargo-lambda
    • and 829 more…
  • Encoding data

    Encoding and/or decoding data from one data format to another.
    • serde_json
    • base64
    • serde_with
    • bincode
    • prost
    • bson
    • toml
    • bytemuck
    • cbor4ii
    • procspawn
    • image2
    • dos-cp
    • dos-cp-generator
    • hcl-rs
    • datafusion-proto
    • qbjs_deserializer
    • and 1639 more…
  • Cryptography

    Algorithms intended for securing data.
    • curve25519-dalek
    • blake3
    • digest
    • sha2
    • secp256k1
    • rsa
    • rcgen
    • webpki-roots
    • aws-sigv4
    • classic-mceliece-rust
    • ast-grep-core
    • ast-grep-config
    • ast-grep-lsp
    • and 2289 more…
  • Algorithms

    Core algorithms such as hashing, sorting and searching.
    • rand
    • twox-hash
    • fastrand
    • crc
    • rustfft
    • xxhash-rust
    • ahash
    • ndarray-linalg
    • num_convert
    • icu_casemapping
    • wcs
    • medians
    • zeros
    • rustronomy-watershed
    • vek
    • and 2011 more…
  • Asynchronous

    Async program flow using techniques like futures, promises, waiting, or eventing.
    • tokio
    • tokio-stream
    • futures
    • async-std
    • tokio-rustls
    • futures-channel
    • mio
    • rdkafka
    • suppaftp
    • scc
    • glommio
    • nature
    • redis-async
    • worst-executor
    • rusty-penguin
    • and 1639 more…
  • Concurrency

    Implementing concurrent and parallel computation.
    • parking_lot
    • spin
    • crossbeam
    • crossbeam-channel
    • flume
    • rayon
    • dashmap
    • async-channel
    • concread
    • shuttle
    • xtensa-atomic-emulation-trap
    • blackhole
    • backtrace-on-stack-overflow
    • and 951 more…
  • Parser implementations

    Parse data formats or languages.
    • uuid
    • quick-xml
    • semver
    • syntect
    • url
    • goblin
    • byte-unit
    • object
    • url-parse
    • glean-core
    • sbp
    • esl01-mincode
    • beancount-parser
    • serde_v8
    • rsonpath
    • swc_atoms
    • and 1903 more…
  • Operating systems

    Bindings to operating system-specific APIs.
    • sysinfo
    • getrandom
    • whoami
    • ctrlc
    • which
    • libc
    • os_info
    • io-lifetimes
    • core_affinity
    • hermit-abi
    • libui-ng-sys
    • bp3d-os
    • libmem
    • fd-lock
    • systemstat
    • steamlocate
    • and 834 more…
  • Unix APIs

    Bindings to Unix-specific APIs.
    • nix
    • signal-hook
    • rustix
    • zbus
    • x11-dl
    • ndk-sys
    • users
    • caps
    • rustbus
    • font-manager
    • automatic-timezoned
    • fm-tui
    • networkmanager
    • libblkid-rs
    • refractor
    • alienware
    • and 834 more…
  • Windows APIs

    Bindings to Windows-specific APIs.
    • windows
    • winres
    • winreg
    • wild
    • winapi
    • wmi
    • ntapi
    • clipboard-win
    • d3d12
    • native-timer
    • windows-sys
    • wineventhook
    • windows_x86_64_msvc
    • windows_i686_msvc
    • and 710 more…
  • macOS and iOS APIs

    Bindings to Apple-specific APIs.
    • core-foundation
    • cocoa
    • objc
    • core-graphics
    • mach
    • fsevent
    • security-framework-sys
    • embed_plist
    • swift-bridge
    • fse_dump
    • pfctl
    • tugger-apple
    • dmg
    • rust-macios
    • and 146 more…
  • Parser tooling

    Low-level tools and parser generators.
    • nom
    • pest
    • logos
    • tree-sitter
    • nom_locate
    • lalrpop
    • pest_meta
    • evalexpr
    • pest_generator
    • pest_vm
    • pest_derive
    • pest_grammars
    • fancy_slice
    • pest_debugger
    • and 427 more…
  • Text processing

    Deal with the complexities of human language when expressed in textual form.
    • comfy-table
    • textwrap
    • encoding_rs
    • unicode-segmentation
    • const_format
    • lazy-regex
    • fancy-regex
    • similar
    • hck
    • comrak
    • vaporetto_tantivy
    • oxford_join
    • typos-dict
    • and 1593 more…
  • Science

    Solving problems involving math, physics, and other scientific fields.
    • uom
    • rust-htslib
    • peroxide
    • finch
    • rustfst
    • alevin-fry
    • finch_cli
    • mwa_hyperbeam
    • roqoqo-qryd
    • stardust-xr-molecules
    • struqture
    • consprob
    • consalign
    • gchemol-graph
    • and 1544 more…
  • Math

    Solving problems involving math and logic.
    • rust_decimal
    • num-traits
    • num-bigint
    • nalgebra
    • rug
    • statrs
    • matrixmultiply
    • num-complex
    • polynomial
    • rsparse
    • glamour
    • kalker
    • fj-app
    • fj
    • fj-kernel
    • fj-math
    • and 1542 more…
  • Machine learning

    AI, ML, NN, etc.
    • tch
    • mosec
    • rust-bert
    • rstats
    • tensorflow
    • dfdx
    • tract-onnx
    • picovoice
    • aws-sdk-machinelearning
    • lance
    • google-tpu1
    • compiled-nn-bindings
    • pv_cobra
    • tract-nnef
    • and 460 more…
  • Robotics

    Robotics and vehicle engineering
    • rosrust
    • openrr-apps
    • openrr
    • linuxcnc-hal-sys
    • tello
    • dynamixel2-cli
    • roslibrust
    • safe_drive
    • rustypot
    • dynamixel2
    • openrr-teleop
    • arci-gamepad-keyboard
    • and 40 more…
  • Web programming

    Create applications for the Web.
    • jsonwebtoken
    • http
    • scraper
    • graphql_client
    • actix-http
    • rust-embed
    • cookie
    • h2
    • utoipa
    • utoipa-swagger-ui
    • swc_ecma_transforms_compat
    • swc_ecma_minifier
    • and 2202 more…
  • HTTP server

    Server-side programming
    • actix-web
    • axum
    • lambda_runtime
    • rocket
    • warp
    • tiny_http
    • actix-files
    • rouille
    • s3s-fs
    • deno_web
    • sentry-actix
    • deno_http
    • deno_flash
    • ntex
    • ap-relay
    • apollo-router
    • and 876 more…
  • HTTP client

    Make HTTP network requests.
    • ureq
    • reqwest
    • hyper
    • curl
    • attohttpc
    • isahc
    • aliyundrive-webdav
    • octocrab
    • treq
    • mio_httpc
    • did-ion
    • aim
    • twilight-http
    • rust-web-server
    • chris
    • paypal-rs
    • and 298 more…
  • WebSocket

    Communicate over the WebSocket protocol.
    • tungstenite
    • awc
    • tokio-tungstenite
    • async-tungstenite
    • message-io
    • ws_stream_wasm
    • hyper-tungstenite
    • chromiumoxide_cdp
    • deno_websocket
    • fe2o3-amqp-ws
    • and 223 more…
  • WebAssembly

    Targeting or manipulating WebAssembly.
    • instant
    • serde-wasm-bindgen
    • wasm-bindgen-test
    • wasmer
    • yew
    • webbrowser
    • wasmer-wasi
    • console_error_panic_hook
    • wasmer-compiler-cranelift
    • wasmer-cache
    • and 1578 more…
  • Hardware support

    Interface with specific CPU or other hardware features.
    • num_cpus
    • crc32fast
    • serialport
    • rppal
    • raw-cpuid
    • cpufeatures
    • buttplug
    • rusb
    • furiosa-device
    • riscv-atomic-emulation-trap
    • sentry-contexts
    • ltc2983
    • veryl
    • and 1452 more…
  • Embedded development

    For embedded devices or devices without an operating system.
    • postcard
    • critical-section
    • cortex-m-rtic
    • rhai
    • stm32f1xx-hal
    • probe-run
    • fixed
    • embedded-hal
    • esp32c3-hal
    • esp-hal-common
    • naked-function
    • esp32-hal
    • and 2768 more…
  • Filesystem

    Crates for dealing with files and filesystems.
    • directories
    • glob
    • path-absolutize
    • tempfile
    • notify
    • infer
    • mime_guess
    • relative-path
    • havocompare
    • super_speedy_syslog_searcher
    • wasmer-vfs
    • dowser
    • git_cmd
    • and 933 more…
  • Compression

    Algorithms for making data smaller.
    • flate2
    • zip
    • zstd
    • brotli
    • miniz_oxide
    • lz4
    • tar
    • brotli-decompressor
    • gzp
    • crabz
    • conserve
    • channelz_brotli
    • zopfli
    • netidx-archive
    • libdeflater
    • hdt
    • cart_container
    • and 565 more…
  • Memory management

    Allocation, memory mapping, garbage collection, reference counting, or interfaces to foreign memory managers.
    • arc-swap
    • slab
    • bumpalo
    • typed-arena
    • memmap2
    • jemallocator
    • mimalloc
    • compact_str
    • yoke
    • yoke-derive
    • flatbuffers
    • la-arena
    • kernel-alloc
    • jrsonnet-gcmodule
    • and 506 more…
  • Command-line interface

    Argument parsers, line-editing, or output coloring and formatting.
    • crossterm
    • clap
    • rustyline
    • owo-colors
    • console
    • tui
    • colored
    • clap_complete
    • argyle
    • dia-args
    • ssh_ui
    • tuifw-screen-base
    • tuifw-screen-ncurses
    • tuifw-screen
    • and 677 more…
  • Date and time

    Dealing with the fourth dimension.
    • chrono-tz
    • time
    • chrono
    • hifitime
    • tokio-cron-scheduler
    • iana-time-zone
    • cron
    • quanta
    • timeago
    • utc2k
    • dateparser
    • tzif
    • mars-t
    • weeks-from-now
    • woddle
    • uhlc
    • and 338 more…
  • Command line utilities

    Applications to run at the command line.
    • fd-find
    • bat
    • shellharden
    • names
    • coreutils
    • lsd
    • procs
    • ttyper
    • rtx-cli
    • git-disjoint
    • ast-grep
    • oxyromon
    • dbg-swc
    • link-walker
    • salat_mv
    • typescript_tools
    • and 4411 more…
  • Database interfaces

    Interface with database management systems.
    • rusqlite
    • sqlx
    • redis
    • mongodb
    • sea-orm
    • rocksdb
    • parquet
    • lapin
    • dittolive-ditto
    • aws-sdk-databasemigration
    • mongodb-gridfs
    • elastic-query-builder
    • cuttlestore
    • and 2295 more…
  • Database implementations

    Database management systems implemented in Rust.
    • sled
    • tantivy
    • indradb
    • surrealdb
    • git-odb
    • sonic-server
    • persy
    • indicium
    • terminus-store
    • spyglass-lens
    • oxigraph_server
    • oxigraph
    • spargebra
    • bitcoinleveldb-snapshot
    • and 276 more…
  • Value formatting

    Format values for display to a user, potentially adapting the display to various languages and regions.
    • itoa
    • humansize
    • ryu
    • bytesize
    • chrono-humanize
    • shlex
    • dtoa
    • base-x
    • dactyl
    • pretty-type-name
    • bcrypt-tune
    • russian_numbers
    • hrobot
    • endinero
    • mubo
    • tera-cli
    • and 174 more…
  • Template engine

    Combine templates with data to produce documents, usually with an emphasis on processing text.
    • tera
    • handlebars
    • askama
    • minijinja
    • tp-note
    • ramhorns
    • liquid
    • genco
    • sailfish
    • sailfish-compiler
    • fomat-macros
    • sailfish-macros
    • ructe
    • axohtml
    • axum-template
    • and 444 more…
  • Configuration

    Configuration management for applications.
    • config
    • configparser
    • dotenvy
    • confy
    • figment
    • qrcode
    • rust-ini
    • deno_lint
    • journal-forwarder
    • aipman
    • ginst
    • cargo-config2
    • dynarg
    • disma-cli
    • disma
    • vsmtp-plugin-vsl
    • and 692 more…
  • Multimedia

    Audio, video, and image processing or rendering engines.
    • gstreamer-video
    • menyoki
    • spectrum-analyzer
    • souvlaki
    • gstreamer-net
    • rust_cast
    • rescrobbled
    • gstreamer-app
    • ffmpeg-the-third
    • gifsicle
    • gstreamer
    • hypetrigger
    • and 573 more…
  • Images

    Process or make images.
    • image
    • palette
    • png
    • rgb
    • opencv
    • svg
    • fast_image_resize
    • imgref
    • lepton_jpeg
    • bmp-rust
    • fast_qr
    • ravif
    • libavif-sys
    • coloured-strings
    • libvips
    • imagequant
    • and 569 more…
  • Audio

    Record, output, or process audio.
    • rodio
    • hound
    • cpal
    • ncspot
    • fundsp
    • alsa
    • soloud
    • oboe
    • amp-rs
    • musicbrainz_rs
    • audio_device_tester
    • mpd-discord-rpc
    • scsys-actors
    • scsys-gen
    • rustysynth
    • and 970 more…
  • Video

    Record, output, or process video.
    • gifski
    • openh264
    • rav1e
    • ffmpeg-next
    • ab-av1
    • v4l
    • rustube
    • cameleon
    • libavif-image
    • libavif
    • libaom-sys
    • projectm-rs
    • libipld-json
    • adder-info
    • adder-viz
    • and 429 more…
  • Rendering

    Real-time or offline rendering of 2D or 3D graphics, usually on a GPU.
    • sdl2
    • tiny-skia
    • pixels
    • sdl2-sys
    • notan
    • encase
    • qr2term
    • flo_curves
    • geo-nd
    • bevy_svg
    • nvtt_rs
    • font
    • opentype
    • microui
    • ascii_renderer
    • horned-owl
    • bevy_points
    • and 999 more…
  • Graphics APIs

    Direct access to the hardware's or the operating system's rendering capabilities.
    • ash
    • wgpu
    • glfw
    • glow
    • tobj
    • kurbo
    • resvg
    • naga
    • femtovg
    • piet
    • piet-direct2d
    • piet-coregraphics
    • piet-cairo
    • piet-web
    • wgpu-profiler
    • old_school_gfx_glutin_ext
    • and 1000 more…
  • Gfx data formats

    Loading and parsing of data for 2D/3D rendering, like 3D models or animations.
    • glyph_brush
    • spirt
    • gltf
    • allegro_font
    • spirv-tools
    • gltf-json
    • sdf_glyph_renderer
    • tween
    • smol-rgb
    • easy-gltf
    • owned_ttf_parser
    • meshopt-rs
    • nanoem
    • poppler-rs
    • and 70 more…
  • Rendering engine

    High-level solutions for rendering on the screen.
    • rs_pbrt
    • all-is-cubes
    • meshopt
    • ispc-texcomp
    • intel_tex_2
    • scoundrel
    • spirv-reflect
    • rend3
    • all-is-cubes-gpu
    • and 36 more…
  • GUI

    Create a graphical user interface.
    • gtk4
    • winit
    • fltk
    • glib
    • raw-window-handle
    • iced
    • relm4
    • fontdue
    • wry
    • tao
    • muda
    • webkit2gtk
    • slint-viewer
    • webkit2gtk-sys
    • slint
    • tray-icon
    • i-slint-core
    • i-slint-compiler
    • and 857 more…
  • No standard library

    Libraries that function without the Rust standard library.
    • target-lexicon
    • libm
    • const_panic
    • assert_matches
    • colorous
    • core_extensions
    • obfstr
    • str-buf
    • trimothy
    • drawbridge-byte
    • efd
    • limine
    • elf_rs
    • kvs
    • tuple_len
    • and 305 more…
  • Authentication

    Help with the process of confirming identities.
    • aws-config
    • rpassword
    • keyring
    • oauth2
    • casbin
    • argon2
    • prs-cli
    • jwt-simple
    • aws-credential-types
    • oauth2-client
    • deepl
    • twitch_oauth2
    • rocket_firebase_auth
    • and 725 more…
  • Visualization

    Ways to view data, such as plotting or graphing.
    • plotters
    • plotly
    • datavzrd
    • poloto
    • ariadne
    • plotters-svg
    • bottom
    • prodash
    • luminance-glyph
    • wordcloud-rs
    • term-transcript-cli
    • term-transcript
    • sysinfo-gui
    • and 323 more…
  • Caching

    Store the results of previous computations.
    • cached
    • lru
    • string_cache
    • http-cache-semantics
    • lru_time_cache
    • intaglio
    • ustr
    • clru
    • momento
    • freqfs
    • deno_cache
    • symbolic-symcache
    • symbolic-sourcemapcache
    • and 270 more…
  • Game dev

    Crates for creating games.
    • egui
    • glam
    • bevy
    • bevy-inspector-egui
    • bevy_ecs
    • bevy_egui
    • kira
    • eframe
    • psp
    • bevy-ui-navigation
    • smooth-bevy-cameras
    • notan_draw
    • notan_app
    • notan_graphics
    • and 1989 more…
  • Games

    Fun and entertainment. Games and mods implemented in Rust.
    • ferium
    • shticker_book_unwritten
    • otter-daemon
    • ld46
    • pactorio
    • riven
    • tttm
    • rosu-pp
    • oort_api
    • rustoku
    • gokz_rs
    • chess_dl
    • console-games
    • phoebes-game-of-life
    • and 657 more…
  • Text editors

    Applications for editing text.
    • git-interactive-rebase-tool
    • lapce
    • tremor-language-server
    • tree-sitter-highlight
    • neocmakelsp
    • reedline
    • lsp-types
    • edit
    • tree-sitter-dart
    • tree-sitter-ssh-client-config
    • and 239 more…
  • Internationalization (i18n)

    and localization (l10n). Develop software for various languages and regions.
    • num-format
    • fake
    • unic-langid
    • whatlang
    • icu_provider
    • rust_icu_uenum
    • rust_icu_ucol
    • fluent-bundle
    • icu_datetime
    • icu_collator
    • icu_list
    • icu_calendar
    • and 306 more…
  • Programming languages

    Compilers
    • dynasmrt
    • llvm-sys
    • hvm
    • cranelift-native
    • passerine
    • erg
    • c2rust-ast-builder
    • cranelift-frontend
    • swc_cli
    • callisp
    • erg_compiler
    • cranelift-interpreter
    • and 148 more…
  • Email

    Sending, receiving, formatting, and parsing email.
    • lettre
    • mailchecker
    • mailparse
    • mail-parser
    • mrml
    • email_address
    • vsmtp-mail-parser
    • imap
    • addr-spec
    • vcard_parser
    • vsmtp
    • vsmtp-auth
    • sendgrid_thin
    • vsmtp-protocol
    • and 337 more…
  • Geospatial

    GIS, maps, and stuff on Earth
    • geojson
    • geo
    • geozero
    • google_maps
    • geographiclib-rs
    • proj
    • kml
    • gdal
    • d3_geo_rs
    • d3_geo_voronoi_rs
    • h3ron
    • h3ron-h3-sys
    • h3ron-ndarray
    • h3ron-graph
    • h3ron-polars
    • and 119 more…
  • Accessibility

    Assistive technologies
    • a11ywatch_cli
    • atk-sys
    • atspi
    • monolilith
    • accesskit_consumer
    • flac_music
    • uiautomation
    • pipedconsole
    • mathcat
    • accesskit_winit
    • accesskit_windows
    • accesskit_macos
    • and 53 more…
  • Emulators

    Run software or games not available natively on the host computer.
    • vm-superio
    • agb
    • qip
    • rtlola-interpreter
    • emuman
    • resid-rs
    • brainhug
    • enjoy
    • psg
    • gameboyr
    • librashader-reflect
    • librashader-presets
    • librashader-runtime-gl
    • and 243 more…
  • Simulation

    Model or construct models for some activity, e.g. to simulate a networking protocol.
    • bender
    • madsim
    • physx-sys
    • rems
    • rl_ball_sym
    • roqoqo-test
    • roqoqo-quest
    • freebj
    • caminos
    • caminos-lib
    • qoqo-qryd
    • autd3-link-simulator
    • desim
    • sparkl3d-core
    • and 350 more…
  • Finance

    Payments, accounting, trading using real money
    • trade_aggregation
    • investments
    • portfolio_rs
    • sp-plugin-rust-test
    • fme
    • pricedb
    • etrade
    • gurufocus_api
    • ibflex
    • moneta
    • blackscholes
    • easyfix
    • databento-defs
    • and 125 more…

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