196 Repositories
Rust example-projects Libraries
A toy example showing how to run Rust code in Python for speed and progress.
PoC: Integrating Rust in Python A toy example showing how to run Rust code in Python for speed and progress. Requirements Python 3.6+ Rust 1.44+ Cargo
Example of a block root with a Verkle state root
Example of a block root with a Verkle state root Block content This is a standard RLP block containing 3 transactions, and an added VerkleProof field
A example bevy application using bevy-kajiya for its renderer
☀️ bevy-kajiya playground A example bevy application using bevy-kajiya for its renderer NOTE: only tested on Windows. For more context, check out the
Elemental System Designs is an open source project to document system architecture design of popular apps and open source projects that we want to study
Elemental System Designs is an open source project to document system architecture design of popular apps and open source projects that we want to study
Testing interactions with other NFT projects locally is difficult
Terra NFT Stub contract Testing interactions with other NFT projects locally is difficult. Terra NFT Stub makes things a bit easier by providing a con
Featured Dioxus projects on how to build clean user interfaces in Rust
Example projects with Dioxus This repository holds the code for a variety of example projects built with Dioxus. Each project has information on how t
The point of this anchor project is to serve as a starter kit or example to compose with mango-v3 using anchor.
The point of this anchor project is to serve as a starter kit or example to compose with mango-v3 using anchor. It currently provides 2 examples and various inline todos on how to extend this.
Quick demo of a REST frontend with a Redis session store.
axum-rest-starter-example Important Tasks Ensure session UUID is unique Protect /api/ with JWT Add CSRF CORS? Dev Setup (1) Run docker compose up to f
Example worker for ethereum-based applications
Ethsig-rs Example worker for ethereum-based applications. Features: Verify arbitrary messages and their signature from an Ethereum Address Verify EIP-
Extreme Bevy is what you end up with by following my tutorial series on how to make a low-latency p2p web game.
Extreme Bevy Extreme Bevy is what you end up with by following my tutorial series on how to make a low-latency p2p web game. There game can be played
Web Server made with Rust - for learning purposes
Web Server made with Rust - for learning purposes
Quick example of displaying a BMP file with uefi-rs
uefi-bmp Quick example of drawing a bitmap using uefi-rs and tinybmp. Not necessarily the most efficient :) Build and run (may need some modification
Extensible, Minimal Template for Sway Projects
crib • Extensible, Minimal Template for Sway Projects. Developing First Time? New to rust? Install with: curl --proto '=https' --tlsv1.2 -sSf https://
An example of a fairing for rocket to use tracing (as this pops up at many places in dicussions and questions)
Rocket Tracing Fairing Example This repository aims to give a short example of how you can add a Fairing to your Rocket for tracing and how to use it
Example of a genetic algorithm in Rust and Python
Example of a genetic algorithm in Rust and Python Monkey typewriter Finding the phrase 'To be or not to be. That is the question.' Inspired by the exa
Docker for PyTorch rust bindings `tch`. Example of pretrain model.
tch-rs-pretrain-example-docker Docker for PyTorch rust bindings tch-rs. Example of pretrain model. Docker files support the following install libtorch
Image search example by approximate nearest-neighbor library In Rust
rust-ann-search-example Image search example by approximate nearest-neighbor library In Rust use - tensorflow 0.17.0 - pretrain ResNet50 - hora (Ru
An example of using TensorFlow rust bindings to serve trained machine learning models via Actix Web
Serving TensorFlow with Actix-Web This repository gives an example of training a machine learning model using TensorFlow2.0 Keras in python, exporting
Example Rust application for Heroku
Example application: Rust, Actix & Heroku Rust is a language suitable for high-peformance, reliable web services. Actix is a popular Rust web framewor
Example Actix 2.x REST application implementing many features
Rust/Actix Example An Actix 2.0 REST server using the Rust language. Motivation Actix Web is a fast, powerful web framework for building web applicati
Complete code for the larger example programs from the book.
Code Examples for Programming Rust This repository contains complete code for the larger example programs from the book “Programming Rust”, by Jim Bla
Rust-and-opengl-lessons - Collection of example code for learning OpenGL in Rust
rust-and-opengl-lessons Project requires Rust 1.31 Collection of example code for learning OpenGL in Rust 00 - Setup 01 - Window 02 - OpenGL Context 0
Crib - Extensible, Minimal Template for Sway Projects
crib • Extensible, Minimal Template for Sway Projects. Developing First Time? New to rust? Install with: curl --proto '=https' --tlsv1.2 -sSf https://
Gh-sql - Query GitHub Projects (beta) with SQL
gh-sql: Query GitHub Projects (beta) with SQL Installation gh extension install KOBA789/gh-sql Features SELECT items DELETE items UPDATE item fields
Show unused code from multi-crate Rust projects
Warnalyzer Remove unused code from multi-crate Rust projects. The dead_code lint family of rustc is limited to one crate only and thus can't tell whet
a cargo subcommand for counting lines of code in Rust projects
cargo-count Linux: A cargo subcommand for displaying line counts of source code in projects, including a niave unsafe counter for Rust source files. T
An example of web application by using Rust and Axum with Clean Architecture.
stock-metrics Stock price and stats viewer. Getting Started Middleware Launch the middleware by executing docker compose: cd local-middleware docker c
The purpose of this example is to provide details as to how one would go about using GraphQL with the Rust Language.
Zero to GraphQL Using Rust The purpose of this example is to provide details as to how one would go about using GraphQL with the Rust Language. Thus,
An example fuzzer about how to fuzz a JS engine combinign Nautilus with Token-level fuzzing
LibAFL QuickJS Fuzzing Example An example fuzzer about how to fuzz a JS engine combinign Nautilus with Token-level fuzzing. Prepare Make sure to have
Tic-Tac-Toe on the GPU, as an example application for wgpu
Tic-Tac-GPU A simple (cough cough) example on a tic-tac-toe game with wgpu. Why? Because I didn't find that many small applications which use wgpu as
A simple CLI to build VEXCode V5 Pro projects and download them to the V5 brain.
vexer A simple CLI to build VEXCode V5 Pro projects and download them to the V5 brain. (WIP) This currently is only tested on and only works on window
A template for AVR executable (non-library) projects
Rust AVR executable template A template for Rust based AVR executables. NOTE: This software template repository is offered in the public domain. It is
Basic chat example to demonstrate I/O and other rust features.
Basic chat Provides basic chat functions: create room send messages to room fetch room's messages Components STP - custom string transfer protocol lib
A code coverage tool for Rust projects
Tarpaulin Tarpaulin is a code coverage reporting tool for the Cargo build system, named for a waterproof cloth used to cover cargo on a ship. Currentl
A working example of multi targets compilation for Rust using Github Actions.
A working example of multi targets compilation for Rust using Github Actions. Supports Windows, MacOSX, x86_64, ARM and Raspberry PI Linux.
Simple example for building a blockchain in Rust
rust-blockchain-example Simple example for building a blockchain in Rust Start using RUST_LOG=info cargo run This starts the client locally. The block
An example of searching iBeacon using gtk-rs and btleplug.
Beacon Searcher Screenshot Compile & Run Install GTK 3 dev packages: macOS: $ brew install gtk+3 $ brew install gnome-icon-theme Debian / Ubuntu: $ s
How to use libtor in a Rust app
libtor example Uses libtor crate to run a Tor daemon in process. This example spawns the Tor daemon using Tokio's spawn_blocking, and then spawns othe
Example of structuring a proc macro crate for testability
testing-proc-macros Example of structuring a proc macro crate for testability. See accompanying blog post for details. License Licensed under either o
A place for the community to upload example Scrypto code
community-scrypto A place for the community to upload example Scrypto code. Please fork from main, work out of a sub-directory of your choosing, and t
🦀 My Rusty Playground
rust playground A language empowering everyone to build reliable and efficient software. Resources The Book Rustlings Rust by Example Take your first
Example crate using fltk-build
white-frame This is just an example showing the use of fltk-build to create native C/C++ FLTK and cfltk modules for fltk-rs. This repo contains 2 exam
A simple string interner / symbol table for Rust projects.
Symbol Interner A small Rust crate that provides a naïve string interner. Consult the documentation to learn about the types that are exposed. Install
An example repository on how to start building graph applications on streaming data. Just clone and start building 💻 💪
An example repository on how to start building graph applications on streaming data. Just clone and start building 💻 💪
A basic rp2040-hal project with blinky and rtt logging example code.
A basic rp2040-hal project with blinky and rtt logging example code. With this you can quickly get started on a new rp2040 project
OpenCV Sample Projects in Rust
OpenCV Sample Projects in Rust
Boids example ported from wgpu to rust-gpu
wgpu is Rust's main GPU project and rust-gpu is a project to write GPU shaders in Rust.
GitLab Deploy is used for deploying software projects to multiple hosts during different phases.
GitLab Deploy is used for deploying software projects to multiple hosts during different phases. This program should be run on Linux.
An example smart contract that builds on top of xyz
xyz Guestbook Tutorial Contract This repository contains an example smart contract that illustrates how to build on top of the xyz NFT contract. This
YAC (Yac is Another Chat) is an example of Chat using WebSocket.
YAC (Yac is Another Chat) is an example of Chat using WebSocket. Because often the example you find in internet are "not so production ready", I would like to try to implement something more robust.
A variation of the solana helloworld program example with a client written in Rust instead of Typescript
Simple Solana Smart Contract Example This repository demonstrates how to create and invoke a program on the Solana blockchain. In Solana the word prog
Simple project to test grpc between ruby (client) and rust (server)
grpc-example Simple project to test grpc between ruby (client) and rust (server). Usage To simplify a lot this project uses docker and docker compose
Modrinth API is a simple library for using Modrinth's API in Rust projects
Ferinth is a simple library for using the Modrinth API in Rust projects. It uses reqwest as its HTTP(S) client and deserialises responses to typed structs using serde.
Modrinth API is a simple library for using, you guessed it, the Modrinth API in Rust projects
Modrinth API is a simple library for using, you guessed it, the Modrinth API in Rust projects. It uses reqwest as its HTTP(S) client and deserialises responses to typed structs using serde.
Templates for creating rust projects with a GitHub-managed lifecycle with cargo-generate 🏗️📃
rust-templates Templates for creating rust projects with a GitHub-managed lifecycle with cargo-generate. 🏗️ 📃 What you get: PR build validation usin
Example of a Baremetal program written for the Rasperry Pi 1 (BCM2845). Both the UART and the Framebuffer graphics working
This repository is aimed to provide a starting point to whoever is trying to build a BCM2835 program from scratch. This repository contains linker scr
godot-logger is an easy-to-use logger for godot-rust projects.
godot-logger is an easy-to-use logger for godot-rust projects. It prints logs to Godot's output console and supports module-specific log levels.
A few demos showing how to estimate projects using Monte Carlo simulations.
Agile Monte Carlo Simulations Demos This is the repository which accompanies the blog post "How to replace estimations and guesses with a Monte Carlo
Template for Cargo based SysY compiler projects.
基于 Cargo 的 SysY 编译器项目模板 该仓库中存放了一个基于 Cargo 的 SysY 编译器项目的模板, 你可以在该模板的基础上进行进一步的开发. 该仓库中的 Rust 代码实现仅作为演示, 不代表你的编译器必须以此方式实现. 如你需要使用该模板, 建议你删掉所有 Rust 源文件, 仅
CRUD example with Rocket, Toql and MySQL
Todo (Rocket, Toql, MySQL) This is a little REST server built with Rocket, Toql and MySQL. The server allows to call CRUD functions on a Todo item. It
CLI program for building generative projects
NFT image generator This is the project to help artists to generate NFT collection, which can be generated from layers of PNG images. Usage Get archiv
The Voting example based on MoonZoon and Solana + Anchor framework.
The Voting example based on MoonZoon and Solana + Anchor framework.
A repository containing dozens of projects requiring vastly different skillsets.
The 100 Project Challenge A repository containing dozens of projects requiring vastly different skillsets. All the projects that I might add to this r
Example sqlite3 Dynamic Loadable Extension in Rust - vfs and vtab modules - port of vfsstat.c
Example sqlite3 Dynamic Loadable Extension in Rust - vfs and vtab modules The vfs and vtab This is a port of the official ext/misc/vfsstat.c sqlite3 e
Example of executing ES module exports from Rust
rusty_esm This is an example showcasing a common use case for embedding Deno - calling JS module exports from Rust. The rest is pretty self explainato
example of a full stack web app (backend and frontend) wrtiten in Rust
rust-fullstack-example An example of creating a full stack web application (backend and frontend) using Rust. Backend Go to ./backend and start the se
Devmode is a project management utility for developers.
Dev(mode) Dev(mode) is a project management utility for developers.
Hatch new projects like a chick coming out of its egg
🐣 Cargo Hatch Hatch new projects like a chick coming out of its egg. Cargo hatch is a cargo init/cargo new on steroids, allowing complex templates th
The Voting example based on MoonZoon and Solana.
Voting example The Rust-only Voting example based on MoonZoon and Solana. MoonZoon is a Rust Fullstack Framework. Solana is a decentralized blockchain
An example of Brainf*** JIT-compiler with only the standard library.
jit-compiler An example of Brainf*** JIT-compiler with only the standard library. Prerequisite Rust(1.56.0-nightly or later, but it must work kind of
Example of Rust API for Machine Learning
rust-machine-learning-api-example Example of Rust API for Machine Learning API example that uses resnet224 to infer images received in base64 and retu
Wally is a modern package manager for Roblox projects inspired by Cargo
Wally is a package manager for Roblox inspired by Cargo (Rust) and npm (JavaScript). It brings the familiar, community-oriented world of sharing code from other communities into the Roblox ecosystem.
A simple Rust and WebAssembly example implementing the Game of Life
rust-wasm-game-of-life rust-wasm-game-of-life is a simple Rust and WebAssembly example implementing the Game of Life based on Rust and WebAssembly boo
Curated list of awesome projects and resources related to Rust and computer security
Awesome Rust Security Curated list of awesome projects and resources related to Rust and computer security Table of Contents Tools Web and Cloud Secur
puppy is an example implementation of a tiny Web browser for educational purposes.
An example implementation of a tiny Web browser for educational purposes.
Basic Rust I2C demo on the TI Launchpad
msp430-i2c-oled-example An example project to talk to an SSD1306 OLED (Adafruit PiOLED) with an MSP430G2553 Launchpad via I2C.
Rust / C / Cgo example
whatever How to build (This has been tested on Linux & macOS) Build the Rust code: $ cargo build The library is in ./target/debug/libwhatever.a Build
Quickly create boilerplate projects and templates.
boyl boyl is a command-line tool written in Rust to manage template folders. boyl can copy existing folders (with support for glob-like ignore pattern
An example project demonstrating integration with Rust for the ESP32-S2 and ESP32-C3 microcontrollers.
Rust ESP32 Example An example project demonstrating integration with Rust for the ESP32-S2 and ESP32-C3 microcontrollers.
Gathering some metrics about github projects
rust-metrics This is an experimental project to start gathering metrics about github organizations and repositories. The goal is to get an idea of var
Simple POC for the Micriμm STM32F107 Evaluation Board
My motivation for this project was very simple: I wanted to blink some LEDs at "some rate(tm)" using entirely rust. I also did not want to use any of the embedded-std libs that were available, because I wanted to really get a feel for bit-banging the registers (including documenting where I grabbed the info from).
Framework is a detector for different frameworks in one projects
Framework is a detector for different frameworks in one projects Usage use
Example implementation for Biscuit tokens cryptography
example implementation for Biscuit token cryptography To aid in the implementation of Biscuit tokens in various languages, this repository contains an
An example of a Kubernetes operator implemented in Rust
Rust Kubernetes operator example A Kubernetes operator built on top of kube-rs project. There is an explanatory article available. Steps to run on Lin
Example application using a Vue frontend with Rust backend that has authentication + authorization.
This project contains a Rust server that serves a single page application and has authentication + JWT-based authorization.
🎨 Example-based texture synthesis written in Rust 🦀
🎨 texture-synthesis A light Rust API for Multiresolution Stochastic Texture Synthesis [1], a non-parametric example-based algorithm for image generat
🦀 Example of serving deep learning models in Rust with batched prediction
rust-dl-webserver This project provides an example of serving a deep learning model with batched prediction using Rust. In particular it runs a GPT2 m
A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
Jelly A.K.A, the actix-web starter you probably wish you had. This is provided as-is, and anyone is free to extend it or rework it as they desire - ju
A CLI tool to manage your godot-rust projects
ftw A CLI tool to manage your godot-rust project! Table of contents General Information Setup Usage Contact General Information This is a tool to help
Source Code for 'Practical Rust Web Projects' by Shing Lyu
Apress Source Code This repository accompanies Practical Rust Web Projects by Shing Lyu (Apress, 2021). Download the files as a zip using the green bu
Embedding Rust in Java
Java/Rust Example An example project showing how to call into Rust code from Java. OSX Linux Windows Requirements Java 7+ Rust (tested with 1.0, night
Rust in Haskell FFI Example
Provides an example for using Rust in Haskell. To use this you'll need cargo, rustc, cabal and GHC installed. To execute the example run the following
[OUTDATED] Instructions for how to cross compile Rust projects for the Raspberry Pi
Cross Compiling for Raspberry Pi This guide will show how Rust programs can be cross compiled for the Raspberry Pi using Cargo. These instructions may
An example project showing usage of CMake with Rust
An example of using CMake with Rust. Try it! mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/tmp make -j make test -j make doc -j make install
workspace productivity booster
fw Appveyor Why fw? With fw you have a configuration describing your workspace. It takes care of cloning projects and can run commands across your ent
Save disk space by cleaning non-essential files from software projects.
Kondo 🧹 Cleans unneeded directories and files from your system. It will identify the disk space savings you would get from deleting temporary/unneces