Browse free open source Rust Libraries and projects below. Use the toggles on the left to filter open source Rust Libraries by OS, license, language, programming language, and project status.

  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Get Started Free
  • Fully Managed MySQL, PostgreSQL, and SQL Server Icon
    Fully Managed MySQL, PostgreSQL, and SQL Server

    Automatic backups, patching, replication, and failover. Focus on your app, not your database.

    Cloud SQL handles your database ops end to end, so you can focus on your app.
    Try Free
  • 1
    RustDesk Server Program

    RustDesk Server Program

    Self-host your own RustDesk server

    rustdesk-server is the self-hosted backend for RustDesk, an open-source remote desktop solution. It provides the rendezvous and relay components that allow RustDesk clients to discover peers and traverse NATs securely, enabling direct or relayed connections when needed. By running your own server, you retain control over connection metadata and can operate entirely within your organization’s perimeter. The project targets simplicity of deployment while maintaining performance characteristics suitable for interactive screen sharing and file transfer. It supports common operational needs such as configuring ports, authentication modes, and relay behavior to match diverse network constraints. Together with RustDesk clients, it offers a fully open alternative to proprietary remote-access ecosystems with an emphasis on privacy and self-custody.
    Downloads: 46 This Week
    Last Update:
    See Project
  • 2
    Svix

    Svix

    The enterprise-ready webhooks service

    Build a secure, reliable, and scalable webhook platform in minutes using the Svix webhook service. Webhooks require a lot more engineering time, resources and ongoing maintenance than you would first expect. Building a secure, reliable, and scalable webhook service is hard and time-consuming. We built it so you can focus on what matters most, your business. Customer endpoints fail or hang more often than you think. You need automatic retries to ensure deliverability. You need to monitor the deliverability of your webhooks to different endpoints, disable failing ones and notify your customers. Webhooks come with a myriad of security implications, such as SSRF, replay attacks and unauthenticated webhook events. You would need to build a UI for your users to add and remove endpoints, inspect logs and get ongoing reports. Offer your users a great developer experience, including the ability to test, inspect and replay their webhooks.
    Downloads: 9 This Week
    Last Update:
    See Project
  • 3
    Kameo

    Kameo

    Fault-tolerant Async Actors Built on Tokio

    Kameo is a lightweight Rust library for building fault-tolerant, distributed, and asynchronous actors. It allows seamless communication between actors across nodes, providing scalability, backpressure, and panic recovery for robust distributed systems. Kameo stands out by offering simplicity, resilience, and scalability. It's not just about making concurrent programming easier—it's about empowering you to build the reliable, efficient, and scalable systems that today's users demand. Whether you're a seasoned developer or just starting out, Kameo is designed to be relatable and accessible, providing you with the tools you need to bring your ideas to life.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 4
    LiteBox

    LiteBox

    A security-focused library OS supporting kernel execution

    LiteBox is a security-focused “library OS” sandboxing project that aims to shrink the interface between an application and its host environment to reduce attack surface. Instead of relying solely on broad OS-level permissions, it focuses on isolating workloads by tightly controlling the boundary where code interacts with host services and system resources. The design emphasizes interoperability across different integration layers, describing a separation between “North” shims (how apps or runtimes plug in) and “South” platforms (where the sandbox runs), which helps the system adapt to multiple deployment contexts. A key aspect of the project is that it targets both kernel-mode and user-mode scenarios, enabling experimentation with different trust and performance tradeoffs. The repository positions LiteBox as a foundation for building hardened execution environments where untrusted or semi-trusted components can run with reduced privileges and a minimized host interface.
    Downloads: 7 This Week
    Last Update:
    See Project
  • Host LLMs in Production With On-Demand GPUs Icon
    Host LLMs in Production With On-Demand GPUs

    NVIDIA L4 GPUs. 5-second cold starts. Scale to zero when idle.

    Deploy your model, get an endpoint, pay only for compute time. No GPU provisioning or infrastructure management required.
    Try Free
  • 5
    derive(Error)

    derive(Error)

    derive(Error) for struct and enum error types

    This is a Rust crate that provides a convenient derive macro (#[derive(Error)]) for implementing std::error::Error on your custom error types (structs or enums). The goal is to enable library authors to build expressive, typed error types, with readable Display implementations (via #[error("...")] annotations) as well as From conversions (#[from]), source tracking (#[source]), and optionally backtraces. It is designed so that switching from handwritten error implementation to using this error is not a breaking change: you retain the same API. The README shows examples: an enum with variants annotated by #[error("…")] and #[from] fields to derive the appropriate trait impls. The crate expects rustc ≥ 1.68+. The README also outlines how you choose; use thiserror if you care about designing your own error-types (e.g., for libraries) vs anyhow for applications.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 6
    CXX

    CXX

    Safe interop between Rust and C++

    CXX is a library that offers safe interop between Rust and C++. It provides a safe mechanism for calling C++ code from Rust and vice versa, one that is protected from the many possible things that can go wrong when bindgen or cbindgen is used to generate unsafe C-style bindings. The general idea of CXX is to define the signatures of both sides of the FFI boundary embedded together in one Rust module. CXX gets a complete picture from this of the boundary, and through it is able to perform static analyses against the types and function signatures, ensuring that both Rust's and C++'s invariants and requirements are upheld. CXX then emits the relevant extern "C" signatures on both sides through a pair of code generators. This is done together with any necessary static assertions needed for later in the build process to verify correctness. The result is an FFI bridge that operates at zero or negligible overhead, with no copying, serialization or memory allocation needed.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 7
    Diom

    Diom

    Components platform for robust services

    Diom is a backend components platform for building reliable, idiomatic services without repeatedly reimplementing common infrastructure pieces. It provides high-level APIs for service components such as caching, rate limiting, idempotency, queues, and other backend primitives. The project is designed to reduce boilerplate while keeping services robust, predictable, and production-friendly. It runs with zero runtime dependencies and uses its own storage, which makes deployment simpler than stitching together multiple external systems. Diom can operate as a single node or as a highly available cluster, depending on the service requirements. It is useful for backend developers who want reusable infrastructure components with clean APIs and fewer operational moving parts.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 8
    Peroxide

    Peroxide

    Rust numeric library with high performance and friendly syntax

    Rust numeric library contains linear algebra, numerical analysis, statistics and machine learning tools with R, MATLAB, Python-like macros. Peroxide uses a 1D data structure to represent matrices, making it straightforward to integrate with BLAS (Basic Linear Algebra Subprograms). This means that Peroxide can guarantee excellent performance for linear algebraic computations by leveraging the optimized routines provided by BLAS. For users familiar with numerical computing libraries like NumPy, MATLAB, or R, Rust's syntax might seem unfamiliar at first. This can make it more challenging to learn and use Rust libraries that heavily rely on Rust's unique features and syntax.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 9
    cross

    cross

    Zero setup cross compilation and cross testing of Rust crates

    This project is developed and maintained by the cross-rs team. It was previously maintained by the Rust Embedded Working Group Tools team. You have four options to configure cross. cross will provide all the ingredients needed for cross-compilation without touching your system installation. cross provides an environment, cross-toolchain, and cross-compiled libraries, that produce the most portable binaries. “cross-testing”, cross can test crates for architectures other than i686 and x86_64.
    Downloads: 5 This Week
    Last Update:
    See Project
  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • 10
    mdBook

    mdBook

    Create books from markdown files

    mdBook is a command line tool and Rust crate to create books with Markdown. The output resembles tools like Gitbook, and is ideal for creating product or API documentation, tutorials, course materials or anything that requires a clean, easily navigable and customizable presentation. mdBook is written in Rust; its performance and simplicity made it ideal for use as a tool to publish directly to hosted websites such as GitHub Pages via automation. This guide, in fact, serves as both the mdBook documentation and a fine example of what mdBook produces. mdBook includes built in support for both preprocessing your Markdown and alternative renderers for producing formats other than HTML. These facilities also enable other functionality such as validation. Searching Rust's crates.io is a great way to discover more extensions.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 11
    Chumsky

    Chumsky

    Write expressive, high-performance parsers with ease.

    Chumsky is a parser library for Rust that focuses on expressiveness and performance. It provides developers with tools to write high-performance parsers using combinators, suitable for a wide range of parsing tasks.​
    Downloads: 4 This Week
    Last Update:
    See Project
  • 12
    Russh

    Russh

    Rust SSH client & server library

    Russh provides a Rust library for implementing SSH clients and servers with a modern, async-friendly design. It exposes building blocks for authentication, channel management, port forwarding, and key handling, allowing you to embed SSH functionality directly into Rust applications. The API is designed to be explicit and composable, making it possible to implement custom behaviors like reverse tunnels, interactive shells, and service multiplexing. Because performance and safety are central, the code leverages Rust’s type system to reduce classes of runtime errors common in network protocol implementations. The project also includes examples and discussion threads that show how other tools integrate it for web-based clients or gateway services. For teams building terminals, proxies, or embedded management planes, it offers a robust foundation without shelling out to external binaries.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 13
    Rust Programming Language

    Rust Programming Language

    Empowering everyone to build reliable and efficient software

    The Rust Programming Language is a language that empowers you to build reliable and efficient software. It runs blazingly fast and is memory-efficient, so it can power performance-critical services and run on embedded devices. It has a rich type system and ownership model, ensuring both thread and memory safety. Consisting of a standard library, great documentation and a friendly compiler, plus a top-notch build tool, package manager, auto-formatter and many other great tools, it’s the language of choice for increased productivity. Hundreds of companies the world over are using Rust to power an amazing range of cross-platform solutions. See what a great fit Rust can be for your own projects!
    Downloads: 4 This Week
    Last Update:
    See Project
  • 14
    mail-parser

    mail-parser

    Fast and robust e-mail parsing library for Rust

    Stalwart Mail Parser is a high-performance Rust library designed for parsing and analyzing email messages. It efficiently handles complex MIME structures, supports various encodings, and is optimized for speed and robustness. The library is suitable for applications requiring detailed email processing and analysis.​
    Downloads: 4 This Week
    Last Update:
    See Project
  • 15
    pgwire

    pgwire

    PostgreSQL wire protocol implemented as a rust library.

    Build a Postgres compatible access layer for your data service. This library implements PostgreSQL Wire Protocol and provides essential APIs to write PostgreSQL-compatible servers and clients. If you are interested in a related topic, you can check project ideas to build on top of this library.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 16
    redis-rs

    redis-rs

    Redis library for rust

    Redis-rs is a Rust library for interacting with Redis databases, offering high-performance data manipulation capabilities for Rust developers.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 17
    Nub

    Nub

    The fast all-in-one Node.js toolkit

    Nub is an all-in-one toolkit for Node.js that aims to streamline the JavaScript and TypeScript development experience without replacing Node itself. Written in Rust, it combines multiple developer utilities into a single binary capable of running scripts, managing dependencies, and provisioning Node installations. The project takes a TypeScript-first approach and allows developers to execute TypeScript files directly while continuing to use their preferred package managers and existing Node environments. Rather than introducing a new runtime, Nub augments the existing ecosystem and focuses on reducing tool fragmentation. It is positioned as a Bun-like developer experience while maintaining compatibility with established Node.js workflows. By consolidating common development tasks into a unified toolchain, Nub seeks to simplify project setup, execution, and dependency management for modern JavaScript applications.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 18
    Parser for Rust source code

    Parser for Rust source code

    Parser for Rust source code

    Parser for Rust source code is a major Rust crate for parsing Rust source code (token streams) into a syntax tree (AST) that procedural macros can inspect or transform. The primary target is macro authors: you can parse TokenStreams into syn::File, syn::Item, syn::Expr, syn::Type, etc. It offers rich data structures, fine-grained parsing, span tracking (for error reporting), traversal and mutation APIs (visit, fold, visit_mut), printing back to tokens, and strong feature-gating so you only compile what you need. The documentation emphasises that while the crate is geared for procedural macros (and custom derives), some of the APIs may be of more general use. Using syn you can effectively write code that analyzes or generates Rust code at compile time.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 19
    glutin

    glutin

    A low-level library for OpenGL context creation

    Glutin is a low-level library written in Rust that provides an interface for creating OpenGL contexts and handling windowing, events, and input. It serves as a foundational component for developing cross-platform graphical applications in Rust, offering developers the flexibility to build upon its abstractions for custom rendering solutions.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 20
    hyper for Rust

    hyper for Rust

    An HTTP library for Rust

    hyper is a fast HTTP implementation written in and for Rust. A Client for talking to web services. A Server for building those web services. Blazing fast thanks to Rust. High concurrency with non-blocking sockets. HTTP/1 and HTTP/2 support. hyper is a relatively low-level library, meant to be a building block for libraries and applications. If you are looking for a convenient HTTP client, then you may wish to consider reqwest. If you are looking for a convenient HTTP server, then you may wish to consider warp. Both are built on top of this library. A Service lets you define how to respond to incoming requests. While it is possible to implement the trait directly, there are a few patterns that are common when using Hyper. We’ve included some helpers for when these patterns fit our needs. An echo server will listen for incoming connections and send back the request body as the response body on POST requests.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 21
    rust_cmd_lib

    rust_cmd_lib

    Common rust command-line macros and utilities

    rust_cmd_lib is a Rust library designed to make it easier to write shell-script–style tasks in Rust, blending the power and safety of Rust with the expressiveness of shell pipelines. It provides macros and utilities that let you spawn external processes, redirect input/output, and pipe commands together, all without invoking a shell. You can write something like run_cmd!(ls -l | grep foo > out.txt) in a more declarative style, rather than manually wiring up file descriptors, handles, and child processes. The library also supports features like variable substitution, scoped environment settings, and defining custom commands (functions) that behave like built-ins. It hides much of the boilerplate of std::process::Command when you're doing simple task automations, but still allows full flexibility when needed. Because it avoids launching a shell, it reduces some classes of security and quoting errors, while improving readability of scripting logic inside a Rust binary.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 22
    Anyhow

    Anyhow

    Flexible concrete Error type built on std::error::Error

    This is a Rust library (crate) that provides a flexible, concrete error type built atop the standard std::error::Error trait. Its primary goal is to make error handling in applications easy: instead of defining lots of custom error types, you can use anyhow::Error (or the alias anyhow::Result<T>) for fallible functions. The crate supports attaching context to errors, so you can convert a low-level error (like “file not found”) into one with richer diagnostics (“Failed to read instructions from path X”) using .context() or .with_context(). It supports downcasting (so you can inspect the underlying error type), and for recent versions of Rust, it will capture backtraces by default when the underlying error type doesn’t already. It also supports no_std mode (in limited form) by disabling default features. The README distinguishes it from library-oriented error crates (like thiserror): use anyhow when you just care about application-level error handling, not fine-grained types.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 23
    DCV Color Primitives

    DCV Color Primitives

    DCV Color Primitives Library

    DCV Color Primitives is a library to perform image color model conversion. Aware of the underlying hardware and supplemental cpu extension sets (up to avx2). Support data coming from a single buffer or coming from multiple image planes. Support non-tightly packed data. Support images greater than 4GB (64 bit). Convert an image from bgra to nv12 (single plane) format containing yuv in BT601. You might want to propagate errors to the caller function or mix with some other error types. So far, buffers were sized taking into account the image pixel format and dimensions; However, you can use a function to compute how many bytes are needed to store an image of a given format and size. If your data is scattered in multiple buffers that are not necessarily contiguous, you can provide image planes. To take into account data which is not tightly packed, you can provide image strides.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 24
    Iced

    Iced

    A cross-platform GUI library for Rust, inspired by Elm

    Iced is a cross-platform, end-user-oriented GUI library for Rust, inspired by The Elm Architecture. It expects you to split user interfaces into four different concepts, which are: the state of your app; messages, which are user interactions or other meaningful events; view logic, which displays your state as widgets that can result in messages; and update logic, which offers a way to update your state and react to messages. Iced is very simple and easy to use, and is type-safe. It offers many great features including built-in widgets and custom widget support, debug overlay, a modular ecosystem and more.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 25
    Polars

    Polars

    Dataframes powered by a multithreaded, vectorized query engine

    Polars is a high-performance, multi-language DataFrame library built in Rust using Apache Arrow. It delivers blazing-fast, vectorized, and parallel data manipulation with both eager and lazy execution, making it an excellent tool for data processing in Python, Rust, Node.js, R, and SQL contexts.
    Downloads: 2 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • Next
Auth0 Logo