196 Repositories
Rust example-projects Libraries
The example anchor implementation for solana-swap
anchor-liquidity-pool This is the example anchor implementation for solana-swap. The curve is always ConstantProduct in this implementation. The fee r
A collection of COSMIC projects developed by the community.
COSMIC Project Collection A collection of COSMIC projects developed by the community. Applications Name Description Image tasks A simple task manageme
Infer a JSON schema from example data, produce nonsense synthetic data (drivel) according to the schema
drivel drivel is a command-line tool written in Rust for inferring a schema from an example JSON (or JSON lines) file, and generating synthetic data (
Example of CVE-2024-24576 use case.
CVE-2024-24576 PoC The Command::arg and Command::args APIs state in their documentation that the arguments will be passed to the spawned process as-is
SVG to PDF file conversion based on "svg2pdf" and "resvg" Rust projects
pysvg2pdf Blazingly Fast ™️ SVG to PDF file conversion for Python. This project is based on Rust's svg2pdf and resvg projects. The project uses pyo3 a
example codes for CIS198 https://cis198-2016s.github.io/
CIS198: RUST 编程语言 学习背景 rust 和 c/c++/Java/Python/golang 不太一样 rust 学习曲线比较陡峭 rust 有很多颠覆认知的特性: 所有权,生命周期,借用检测 cargo 工具 函数式+命令式支持 视频讲解见 B站 课程大纲 Timeline Lec
Example of reading the BME280 sensor on an ESP32-C3 using Rust
Rust ESP32-C3 BME280 Example of reading the BME280 sensor on an ESP32-C3 using Rust Hardware: ESP32-C3 microcontroller BME280 sensor Breadboard Jump w
A collection of example project using Njord.
Example Projects A collection of example project using Njord. Contributors The following contributors have either helped to start this project, have c
cpa is a cli tool for ultra fast setup of Rust & Python projects
CPA: Create-Python-App cpa is a cli tool for ultra fast setup of new Python & Rust projects. It automates the creation of config files like style & li
Designed for rapid iteration in IC Canister development projects.
IC_Utils Designed for rapid iteration in IC Canister development projects. IcContext IcContext provides the context for ic canister object invocation,
Dash is a CLI tool that rapidly sets up new projects by running a series of pre-defined commands.
Dash Dash is a CLI tool that rapidly sets up new projects by running a series of pre-defined commands. Features Quick Initialization: Initialize the c
An asset for HardHat C2 written in Rust as an example/demo
Rivet An asset for HardHat C2 written in Rust as an example/demo Installation and Use Download cargo for the operating system the team server will be
Graceful shutdown util for Rust projects using the Tokio Async runtime.
Shutdown management for graceful shutdown of tokio applications. Guard creating and usage is lock-free and the crate only locks when: the shutdown sig
A simplified example in Rust of training a neural network and then using it based on the Candle Framework by Hugging Face.
candle-simplified-example A simplified example in Rust of training a neural network and then using it based on the Candle Framework by Hugging Face. H
A set of demo projects for the Fyrox Game Engine.
Fyrox Demo Projects A set of demo projects for the Fyrox Game Engine. Most of the projects located in this repository in the respective folders. Navig
Utilities for working with native solc and compiling projects.
foundry-compilers Utilities for working with native solc and compiling projects. To also compile contracts during cargo build (so that ethers abigen!
A working, tested example for how to use Rust with warp and JWT
rust-jwt-example Example of JWT authentication and authorization in Rust using Warp Login curl http://localhost:8000/login -d '{"email": "user@userlan
This rust compiler backend emmits valid CLR IR, enambling you to use Rust in .NET projects
What is rustc_codegen_clr? NOTE: this project is a very early proof-of-concept This is a compiler backend for rustc which targets the .NET platform an
A networked (p2p), cross-platform physics simulation example using rollback netcode
bevy_gaff (work in progress) bevy_gaff is an attempt at making a networked (p2p), cross-platform physics simulation using rollback netcode. It synchro
Original source code for Practical Rust Projects 2nd ed. by Shing Lyu and Andrew Rzeznik
Apress Source Code This repository accompanies Practical Rust Projects 2nd ed. by Shing Lyu and Andrew Rzeznik (Apress, 2023). Download the files as a
TinyTodo is a Cedar Agent example, with a server in Rust and client in python
TinyTodo - OPAL and Cedar Agent Demo TinyTodo is a simple application for managing task lists. It uses OPAL and Cedar Agent to control who has access
Example implementation of a 3d hexagon tile-based map editor using bevy
bevy-hex-sandbox Example implementation of a 3d hexagon tile-based map editor using bevy v0.10. smol.mov This is not a maintained project. Instead, th
Example app & project structure for Golem Cloud
Synopsis This project serves as an example/template for building an application using WebAssembly Component Model (and in this case, an app for Ziverg
A group of Rust projects for interacting with and producing software bill of materials (SBOMs).
sbom-rs A group of Rust projects for interacting with and producing software bill of materials (SBOMs). Examples cargo-sbom Create a SPDX SBOM for a C
An example CosmWasm contract for connecting contracts over IBC.
CosmWasm IBC Example This is a simple IBC enabled CosmWasm smart contract. It expects to be deployed on two chains and, when prompted, will send messa
Super-simple, fully Rust powered "memory" (doc store + semantic search) for LLM projects, semantic search, etc.
memex Super simple "memory" for LLM projects, semantic search, etc. Running the service Note that if you're running on Apple silicon (M1/M2/etc.), it'
`dfx new --type=rust` + burn-rs MNIST web inference example
ic-mnist The frontend provides a canvas where users can draw a digit. The drawn digit is then sent to the backend canister running burn-rs for inferen
This is an example Nostr rust project to enable '402 Payment Required' responses for requests to paid content.
Nostr Paywall Example This is an example Nostr rust project to enable 402 Payment Required responses for requests to paid content. To prove payment, a
CosmWasm-Examples is a collection of example contracts and applications built using the CosmWasm framework
CosmWasm-Examples is a collection of example contracts and applications built using the CosmWasm framework. CosmWasm is a secure and efficient smart contract platform designed specifically for the Cosmos ecosystem.
Rust-based static analysis for TypeScript projects
Fast TypeScript Analyzer FTA (Fast TypeScript Analyzer) is a super-fast TypeScript static analysis tool written in Rust. It captures static informatio
rpm (Rust project manager) is a tool that helps you to manage your rust projects
rpm rpm (Rust project manager) is a open source tool for managing your rust project in an organized way Installation # make sure you have rust install
Projects worked on during Juno Code and Chill sessions.
Juno Code and Chill projects These projects are created during Juno "Code and Chill" session in the Juno discord. Project Description cw721-piggy-bank
A template for developing Rust projects, with sensible defaults
Rust Template A template for developing Rust projects, with sensible defaults. Getting Started Click the Use this template button at the top of the pa
A simple build tool for c and c++ projects
BUILDER_CPP A simple build tool for building C and C++ applications The tool is still in development. Do not use for production code. Installation The
A dead simple boilerplate for Rust projects.
boilerplate-rs • A dead simple boilerplate for Rust projects. Project Structure ├── assets │ └── logo.png ├── bin │ ├── Cargo.toml │ └── src │
Little example projects for learning Rust and building awesome cli tools! ⭐️
rust-cli-examples Examples of clean and well-tested command line utilities, written in Rust. 🦀 👍 What is this repo? This repo is a collection of man
A CLI tool to launch vscode projects, which supports devcontainers.
vscli A CLI tool to launch vscode projects, which supports devcontainers. Features A shorthand for launching vscode projects Detects whether a project
Example (with solution) for the Rust Fundamentals Workshop
Workshop Repo: Rust Fundamentals NOTE: This is Work-In-Progress! Please check for updates a day before the workshop. This Github repository contains a
A simple authentication flow using Rust and Actix-web, with a PostgreSQL database and a sveltekit frontend.
Rust-auth-example This repository aims to represent a simple authentication flow using Rust and Actix-web, with a PostgreSQL database and a sveltekit
Cookiecutter Rust Actix template for jumpstarting production-ready projects quickly.
Cookiecutter actix simple clean architecture This is a reusable Rust Cookiecutter template. The project is based on Actix web in combination with Dies
DNS Server written in Rust for fun, see https://dev.to/xfbs/writing-a-dns-server-in-rust-1gpn
DNS Fun Ever wondered how you can write a DNS server in Rust? No? Well, too bad, I'm telling you anyways. But don't worry, this is going to be a fun o
CosmWasm + zkVM RISC-V EFI template
cosmwasm-risc0-example CosmWasm + RISC-V zkVM gm example Overview CosmWasm RISC Zero This example exists to explore the patterns of use of CosmWasm an
Template for multi-contract CosmWasm projects
CosmWasm Template Template for multi-contract CosmWasm projects How to Use Install cargo-make: cargo install --force cargo-make Run formatter: cargo m
A simple tool to clean all projects in a directory.
Cargo Cleanall A simple tool to clean all cargo projects in a directory. Help Cargo plugin to clean all cargo projects in a directory Usage: cargo cl
A command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects.
CCake CCake is a command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects. Goals To be easily und
(Pre-Release Software) Secure, Encrypted, P2P chat written atop Warp, IPFS, LibP2P, Dioxus and many more awesome projects and protocols.
Uplink Privacy First, Modular, P2P messaging client built atop Warp. Uplink is written in pure Rust with a UI in Dioxus (which is also written in Rust
Example NFT marketplace project using ink! smart contract.
NFT Marketplace project This contract is an example for the NFT marketplace implementation. License Apache 2.0 🏗️ How to use - Contracts 💫 Build Use
Example of an dark-mode toggle button based on progressive enhancement
Leptos Starter Template This is a template for use with the Leptos web framework and the cargo-leptos tool. Creating your template repo If you don't h
An example of a common Wi-Fi set up scenario on ESP32 using Rust
UTC IoT fetcher This repo is an example of how to configure a Wi-Fi client on an ESP32-based IoT device using an external device connection to the int
iOS app example - AI Selfies Generator like Lensa: Stable Diffusion In Action
Magic Avatars In this repository, we look at several approaches to creating avatars, changing backgrounds, and deep image processing for more detailed
A simple example showcasing how to use Bevy to display a square with acceleration (controllable with your keyboard) that wraps around the screen!
Bevy Wrapping Square example A simple example showcasing how to use Bevy to display a square with acceleration (controllable with your keyboard) that
A Domain Driven Design example application in Rust.
Rust Domain Driven Design Example rust-ddd Rust Domain-Driven-Design (DDD) Summery This repository is used to present how I find implementing DDD in R
Small example using Slint on the MXCHIP IoT DevKit (AZ3166)
Small example using Slint on the MXCHIP IoT DevKit (AZ3166) To Build and run: You need: The hardware: an MXCHIP IoT DevKit https://en.mxchip.com/az316
An example re-entrancy attack on a flashloan vault.
CosmWasm re-entrancy Exploit Example The exploit example is located in contracts/liquidity_hub/vault-network/exploit_contract. A vault in contracts/li
Tauri and Leptos example.
tauri-leptos-example Tauri Leptos Requires Rust Nightly. See Leptos nightly Note. # Install Tauri CLI cargo install tauri-cli # Build and develop for
Mercy is a public Rust crate created to assist with building cybersecurity frameworks, assessment tools, and numerous other projects
Mercy 📚 Documentation Mercy is a public Rust crate created to assist with building cybersecurity frameworks, assessment tools, and numerous other pro
Simple example of axum, sqlx with sqlite and utoipa (swagger) - without auth
axum_crud_api Simple example to learn creating CRUD rest apis in Rust with axum, sqlx with sqlite and utoipa (swagger) - without auth Also shows how t
Example Blog using Rust, Actix Web, HTMX, Mustache
Actix Blog An example blog built with Actix. It uses htmx and handlebar templates. Running To run the blog, you need to have a recent version of Rust
An example app in Rust for CircleCI's Dynamic Config demo
circleci-dynamic-config-example An example app in Rust for CircleCI's dynamic config demo. Dynamic config allows you to dynamically generate CircleCI'
Bindings to the Tauri API for projects using wasm-bindgen
tauri-sys Raw bindings to the Tauri API for projects using wasm-bindgen Installation This crate is not yet published to crates.io, so you need to use
Mercy is a public Rust crate created to assist with building cybersecurity frameworks, assessment tools, and numerous other projects
Mercy 📚 Documentation Mercy is a public Rust crate created to assist with building cybersecurity frameworks, assessment tools, and numerous other pro
A barebones example of how to integrate OpenXR with wgpu (Vulkan-only)
wgpu-openxr-example a barebones example of how to integrate OpenXR with wgpu (Vulkan-only) It has four modes: cargo run --no-default-features: desktop
An example of how to use Workers KV with workers-rs
rusty-kv-example An example project of how to use Workers KV with workers-rs. Usage With wrangler, you can build, test, and deploy your Worker with th
Just a collection of tiny Rust projects I've did. None warrant a whole repo rn
Daily Rust I try to write some tiny programs daily to gradually improve my Rust skills! Current Program Descriptions first_prog.rs: My first program a
A simple cli to clone projects and fetch all projects in a GitHub org..
stupid-git A simple cli to clone projects and update all projects. get all repository from GitHub clone all pull all with git stash Usage create sgit.
An open-source emulator for small OLED displays that are often used for Arduino/IOT projects.
SSD1306 OLED Emulator An open-source emulator for small OLED displays that are often used for Arduino/IOT projects. This project is still in an alpha
A tool for decompilation projects.
objdiff A tool for decompilation projects. Currently supports: PowerPC 750CL (GameCube & Wii) MIPS (Nintendo 64) WARNING: Very early & unstable. Licen
An easy to use command line project manager for projects using the ReCT programming language
☢️ A powerful project manager for the ReCT programming language! ☢️ ReCTx makes your projects easier to manage by allowing you to configure everything
A simple example demonstrating cross-contract calls in CosmWasm smart contracts
Cross-contract calls This tutorial demonstrates cross-contract calls with CosmWasm v1. Overview An end user calls the reservation contract to register
A complete imgui-rs example using dependencies only from crates.io.
Dear imgui-rs, hello. This is a fairly basic, but complete and standalone example application for the Rust version of dear imgui (https://github.com/o
Example showing how to use tokio and egui together.
Example using tokio with egui This example uses reqwest to send an HTTP request to httpbin. The parsed response contains an increment value (as provid
Vite + Webassembly starter project
Vite + Typescript+ Webassembly A starter project for you to create a blazingly fast web application Before getting started You need to get these prere
CLI tool to quickly create React + Typescript + Tailwind projects
QUICK INIT CLI Tool to quickly create React projects with Tailwind automatically configured for use. Typescript is selected as default. If JS is to be
A Command-line tool to create, manage and deploy your python projects
PPM A Command-line tool to create, manage and deploy your python projects Table of Contents PPM Main Features Create a Project project.ini file Projec
Use free svg icons in your Dioxus projects easily with dioxus-free-icons.
dioxus-free-icons Use free svg icons in your Dioxus projects easily with dioxus-free-icons. More information about this crate can be found in the crat
Example to run Rust code on the MCH2022 badge.
Rust on the MCH2022 badge This repo contains instructions and code to run Rust on the MCH2022 badge. There are two approaches regarding environment: I
🦀 Small Tauri SolidJS Example feat. Vite
Tauri Solid Example (2022) Simple Solid(vite) starter running with Tauri. Should hopefully save some time trying to setup Tauri and Solid. Currently c
2d collision test for game-development in rust (with optional integration and example for bevy)
impacted 2d collision test for game-development in rust (with optional integration and example for bevy) This provides a low-level "narrow-phase" coll
Various Code answers for karan's Project questions.
Projects Answers Projects Answers is a collection of various code answers from different contributors in relation to the Projects repository. We encou
🎮 A Realtime Multiplayer Server/Client Game example built entirely with Rust 🦀
Example of a 🎮 Realtime Multiplayer Web Game Server/Client built entirely using Rust 🦀
An example bdk + yew single page web wallet
bdk-yew-example This project builds a simple bdk-wasm based testnet wallet as a single page web app. The page can be hosted locally or automatically d
Create, open, manage your Python projects with ease, a project aimed to make python development experience a little better
Create, open, manage your Python projects with ease, a project aimed to make python development experience a little better
A simple, modern fuzzy finder tool to run examples in a Cargo project.
cargo-rx cargo-rx is a simple, modern Runner for Examples in a Cargo project. This crate provides a single executable: rx. Basically anywhere you woul
Ocular seeks to be the preferred cosmos client library UX for Rust projects
Ocular seeks to be the preferred cosmos client library UX for Rust projects. It is strongly based on lens, a go client library for blockchains built with the Cosmos SDK.
A blazing fast command line license generator for your open source projects written in Rust🚀
Overview This is a blazing fast ⚡ , command line license generator for your open source projects written in Rust. I know that GitHub
A tiny crate to make it easy to share and apply Git hooks for Rust projects
Shareable git hooks for Rust project. Sloughi is a friend of Husky from North Africa! :algeria:
A bundler (mainly for TypeScript projects) made in Rust
TSAR A bundler (mainly for TypeScript projects) made in Rust. Also my first Rust Project! What does TSAR stand for Like phar (PHP Archive) or JAR (Jav
Example for Rust Android Native Development
Android console application example project based on rust & cargo-xdk
Removes generated and downloaded files from code projects to free up space
makeclean Removes generated and downloaded files from code projects to free up space. Features: List, cleans and archives projects depending on how lo
ARM TrustZone-M example application in Rust, both secure world side and non-secure world side
ARM TrustZone-M example application in Rust, both secure world side and non-secure world side; projects are modified from generated result of cortex-m-quickstart.
Rust and TypeScript example code for finding all members from a collection id.
get-collection-rs Use the Crawler cargo build --release ./target/release/get-collection rpc_node collection_id Example: ./target/release/get-col
An example Kibana plugin written in Rust and Typescript
An example Kibana plugin written in Rust and Typescript
Rushes are new ephemeral projects at Hive Helsinki. Wordle is the first in this series with 48 hours time window
Rushes are new ephemeral projects at Hive Helsinki. Wordle is the first in this series with 48 hours time window
Common utilities code used across Fulcrum Genomics Rust projects
fgoxide Common utilities code used across Fulcrum Genomics Rust projects. Why? There are many helper functions that are used repeatedly across project
Example of a SC coded in RUST that can safely perform any swaps of tokens (NFT, SFT, ESDT, MetaESDT)
Elrond-NFT-Trading Example of a Smart Contract (SC) coded in RUST, that can perform any swaps of tokens (NFT, SFT, ESDT, MetaESDT) The idea P2P swaps
How to be a full stack Rust Developer
How to be a full stack Rust Developer Read Rust API guideline. Test code here and refer to the Rust blog posts at Steadylearner. If you need or know s
Lumiere is a proof-of-concept/example video player built with the Slint UI framework and libmpv
Lumiere is a proof-of-concept/example video player built with the Slint UI framework and libmpv. This was built quickly to try out Slint and it's new OpenGL underlay feature.
A shared document application akin to Google Docs. Example usage of wasm-peers library.
Live Document Proof of concept application showcasing the usability of wasm-peers crate for easy and costless peer-2-peer WebRTC communication. It's a
WasmEdge Host Function Example Interface
A Rust library that provides Rust to WebAssembly developers with syntax for running self-defined host functions when their Wasm is being executed on WasmEdge (formerly SSVM).
Example of using nom parsers from a proc macro
Example of using nom parsers from a proc macro This project is organised as 3 crates: nom_macro is the main project, exposing the proc macro and the g