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.

  • $300 in Free Credit Towards Top Cloud Services Icon
    $300 in Free Credit Towards Top Cloud Services

    Build VMs, containers, AI, databases, storage—all in one place.

    Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
    Get Started
  • Go From AI Idea to AI App Fast Icon
    Go From AI Idea to AI App Fast

    One platform to build, fine-tune, and deploy ML models. No MLOps team required.

    Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
    Try Free
  • 1
    RuVector

    RuVector

    Self-Learning, Vector Graph Neural Network, and Database built in Rust

    RuVector is part of the broader rUv ecosystem of AI engineering tools and focuses on enabling advanced vector-based processing and intelligent system development within agentic and AI-driven pipelines. The project fits into a larger vision of modular, composable AI infrastructure designed to support autonomous agents, data retrieval, and intelligent automation workflows. It emphasizes extensibility and interoperability with modern AI stacks, allowing developers to integrate vector operations into search, reasoning, or generative systems. The repository reflects a research-forward approach that blends practical utilities with experimental agentic concepts, encouraging exploration of emerging AI design patterns. It is intended for developers building sophisticated AI-powered applications who need flexible vector handling and integration capabilities.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    Ruma

    Ruma

    A set of Rust crates for interacting with the Matrix chat network

    Matrix is an open specification for an online communication protocol. It includes all the features you'd expect from a modern chat platform including instant messaging, group chats, audio and video calls, searchable message history, synchronization across all your devices, and end-to-end encryption. Matrix is federated, so no single company controls the system or your data. You can use an existing server you trust or run your own, and the servers synchronize messages seamlessly. Learn more in the Introduction to Matrix. Rust is a systems programming language from Mozilla built with safety, concurrency, and performance in mind. Its novel approach to memory safety and its rich type system make it an excellent choice for writing fast, secure, and reliable programs.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    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: 0 This Week
    Last Update:
    See Project
  • 4
    Rust Latam

    Rust Latam

    Learn to write Rust procedural macros

    This is a workshop/repository by the Rust developer David Tolnay (dtolnay) intended to teach how to write Rust procedural macros (derive macros, function-like macros, attribute macros). The repo contains multiple toy/realistic macro projects drawn from real use-cases: e.g., derive(Builder), derive(CustomDebug), seq!, #[sorted], #[bitfield]. The README indicates the focus is on learning: parsing token streams, generating code, handling generics, attribute arguments, etc. It has test harness and workflow guidance. Because procedural macros are quite subtle in Rust, this workshop is a strong resource for anyone wanting to go from beginner to intermediate/advanced macro writing.
    Downloads: 0 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 5
    Rust lexical

    Rust lexical

    Fast numeric to- and from-string conversion routines

    rust-lexical is a high-performance Rust library for numeric-to-string and string-to-numeric conversions. Designed for efficiency and flexibility, it operates in no_std environments, making it suitable for embedded systems and performance-critical applications. The library supports various numeric formats and provides customizable parsing and formatting options.​
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    Rust-Lightning

    Rust-Lightning

    Bitcoin Lightning library written in Rust

    Rust-Lightning is a Bitcoin Lightning library written in Rust. The main crate, lightning, does not handle networking, persistence, or any other I/O. Thus, it is runtime-agnostic, but users must implement basic networking logic, chain interactions, and disk storage. The project implements all of the BOLT specifications in the 1.0 spec. The implementation has pretty good test coverage that is expected to continue to improve. It is also anticipated that as developers begin using the API, the lessons from that will result in changes to the API, so any developer using this API at this stage should be prepared to embrace that. LDK/Rust-Lightning is a generic library which allows you to build a lightning node without needing to worry about getting all of the lightning state machine, routing, and on-chain punishment code (and other chain interactions) exactly correct. Note that Rust-Lightning isn't, in itself, a node.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    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: 0 This Week
    Last Update:
    See Project
  • 8
    Sycamore

    Sycamore

    A library for creating reactive web apps in Rust and WebAssembly

    A reactive library for creating web apps in Rust and WebAssembly. Sycamore harnesses the full power of Rust via WebAssembly, giving you full control over performance. Write code that feels natural. Everything is built on reactive primitives without a cumbersome virtual DOM. No JavaScript. Had enough of JavaScript? So have we. Create apps using Sycamore without touching a single line of JS.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    async-graphql

    async-graphql

    A GraphQL server library implemented in Rust

    Async-graphql is a GraphQL server-side library implemented in Rust. It is fully compatible with the GraphQL specification and most of its extensions and offers type safety and high performance. You can define a Schema in Rust and procedural macros will automatically generate code for a GraphQL query. This library does not extend Rust's syntax, which means that Rustfmt can be used normally. I value this highly and it is one of the reasons why I developed Async-graphql. I like GraphQL and Rust. I've been using Juniper, which solves the problem of implementing a GraphQL server with Rust. But Juniper had several problems, the most important of which is that it didn't support async/await at the time. So I decided to make this library for myself.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Forever Free Full-Stack Observability | Grafana Cloud Icon
    Forever Free Full-Stack Observability | Grafana Cloud

    Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

    Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
    Create free account
  • 10
    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: 0 This Week
    Last Update:
    See Project
  • 11
    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: 0 This Week
    Last Update:
    See Project
  • 12
    glium

    glium

    Safe OpenGL wrapper for the Rust language

    Glium is a safe OpenGL wrapper for the Rust programming language, aiming to combine the low-level control of OpenGL with Rust's safety and concurrency features. It provides an idiomatic Rust API for OpenGL functions, ensuring that graphics programming is both safe and efficient. Glium abstracts many of the unsafe aspects of OpenGL, reducing the likelihood of runtime errors and crashes.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    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: 0 This Week
    Last Update:
    See Project
  • 14
    heim

    heim

    Cross-platform async library for system information fetching

    Heim is a cross-platform system monitoring library written in Rust, providing real-time metrics for CPU, memory, and other resources.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    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: 0 This Week
    Last Update:
    See Project
  • 16
    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: 0 This Week
    Last Update:
    See Project
  • 17
    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: 0 This Week
    Last Update:
    See Project
  • 18
    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: 0 This Week
    Last Update:
    See Project
  • 19
    rspirv

    rspirv

    Rust implementation of SPIR-V module processing functionalities

    rspirv is a Rust-based parser, builder, and disassembler for SPIR-V, the intermediate binary format used in Vulkan and OpenCL for shaders and compute kernels. It’s part of the gfx-rs ecosystem, a suite of graphics tools aiming to provide cross-platform rendering capabilities in Rust. rspirv enables manipulation and inspection of SPIR-V modules, which is useful in shader compilers, graphics drivers, and development tools for low-level GPU programming. The library strictly follows the SPIR-V specification and is used in projects that need to generate, analyze, or modify shaders dynamically.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    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: 0 This Week
    Last Update:
    See Project
  • 21
    rustdesk-server-demo

    rustdesk-server-demo

    A working demo of RustDesk server implementation

    rustdesk-server-demo is a companion repository that demonstrates how to deploy the RustDesk backend quickly, often via containerized or scripted setups. It is intended as a practical starting point for testing and small-scale pilots before moving to a hardened production configuration. The demo showcases the interplay between the rendezvous and relay components so users can validate connectivity paths end-to-end. Clear defaults minimize the amount of configuration required, making first-time evaluations straightforward. Because it mirrors the structure of a typical deployment, it helps administrators understand networking requirements, ports, and service boundaries. It’s a helpful on-ramp for teams who want to confirm RustDesk fits their environment before investing in a full rollout.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    winit

    winit

    Window handling library in pure Rust

    Cross-platform window creation and management in Rust. Winit is a window creation and management library. It can create windows and lets you handle events (for example the window being resized, a key being pressed, a mouse movement, etc.) produced by the window. Winit is designed to be a low-level brick in a hierarchy of libraries. Consequently, in order to show something on the window you need to use the platform-specific getters provided by winit, or another library.
    Downloads: 0 This Week
    Last Update:
    See Project
MongoDB Logo MongoDB