Lib.rs

Index of 104,428 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
    • thrift
    • async-nats
    • sn_cli
    • hurl
    • wasmedge_wasi_socket
    • sn_node
    • poem-lambda
    • rusty-penguin
    • and 5392 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
    • trie-db
    • amplify
    • orchestra
    • human-panic
    • formatx
    • more-di
    • error-stack
    • and 2740 more…
  • Data structures

    Rust implementations of data structures for specific purposes.
    • hashbrown
    • indexmap
    • phf
    • bitvec
    • half
    • predicates
    • either
    • uint
    • winx
    • wide
    • vsmtp-config
    • sodg
    • pi_map
    • vsmtp-common
    • rstar
    • ranged_integers
    • windowed-infinity
    • and 2455 more…
  • Development tools

    Testing, debugging, linting, performance profiling, autocompletion, formatting, and more.
    • pretty_assertions
    • git2
    • kube
    • assert-json-diff
    • duct
    • version_check
    • include_dir
    • ndk
    • dylint
    • git-stack
    • craftql
    • c2rust
    • gptcommit
    • compiler-llvm-builder
    • and 2400 more…
  • Build Utils

    Utilities for build scripts and other build time steps.
    • cc
    • pkg-config
    • vergen
    • prost-build
    • autocfg
    • cxx-build
    • system-deps
    • built
    • semantic-release-cargo
    • wolfram-app-discovery
    • auto_generate_cdp
    • rb-sys-build
    • and 628 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
    • casr
    • mozdevice
    • pyo3-log
    • tracing-chrometrace
    • and 601 more…
  • Testing

    Verify the correctness of your code.
    • trybuild
    • insta
    • assert_cmd
    • test-case
    • rstest
    • log4rs
    • serial_test
    • arbitrary
    • pgx-tests
    • tracing-test
    • prop-check-rs
    • dylint_testing
    • chronos-parser-rs
    • and 1002 more…
  • FFI

    Interface with other languages. Includes binding generators and helpful language constructs.
    • napi
    • cxx
    • pyo3
    • bindgen
    • numpy
    • jni
    • pyo3-macros-backend
    • cbindgen
    • cxxbridge-cmd
    • pyo3-asyncio
    • cxxbridge-flags
    • dart-sys
    • c2rust-bitfields
    • autd3-link-soem
    • and 291 more…
  • Profiling

    Figure out the performance of your code.
    • criterion
    • hdrhistogram
    • profiling
    • inferno
    • pprof
    • cadence
    • firestorm
    • bencher
    • oha
    • deno_bench_util
    • nu-plugin
    • nodejs-resolver
    • autometrics
    • datafusion-optimizer
    • and 330 more…
  • Procedural macros

    Extend Rust language with procedural macros.
    • syn
    • darling
    • proc-macro-error
    • quote
    • proc-macro-crate
    • derive_more
    • strum
    • ctor
    • tinyvec_macros
    • dylint_linting
    • autd3-traits
    • deno_ops
    • napi_sym
    • wasm-bindgen-macro-support
    • and 4140 more…
  • Cargo plugins

    Subcommands that extend the capabilities of Cargo.
    • cargo
    • cargo-hack
    • cargo-outdated
    • cargo-dylint
    • cargo-sort
    • cargo-ndk
    • cargo-deb
    • cargo-make
    • cargo-semver-checks
    • tauri-bundler
    • cargo-pgx
    • cargo-wasi
    • and 832 more…
  • Algorithms

    Core algorithms such as hashing, sorting and searching.
    • rand
    • twox-hash
    • crc
    • fastrand
    • rustfft
    • ahash
    • rand_chacha
    • xxhash-rust
    • medians
    • rrt
    • hypernonsense
    • graphalgs
    • fenris-optimize
    • minecraft_launcher_core
    • and 2023 more…
  • Encoding data

    Encoding and/or decoding data from one data format to another.
    • serde_json
    • base64
    • bincode
    • serde_with
    • prost
    • bson
    • toml
    • bytemuck
    • pilota
    • csv2parquet
    • json2parquet
    • pilota-build
    • pct-str
    • npyz
    • ebml-iterable
    • pcap-file
    • and 1639 more…
  • Cryptography

    Algorithms intended for securing data.
    • curve25519-dalek
    • blake3
    • digest
    • sha2
    • secp256k1
    • openssl
    • rcgen
    • signature
    • elliptic-curve
    • cosmian_cover_crypt
    • s2n-tls
    • gm-rs
    • srisum
    • sequoia-chameleon-gnupg
    • and 2286 more…
  • Asynchronous

    Async program flow using techniques like futures, promises, waiting, or eventing.
    • tokio
    • futures
    • async-std
    • mio
    • tokio-rustls
    • async-graphql
    • rdkafka
    • async-stream
    • suppaftp
    • ractor
    • ractor_cluster
    • remoc
    • csnmp
    • async-tls
    • tor-rtcompat
    • and 1657 more…
  • Concurrency

    Implementing concurrent and parallel computation.
    • parking_lot
    • crossbeam-channel
    • spin
    • crossbeam
    • rayon
    • flume
    • dashmap
    • moka
    • parking_lot_core
    • sync_wrapper
    • utils-atomics
    • throttle-server
    • txn_lock
    • may
    • and 951 more…
  • Text processing

    Deal with the complexities of human language when expressed in textual form.
    • comfy-table
    • textwrap
    • encoding_rs
    • unicode-segmentation
    • const_format
    • unicode-xid
    • lazy-regex
    • fancy-regex
    • heck
    • ropey
    • lngcnv
    • bstr
    • coap-numbers
    • vibrato
    • and 1596 more…
  • Parser implementations

    Parse data formats or languages.
    • uuid
    • quick-xml
    • semver
    • syntect
    • url
    • goblin
    • sqlparser
    • object
    • difftastic
    • firestore
    • serde_v8
    • beancount-parser
    • gchemol-parser
    • justjson
    • ical
    • markdown
    • and 1928 more…
  • Operating systems

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

    Bindings to Unix-specific APIs.
    • nix
    • signal-hook
    • rustix
    • zbus
    • x11-dl
    • ndk-sys
    • users
    • caps
    • bluez-async
    • bluer
    • kvm-ioctls
    • linux-procfs
    • sys-mount
    • rlimit
    • sev
    • nydus-api
    • automatic-timezoned
    • and 822 more…
  • Windows APIs

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

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

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

    Solving problems involving math, physics, and other scientific fields.
    • uom
    • rust-htslib
    • peroxide
    • finch
    • rustfst
    • rust_decimal_macros
    • finch_cli
    • alevin-fry
    • fqkit
    • varfish-server-worker
    • simple-si-units
    • roqoqo
    • gchemol-core
    • and 1561 more…
  • Math

    Solving problems involving math and logic.
    • rust_decimal
    • num-traits
    • num-bigint
    • nalgebra
    • rug
    • statrs
    • num-complex
    • matrixmultiply
    • smt-lang
    • castep-model-core
    • angulus
    • fenris-geometry
    • amplify_num
    • and 1561 more…
  • Machine learning

    AI, ML, NN, etc.
    • tch
    • reinfer-cli
    • mosec
    • rust-bert
    • rstats
    • tensorflow
    • dfdx
    • tract-onnx
    • lance
    • constriction
    • compiled-nn-bindings
    • tract-nnef
    • tract-hir
    • tract-linalg
    • and 461 more…
  • Robotics

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

    Create applications for the Web.
    • jsonwebtoken
    • http
    • scraper
    • graphql_client
    • actix-http
    • cookie
    • serenity
    • rust-embed
    • v8
    • egg-mode
    • deno_console
    • deno_webidl
    • deno_webstorage
    • deno_net
    • and 2211 more…
  • HTTP server

    Server-side programming
    • actix-web
    • axum
    • lambda_runtime
    • rocket
    • warp
    • tiny_http
    • actix-files
    • lambda_http
    • poem
    • actix-web-rust-embed-responder
    • deno_web
    • treemux
    • deno_http
    • deno_flash
    • and 892 more…
  • HTTP client

    Make HTTP network requests.
    • ureq
    • reqwest
    • hyper
    • curl
    • isahc
    • reqwest-middleware
    • octocrab
    • aliyundrive-webdav
    • iptmnet
    • attohttpc
    • workflow-terminal
    • frankenstein
    • trillium-client
    • and 306 more…
  • WebSocket

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

    Targeting or manipulating WebAssembly.
    • instant
    • wasm-bindgen-test
    • wasmer
    • serde-wasm-bindgen
    • webbrowser
    • yew
    • wasmer-wasi
    • web-sys
    • wasm-bindgen
    • js-sys
    • wasm-bindgen-futures
    • wasm-tools
    • wit-component
    • and 1587 more…
  • Hardware support

    Interface with specific CPU or other hardware features.
    • num_cpus
    • crc32fast
    • serialport
    • rppal
    • raw-cpuid
    • cpufeatures
    • buttplug
    • rusb
    • autd3
    • autd3-driver
    • autd3-gain-holo
    • autd3-link-twincat
    • dylint_driver
    • and 1468 more…
  • Embedded development

    For embedded devices or devices without an operating system.
    • postcard
    • critical-section
    • cortex-m-rtic
    • rhai
    • stm32f1xx-hal
    • fixed
    • usb-device
    • probe-rs
    • rs-com
    • avr-progmem
    • ina3221
    • stm32-eth
    • interchange
    • kanata-keyberon
    • and 2763 more…
  • Filesystem

    Crates for dealing with files and filesystems.
    • directories
    • glob
    • notify
    • tempfile
    • path-absolutize
    • infer
    • mime_guess
    • relative-path
    • atomicwrites
    • qfile
    • fs-set-times
    • fs-mistrust
    • iftree
    • recast
    • prtl
    • and 939 more…
  • Compression

    Algorithms for making data smaller.
    • flate2
    • tar
    • zstd
    • zip
    • miniz_oxide
    • brotli
    • lz4
    • brotli-decompressor
    • compress-manager
    • staticfilemap
    • lzss
    • mtzip
    • libdivsufsort-rs
    • zstd-sys
    • lzss-cli
    • and 571 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
    • scope_gc
    • rabuf
    • yoke
    • yoke-derive
    • la-arena
    • kernel-alloc
    • bumpslab
    • jrsonnet-gcmodule
    • and 504 more…
  • Command-line interface

    Argument parsers, line-editing, or output coloring and formatting.
    • crossterm
    • clap
    • rustyline
    • owo-colors
    • console
    • clap_complete
    • colored
    • tui
    • bpaf
    • termit
    • terminal-light
    • devicon-lookup
    • nu-table
    • nu-term-grid
    • nu-protocol
    • and 680 more…
  • Date and time

    Dealing with the fourth dimension.
    • chrono-tz
    • time
    • chrono
    • hifitime
    • iana-time-zone
    • tokio-cron-scheduler
    • cron
    • quanta
    • icalendar
    • job_scheduler_ng
    • slog-dtrace
    • libsw
    • two_timer
    • iso8601-timestamp
    • and 340 more…
  • Command line utilities

    Applications to run at the command line.
    • fd-find
    • coreutils
    • bat
    • names
    • shellharden
    • lsd
    • tealdeer
    • rtx-cli
    • dump_syms
    • jaslog
    • smfnotify
    • marky
    • crabdropper-cli
    • fixme-roulette
    • react-component
    • and 4442 more…
  • Database interfaces

    Interface with database management systems.
    • rusqlite
    • sqlx
    • redis
    • sea-orm
    • rocksdb
    • mongodb
    • parquet
    • diesel
    • pgx
    • libmdbx
    • sibyl
    • sea-orm-migration
    • json2arrow
    • csv2arrow
    • mdbx-sys
    • sea-orm-cli
    • hdbconnect
    • and 2302 more…
  • Database implementations

    Database management systems implemented in Rust.
    • sled
    • tantivy
    • indradb
    • surrealdb
    • sonic-server
    • persy
    • tantivy-cli
    • indicium
    • versatile-data
    • infinitree
    • terminus-store
    • oxigraph_server
    • oxigraph
    • spargebra
    • 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
    • strfmt
    • chrono-humanize
    • shlex
    • dtoa
    • c2rust-ast-exporter
    • c2rust-ast-printer
    • dactyl
    • pretty-type-name
    • bcrypt-tune
    • russian_numbers
    • and 176 more…
  • Template engine

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

    Configuration management for applications.
    • config
    • configparser
    • confy
    • dotenvy
    • figment
    • deno_lint
    • rust-ini
    • nu-color-config
    • vsmtp-plugin-vsl
    • rsconfig
    • vsmtp-rule-engine
    • tor-config
    • tor-persist
    • and 700 more…
  • Multimedia

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

    Process or make images.
    • image
    • palette
    • png
    • rgb
    • svg
    • opencv
    • fast_image_resize
    • imagequant
    • fast_qr
    • pixelmosh
    • xmp_toolkit
    • jpegxl-rs
    • rxcv
    • libheif-sys
    • jpegxl-sys
    • greenfield
    • and 573 more…
  • Audio

    Record, output, or process audio.
    • rodio
    • cpal
    • hound
    • ncspot
    • alsa
    • fundsp
    • soloud
    • oboe
    • midi_fundsp
    • google-cognitive-apis
    • ncmdump
    • web-audio-api
    • lofty
    • livi
    • pacmog
    • ogg_pager
    • projectm-sys
    • and 976 more…
  • Video

    Record, output, or process video.
    • gifski
    • openh264
    • rav1e
    • ffmpeg-next
    • v4l
    • ab-av1
    • mp4
    • dash-mpd-cli
    • webm-iterable
    • offflix
    • aravis
    • aravis-sys
    • mediasoup-sys
    • dash-mpd
    • dolby_vision
    • asn1-codecs
    • and 433 more…
  • Rendering

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

    Direct access to the hardware's or the operating system's rendering capabilities.
    • ash
    • wgpu
    • glfw
    • glow
    • tobj
    • naga
    • kurbo
    • resvg
    • spirv-builder
    • spirv-std
    • deno_webgpu
    • stereokit
    • stereokit-sys
    • rustc_codegen_spirv-types
    • gltf-json
    • egui_wgpu_backend
    • and 1017 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
    • owned_ttf_parser
    • smol-rgb
    • easy-gltf
    • meshopt-rs
    • nanoem
    • and 69 more…
  • Rendering engine

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

    Help with the process of confirming identities.
    • aws-config
    • rpassword
    • keyring
    • oauth2
    • argon2
    • casbin
    • secret-service
    • jwt-simple
    • qcs-api-client-common
    • twitch_oauth2
    • ockam_api
    • ockam_multiaddr
    • ockam_transport_uds
    • and 725 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
    • amplify_apfloat
    • riot-wrappers
    • mc-sgx-util
    • efd
    • evil-janet
    • and 309 more…
  • GUI

    Create a graphical user interface.
    • winit
    • gtk4
    • fltk
    • iced
    • raw-window-handle
    • dioxus
    • relm4
    • fontdue
    • tauri
    • tauri-cli
    • tauri-build
    • tauri-runtime-wry
    • fltk-sys
    • create-tauri-app
    • tauri-utils
    • and 863 more…
  • Visualization

    Ways to view data, such as plotting or graphing.
    • plotters
    • plotly
    • datavzrd
    • poloto
    • ariadne
    • plotters-svg
    • bottom
    • graphviz-rust
    • krapslog
    • aquamarine
    • orgrender
    • plotters-druid
    • img2text
    • luminance-glyph
    • and 333 more…
  • Caching

    Store the results of previous computations.
    • cached
    • string_cache
    • lru
    • http-cache-semantics
    • lru_time_cache
    • intaglio
    • twilight-cache-inmemory
    • ustr
    • momento
    • deno_cache
    • hashlru
    • hirofa_utils
    • cacache
    • and 274 more…
  • Game dev

    Crates for creating games.
    • egui
    • glam
    • bevy
    • bevy-inspector-egui
    • ggez
    • bevy_ecs
    • bevy_egui
    • hecs
    • emerald
    • solstack
    • bevy-egui-kbgp
    • nu-engine
    • bevy_mod_ui_texture_atlas_image
    • bevy_ui_exact_image
    • and 2018 more…
  • Text editors

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

    Fun and entertainment. Games and mods implemented in Rust.
    • ferium
    • shticker_book_unwritten
    • otter-daemon
    • ld46
    • pactorio
    • tttm
    • riven
    • otter-webdriver-tests
    • tetris-rs
    • console-games
    • oort_api
    • discord-rpc-helper
    • and 675 more…
  • Internationalization (i18n)

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

    Sending, receiving, formatting, and parsing email.
    • lettre
    • mailchecker
    • mailparse
    • mail-parser
    • mrml
    • email_address
    • imap
    • vsmtp-mail-parser
    • async-smtp
    • ju
    • vsmtp-auth
    • vsmtp
    • vsmtp-protocol
    • mail-send
    • mailgun-rs
    • and 339 more…
  • Programming languages

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

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

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

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

    Assistive technologies
    • a11ywatch_cli
    • atspi
    • accesskit_consumer
    • atk-sys
    • uiautomation
    • saika
    • midnote
    • mathcat
    • accesskit_winit
    • accesskit_windows
    • accesskit_macos
    • accesskit
    • and 29 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 128 more…

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