Lib.rs

Index of 104,740 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
    • tonic-build
    • trust-dns-resolver
    • aws-sdk-s3
    • amqprs
    • sn_cli
    • sn_node
    • volo
    • aws-smithy-async
    • metainfo
    • nostr-sdk
    • conjure-runtime
    • and 5401 more…
  • Rust patterns

    Shared solutions for particular situations specific to programming in Rust.
    • anyhow
    • once_cell
    • bytes
    • miette
    • color-eyre
    • itertools
    • derive_builder
    • pin-project
    • amplify
    • derive-where
    • advent-of-code
    • amplify_derive
    • rtml
    • asset-derive
    • and 2739 more…
  • Data structures

    Rust implementations of data structures for specific purposes.
    • hashbrown
    • indexmap
    • phf
    • bitvec
    • half
    • predicates
    • either
    • uint
    • zerovec
    • linked-vector
    • priority-queue
    • entity_data
    • trait-map
    • arraydeque
    • queue-file
    • structured
    • and 2468 more…
  • Development tools

    Testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
    • pretty_assertions
    • git2
    • kube
    • assert-json-diff
    • duct
    • include_dir
    • version_check
    • ndk
    • gptcommit
    • vhdl_lang
    • vhdl_ls
    • clang-sys
    • twyg
    • qcs
    • rbspy-ruby-structs
    • and 2407 more…
  • Build Utils

    Utilities for build scripts and other build time steps.
    • cc
    • pkg-config
    • vergen
    • prost-build
    • autocfg
    • cxx-build
    • system-deps
    • cmake
    • rb-sys-build
    • semantic-release-cargo
    • rustc-host
    • wolfram-app-discovery
    • sunbeam
    • and 632 more…
  • Debugging

    Figure out what is going on with your code via logging, tracing, or assertions.
    • env_logger
    • log
    • tracing
    • tracing-subscriber
    • prometheus
    • flexi_logger
    • opentelemetry
    • tracing-opentelemetry
    • spdlog-rs
    • sensible-env-logger
    • ftlog
    • redact
    • and 601 more…
  • Testing

    Verify the correctness of your code.
    • trybuild
    • insta
    • rstest
    • assert_cmd
    • test-case
    • proptest
    • log4rs
    • serde_test
    • pact_matching
    • dprint-plugin-typescript
    • prop-check-rs
    • chronos-parser-rs
    • and 1006 more…
  • FFI

    Interface with other languages. Includes binding generators and helpful language constructs.
    • napi
    • cxx
    • bindgen
    • pyo3
    • numpy
    • jni
    • pyo3-macros-backend
    • cbindgen
    • rb-sys
    • dsync
    • td_rlua
    • flutter_rust_bridge
    • flutter_rust_bridge_codegen
    • serde_magnus
    • and 294 more…
  • Profiling

    Figure out the performance of your code.
    • criterion
    • hdrhistogram
    • profiling
    • inferno
    • pprof
    • cadence
    • brunch
    • bencher
    • rbspy
    • calliper
    • benchmarking
    • deno_bench_util
    • oha
    • nu-plugin
    • nodejs-resolver
    • and 328 more…
  • Procedural macros

    Extend Rust language with procedural macros.
    • syn
    • darling
    • proc-macro-error
    • quote
    • proc-macro-crate
    • strum
    • derive_more
    • ctor
    • proc-macro2
    • genemichaels
    • binrw_derive
    • deluxe
    • tinyvec_macros
    • deno_ops
    • and 4144 more…
  • Cargo plugins

    Subcommands that extend the capabilities of Cargo.
    • cargo
    • cargo-hack
    • cargo-outdated
    • cargo-sort
    • cargo-dylint
    • cargo-ndk
    • cargo-cache
    • cargo-make
    • cargo-tanker
    • cargo-msrv
    • cargo-prebuilt
    • cargo-show-asm
    • and 834 more…
  • Encoding data

    Encoding and/or decoding data from one data format to another.
    • serde_json
    • base64
    • bincode
    • serde_with
    • serde
    • prost
    • bson
    • toml
    • serde_bytes
    • osmpbfreader
    • pilota
    • ofilter
    • pilota-build
    • binrw
    • vt100
    • mdbook-satysfi
    • serde-this-or-that
    • and 1643 more…
  • Algorithms

    Core algorithms such as hashing, sorting and searching.
    • rand
    • twox-hash
    • crc
    • fastrand
    • rustfft
    • ahash
    • rand_chacha
    • xxhash-rust
    • glidesort
    • zeros
    • medians
    • feruca
    • binpack2d
    • linregress
    • teeint
    • cap-rand
    • sub-strs
    • and 2026 more…
  • Cryptography

    Algorithms intended for securing data.
    • curve25519-dalek
    • blake3
    • digest
    • sha2
    • ed25519-dalek
    • secp256k1
    • openssl
    • rcgen
    • sodoken
    • ssh-key
    • rust-clacc
    • efficient-sm2
    • xxxdh
    • ratchet-x2
    • ecdsa
    • bcrypt
    • and 2288 more…
  • Asynchronous

    Async program flow using techniques like futures, promises, waiting, or eventing.
    • tokio
    • futures
    • async-std
    • tokio-rustls
    • mio
    • futures-channel
    • async-graphql
    • rdkafka
    • esrs
    • rusty-penguin
    • twilight-standby
    • twilight-http-ratelimiting
    • and 1667 more…
  • Concurrency

    Implementing concurrent and parallel computation.
    • parking_lot
    • crossbeam-channel
    • spin
    • crossbeam
    • rayon
    • flume
    • dashmap
    • async-channel
    • moka
    • may_queue
    • may
    • darkbird
    • threadfin
    • chunker
    • bustle
    • lariv
    • messaging_thread_pool
    • and 948 more…
  • Text processing

    Deal with the complexities of human language when expressed in textual form.
    • comfy-table
    • textwrap
    • unicode-segmentation
    • encoding_rs
    • const_format
    • unicode-xid
    • heck
    • fancy-regex
    • zine
    • fontdb
    • simsearch
    • rustybuzz
    • text-sanitizer
    • and 1597 more…
  • Parser implementations

    Parse data formats or languages.
    • uuid
    • quick-xml
    • semver
    • syntect
    • url
    • goblin
    • object
    • sqlparser
    • orcrs
    • roxmltree
    • erg_parser
    • cargo_toml
    • hifijson
    • cborpath
    • rbook
    • difftastic
    • svgtypes
    • and 1927 more…
  • Operating systems

    Bindings to operating system-specific APIs.
    • sysinfo
    • getrandom
    • whoami
    • ctrlc
    • libc
    • which
    • os_info
    • io-lifetimes
    • fd-lock
    • pkgcraft
    • os_pipe
    • nu
    • tauri-macros
    • io-extras
    • memflex
    • xous
    • egui_winit_platform
    • and 825 more…
  • Unix APIs

    Bindings to Unix-specific APIs.
    • nix
    • signal-hook
    • rustix
    • zbus
    • x11-dl
    • ndk-sys
    • users
    • caps
    • fm-tui
    • linux-raw-sys
    • oo7
    • automatic-timezoned
    • file-lock
    • alienware
    • bluez-async
    • libblkid-rs-sys
    • and 826 more…
  • Windows APIs

    Bindings to Windows-specific APIs.
    • windows
    • winres
    • winreg
    • wild
    • winapi
    • wmi
    • ntapi
    • windows-sys
    • webview2-com
    • webview2-com-sys
    • willhook
    • ntfs
    • winsafe
    • pipedconsole
    • d3d12
    • native-timer
    • and 710 more…
  • macOS and iOS APIs

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

    Low-level tools and parser generators.
    • nom
    • pest
    • logos
    • tree-sitter
    • nom_locate
    • pest_meta
    • lalrpop
    • evalexpr
    • lambdascript
    • atoi_simd
    • veryl-ls
    • veryl-parser
    • veryl-analyzer
    • veryl-formatter
    • and 403 more…
  • Science

    Solving problems involving math, physics, and other scientific fields.
    • uom
    • rust-htslib
    • peroxide
    • finch
    • rustfst
    • rust_decimal_macros
    • finch_cli
    • atg
    • qoqo_calculator
    • biodivine-lib-param-bn
    • biodivine-hctl-model-checker
    • and 1570 more…
  • Math

    Solving problems involving math and logic.
    • rust_decimal
    • num-traits
    • num-bigint
    • nalgebra
    • rug
    • statrs
    • num-complex
    • matrixmultiply
    • fj-app
    • fj
    • fj-kernel
    • fj-math
    • fend
    • qoqo_calculator_pyo3
    • fj-interop
    • and 1566 more…
  • Machine learning

    AI, ML, NN, etc.
    • tch
    • reinfer-cli
    • mosec
    • rust-bert
    • rstats
    • tensorflow
    • tract-onnx
    • dfdx
    • lance
    • easy-ml
    • opensrdk-kernel-method
    • rust_tokenizers
    • constriction
    • compiled-nn-bindings
    • and 462 more…
  • Robotics

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

    Create applications for the Web.
    • jsonwebtoken
    • http
    • scraper
    • graphql_client
    • actix-http
    • serenity
    • cookie
    • rust-embed
    • twilight-gateway
    • ananc
    • svix
    • twilight-model
    • axum-tracing-opentelemetry
    • and 2222 more…
  • HTTP server

    Server-side programming
    • actix-web
    • axum
    • lambda_runtime
    • warp
    • rocket
    • tiny_http
    • actix-cors
    • rouille
    • basteh
    • kickable
    • vertx-rust
    • pict-rs
    • poem
    • s3s-aws
    • september
    • swim
    • h2_wasi
    • and 897 more…
  • HTTP client

    Make HTTP network requests.
    • ureq
    • reqwest
    • hyper
    • curl
    • octocrab
    • aliyundrive-webdav
    • attohttpc
    • isahc
    • twilight-http
    • twilight-lavalink
    • ureq_multipart
    • frankenstein
    • reqwest_wasi
    • and 306 more…
  • WebSocket

    Communicate over the WebSocket protocol.
    • tungstenite
    • awc
    • ws_stream_wasm
    • tokio-tungstenite
    • async-tungstenite
    • message-io
    • hyper-tungstenite
    • chromiumoxide_cdp
    • condure
    • deno_websocket
    • workflow-rpc
    • and 223 more…
  • WebAssembly

    Targeting or manipulating WebAssembly.
    • instant
    • wasm-bindgen-test
    • wasmer
    • serde-wasm-bindgen
    • webbrowser
    • yew
    • wasmer-wasi
    • web-sys
    • wasmi
    • grafbase-local-common
    • grafbase-local-backend
    • grafbase-local-server
    • and 1596 more…
  • Hardware support

    Interface with specific CPU or other hardware features.
    • num_cpus
    • crc32fast
    • serialport
    • rppal
    • raw-cpuid
    • cpufeatures
    • rusb
    • buttplug
    • veryl
    • mdbook-veryl
    • astarte-device-sdk
    • pact-plugin-driver
    • windivert-sys
    • and 1469 more…
  • Embedded development

    For embedded devices or devices without an operating system.
    • postcard
    • critical-section
    • cortex-m-rtic
    • stm32f1xx-hal
    • rhai
    • probe-rs
    • fixed
    • usb-device
    • gdb-server
    • probe-rs-target
    • probe-rs-cli-util
    • fdt
    • spacepackets
    • and 2769 more…
  • Filesystem

    Crates for dealing with files and filesystems.
    • directories
    • glob
    • fs_extra
    • notify
    • path-absolutize
    • tempfile
    • infer
    • relative-path
    • exr
    • opendal
    • dua-cli
    • cap-fs-ext
    • cap-tempfile
    • dir-test
    • system-interface
    • and 941 more…
  • Compression

    Algorithms for making data smaller.
    • flate2
    • zip
    • zstd
    • miniz_oxide
    • brotli
    • lz4
    • tar
    • brotli-decompressor
    • keyz
    • q_compress
    • cart_container
    • byte-size
    • lusl
    • noodles-bgzf
    • compress-manager
    • staticfilemap
    • and 570 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
    • flatbuffers
    • jemalloc-sys
    • tikv-jemalloc-sys
    • rcu-clean
    • gomicollector
    • ocaml-boxroot-sys
    • and 512 more…
  • Command-line interface

    Argument parsers, line-editing, or output coloring and formatting.
    • clap
    • crossterm
    • rustyline
    • owo-colors
    • clap_complete
    • indicatif
    • console
    • colored
    • lune
    • s3rs
    • termit
    • transferhelper
    • progression
    • rustyline-with-hint-fix
    • and 685 more…
  • Date and time

    Dealing with the fourth dimension.
    • chrono-tz
    • time
    • chrono
    • hifitime
    • iana-time-zone
    • tokio-cron-scheduler
    • cron
    • quanta
    • fundu
    • zemen
    • utc2k
    • fang
    • cap-time-ext
    • icalendar
    • job_scheduler_ng
    • and 346 more…
  • Command line utilities

    Applications to run at the command line.
    • fd-find
    • coreutils
    • bat
    • shellharden
    • names
    • lsd
    • procs
    • tealdeer
    • rtx-cli
    • watchbind
    • uggo
    • bingrep
    • gfold
    • grafbase
    • asciibar
    • jikken
    • syndicate-tools
    • ytsub
    • and 4461 more…
  • Database interfaces

    Interface with database management systems.
    • sqlx
    • rusqlite
    • redis
    • mongodb
    • sea-orm
    • rocksdb
    • parquet
    • diesel
    • meilisearch-sdk
    • sqlite
    • gremlin-client
    • sibyl
    • gcp-bigquery-client
    • redb
    • wild-doc
    • csv_log_cleaner
    • and 2304 more…
  • Database implementations

    Database management systems implemented in Rust.
    • tantivy
    • sled
    • indradb
    • sonic-server
    • surrealdb
    • persy
    • tantivy-cli
    • indicium
    • hkvdb
    • versatile-data
    • infinitree
    • terminus-store
    • oxigraph_server
    • oxigraph
    • and 275 more…
  • Value formatting

    Format values for display to a user, potentially adapting the display to various languages and regions.
    • itoa
    • humansize
    • ryu
    • bytesize
    • strfmt
    • chrono-humanize
    • shlex
    • dtoa
    • c2rust-ast-exporter
    • c2rust-ast-printer
    • dactyl
    • pretty-type-name
    • bcrypt-tune
    • russian_numbers
    • and 176 more…
  • Configuration

    Configuration management for applications.
    • config
    • configparser
    • dotenvy
    • confy
    • figment
    • deno_lint
    • rust-ini
    • qrcode
    • irx-config
    • rustocat
    • journal-forwarder
    • contra
    • cvars
    • ini_core
    • ginst
    • liboverdrop
    • and 703 more…
  • Template engine

    Combine templates with data to produce documents, usually with an emphasis on processing text.
    • tera
    • handlebars
    • askama
    • minijinja
    • tp-note
    • liquid
    • genco
    • ramhorns
    • favia
    • yarte_helpers
    • yarte_codegen
    • template-cli
    • ructe
    • minijinja-autoreload
    • minijinja-stack-ref
    • and 449 more…
  • Multimedia

    Audio, video, and image processing or rendering engines.
    • gstreamer-video
    • gstreamer-app
    • menyoki
    • spectrum-analyzer
    • souvlaki
    • rust_cast
    • glide
    • ril
    • svg_metadata
    • ffmpeg-the-third
    • retina
    • flp-abyss-player
    • ytextract
    • and 576 more…
  • Images

    Process or make images.
    • image
    • palette
    • png
    • opencv
    • rgb
    • svg
    • usvg
    • fast_image_resize
    • pdfium-render
    • usvg-text-layout
    • svgplot
    • mozjpeg-sys
    • jpegxl-rs
    • load_image
    • jpegxl-sys
    • fast_qr
    • and 573 more…
  • Audio

    Record, output, or process audio.
    • cpal
    • rodio
    • hound
    • ncspot
    • spotify_player
    • alsa
    • fundsp
    • soloud
    • livi
    • mpd_info_screen
    • tlm
    • listenbrainz-mpd
    • redlux
    • midi_fundsp
    • google-cognitive-apis
    • and 977 more…
  • Video

    Record, output, or process video.
    • gifski
    • openh264
    • rav1e
    • ffmpeg-next
    • v4l
    • ab-av1
    • dash-mpd-cli
    • mp4
    • webm-iterable
    • xiu
    • rtmp
    • xmpegts
    • offflix
    • aravis
    • aravis-sys
    • mediasoup-sys
    • dash-mpd
    • and 435 more…
  • Rendering

    Real-time or offline rendering of 2D or 3D graphics, usually on a GPU.
    • sdl2
    • tiny-skia
    • sdl2-sys
    • encase
    • notan
    • ultraviolet
    • pixels
    • flo_curves
    • qrc
    • wgpu_text
    • jiao
    • font
    • horned-owl
    • opentype
    • russimp-sys
    • bevy_nokhwa
    • rich-sdl2-rust
    • and 1019 more…
  • Graphics APIs

    Direct access to the hardware's or the operating system's rendering capabilities.
    • ash
    • wgpu
    • resvg
    • glfw
    • glow
    • tobj
    • naga
    • kurbo
    • femtovg
    • lyon_tessellation
    • tiny-skia-path
    • speedy2d
    • notan_glow
    • polygonical
    • dunge
    • deno_webgpu
    • old_school_gfx_glutin_ext
    • and 1019 more…
  • Gfx data formats

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

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

    Create a graphical user interface.
    • winit
    • gtk4
    • fltk
    • iced
    • raw-window-handle
    • dioxus
    • glib
    • relm4
    • create-tauri-app
    • relm4-components
    • wayland-client
    • masonry
    • relm4-macros
    • gtk4-macros
    • egui_speedy2d
    • and 864 more…
  • Authentication

    Help with the process of confirming identities.
    • aws-config
    • rpassword
    • keyring
    • oauth2
    • casbin
    • argon2
    • secret-service
    • totp-rs
    • osauth
    • josekit
    • rsasl
    • metrics_cloudwatch
    • qcs-api-client-common
    • twitch_oauth2
    • and 722 more…
  • No standard library

    Libraries that function without the Rust standard library.
    • target-lexicon
    • libm
    • const_panic
    • assert_matches
    • colorous
    • core_extensions
    • str-buf
    • obfstr
    • amplify_apfloat
    • riot-wrappers
    • mc-sgx-util
    • efd
    • evil-janet
    • and 309 more…
  • Visualization

    Ways to view data, such as plotting or graphing.
    • plotters
    • plotly
    • datavzrd
    • binary-security-check
    • ariadne
    • poloto
    • plotters-svg
    • bottom
    • http1-spec
    • toprs
    • graphviz-rust
    • krapslog
    • aquamarine
    • orgrender
    • and 334 more…
  • Caching

    Store the results of previous computations.
    • cached
    • string_cache
    • lru
    • http-cache-semantics
    • lru_time_cache
    • twilight-cache-inmemory
    • intaglio
    • clru
    • hashlru
    • disklru
    • menhirkv
    • simple-interner
    • momento
    • and 275 more…
  • Game dev

    Crates for creating games.
    • egui
    • glam
    • bevy
    • bevy-inspector-egui
    • ggez
    • bevy_ecs
    • bevy_egui
    • hecs
    • cc2600
    • scryfall
    • notan_app
    • notan_graphics
    • notan_draw
    • notan_math
    • notan_backend
    • and 2024 more…
  • Games

    Fun and entertainment. Games and mods implemented in Rust.
    • ferium
    • shticker_book_unwritten
    • ld46
    • otter-daemon
    • pactorio
    • tttm
    • riven
    • gravitate
    • oort_api
    • tetris-rs
    • gokz_rs
    • console-games
    • discord-rpc-helper
    • iching
    • and 676 more…
  • Text editors

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

    and localization (l10n). Develop software for various languages and regions.
    • num-format
    • fake
    • icu_provider
    • unic-langid
    • icu_datetime
    • whatlang
    • rust_icu_uenum
    • fluent-bundle
    • autoruby-cli
    • icu_testdata
    • twine
    • icu_datagen
    • icu_collator
    • and 311 more…
  • Programming languages

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

    Sending, receiving, formatting, and parsing email.
    • lettre
    • mailchecker
    • mailparse
    • mail-parser
    • email_address
    • mrml
    • imap
    • vsmtp-mail-parser
    • addr-spec
    • async-smtp
    • vsmtp-auth
    • vsmtp
    • vsmtp-protocol
    • mail-send
    • and 339 more…
  • Geospatial

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

    Assistive technologies
    • a11ywatch_cli
    • uiautomation
    • accesskit_consumer
    • atspi
    • atk-sys
    • saika
    • atk
    • midnote
    • accesskit
    • accesskit_winit
    • accesskit_macos
    • accesskit_windows
    • mathcat
    • and 28 more…
  • Emulators

    Run software or games not available natively on the host computer.
    • vm-superio
    • rtlola-interpreter
    • emuman
    • resid-rs
    • enjoy
    • brainhug
    • virt
    • iz80
    • librashader-presets
    • librashader-reflect
    • librashader-runtime-vk
    • librashader-preprocess
    • and 246 more…
  • Simulation

    Model or construct models for some activity, e.g. to simulate a networking protocol.
    • bender
    • madsim
    • physx-sys
    • roqoqo-test
    • roqoqo-quest
    • rems
    • rl_ball_sym
    • freebj
    • anabaena
    • qoqo
    • roqoqo-derive
    • autd3-link-simulator
    • qoqo-macros
    • qoqo-qryd
    • and 356 more…
  • Finance

    Payments, accounting, trading using real money
    • trade_aggregation
    • investments
    • portfolio_rs
    • fme
    • pricedb
    • sp-plugin-rust-test
    • gurufocus_api
    • etrade
    • ibflex
    • moneta
    • easyfix
    • codes-iso-4217
    • qsv_currency
    • and 127 more…

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