214 Repositories
Rust run-example Libraries
ClangQL is a tool that allow you to run SQL-like query on C/C++ Code instead of database files using the GitQL SDK
ClangQL - Clang AST Query Language ClangQL is a tool that allow you to run SQL-like query on C/C++ Code instead of database files using the GitQL SDK.
A new gen package manager, written in rust
Run It run it is a package manager that is based on containers (yes like apx but declarative and written in rust), the difference is that run it is we
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
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
example codes for CIS198 https://cis198-2016s.github.io/
CIS198: RUST 编程语言 学习背景 rust 和 c/c++/Java/Python/golang 不太一样 rust 学习曲线比较陡峭 rust 有很多颠覆认知的特性: 所有权,生命周期,借用检测 cargo 工具 函数式+命令式支持 视频讲解见 B站 课程大纲 Timeline Lec
Let Tauri's transparent background rendering window be stacked on Bevy's rendering window in real time to run the game with native-level performance!
Native Bevy with Tauri HUD DEMO 将 Tauri 的透明背景渲染窗口实时叠在 Bevy 的渲染窗口上,以使用原生级别性能运行游戏! Let Tauri's transparent background rendering window be stacked on Bev
A tool that allow you to run SQL-like query on local files instead of database files using the GitQL SDK.
FileQL - File Query Language FileQL is a tool that allow you to run SQL-like query on local files instead of database files using the GitQL SDK. Sampl
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
👾 Run WebAssembly (WASM-4) games on small devices (like PyBadge)
👾 gamgee Run WebAssembly (WASM-4) games on small devices. Gamgee is a WASM-4 games emulator written in Rust and designed to be executed on devices wi
Run Electron Steam games natively on Linux*
Boson ⚛️ Boson is a Steam compatibility tool that allows you to run Electron-based games with a native build of Electron, rather than using the game's
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
A simple, opinionated way to run containers for tests in your Rust project.
rustainers rustainers is a simple, opinionated way to run containers for tests. TLDR More information about this crate can be found in the crate docum
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
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 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
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
A highly extensible runner that can execute any workflow.
Astro run Astro Run is a highly extensible runner that can execute any workflow. Features Workflow runtime for Docker Support for gRPC server to coord
Terminal UI for leetcode. Lets you browse questions through different topics. View, solve, run and submit questions from TUI.
Leetcode TUI Use Leetcode in your terminal. Why this TUI: My motivation for creating leetcode-tui stemmed from my preference for tools that are lightw
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
A simple helper to run cronjobs (at repeated schedule) in Bevy.
bevy_cronjob bevy_cronjob is a simple helper to run cronjobs (at repeated schedule) in Bevy. Usage use std::time::Duration; use bevy::{ MinimalPlugins
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
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
Run unpatched dynamic binaries on NixOS
nix-ld-rs Run unpatched dynamic binaries on NixOS. This is a rewrite of nix-ld in Rust, with extra functionalities. It's intended to be upstreamed at
`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
Multi-platform desktop app to download and run Large Language Models(LLM) locally in your computer.
Multi-platform desktop app to download and run Large Language Models(LLM) locally in your computer 🔗 Download | Give it a Star ⭐ | Share it on Twitte
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.
Animated app icons in your Dock that can run an arbitrary shell script when clicked.
Live App Icon for Mac Animated app icons in your Dock that can run an arbitrary shell script when clicked. Requirements macOS 13 (Ventura) or higher X
Cedar-agent is the easiest way to deploy and run Cedar
Cedar Agent What is Cedar-Agent? Cedar-Agent is an HTTP server designed to efficiently manage a policy store and a data store. It provides a seamless
Run if inputs have changed, otherwise use cache
Boost Why Boost? Our planet is burning, and everywhere I look I see CI pipelines repeating work that has already been done. Tools such as TurboRepo, N
🚀 An OSS project to develop and run serverless applications on WebAssembly
Wasm Workers Server Wasm Workers Server (wws) is a framework to develop and run serverless applications server in WebAssembly. These applications are
A hardware-accelerated GPU terminal emulator powered by WebGPU, focusing to run in desktops, browsers, tvs and everywhere.
Rio term tl;dr: Rio is a terminal built to run everywhere, as a native desktop applications by Rust/WebGPU or even in the browser powered by WebAssemb
Using fibers to run in-memory code in a different and stealthy way.
Description A fiber is a unit of execution that must be manually scheduled by the application rather than rely on the priority-based scheduling mechan
run Typst in JavaScriptWorld.
Typst.ts Typst.ts allows you to independently run the Typst compiler and exporter (renderer) in your browser. You can: locally run the compilation via
Run LLaMA inference on CPU, with Rust 🦀🚀🦙
LLaMA-rs Do the LLaMA thing, but now in Rust 🦀 🚀 🦙 Image by @darthdeus, using Stable Diffusion LLaMA-rs is a Rust port of the llama.cpp project. Th
Run LLaMA inference on CPU, with Rust 🦀🚀🦙
LLaMA-rs Do the LLaMA thing, but now in Rust 🦀 🚀 🦙 Image by @darthdeus, using Stable Diffusion LLaMA-rs is a Rust port of the llama.cpp project. Th
Experimental extension that brings OpenAI API to your PostgreSQL to run queries in human language.
Postgres ChatGPT Experimental PostgreSQL extension that enables the use of OpenAI GPT API inside PostgreSQL, allowing for queries to be written usi
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
An experimental fork of a16z's Helios Ethereum client which can run its network traffic over the Nym mixnet
Helios (Nym mixnet fork) Helios is a fully trustless, efficient, and portable Ethereum light client written in Rust. This fork of Helios includes nasc
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
An adapter to easily allow an Axum server to be run within a Cloudflare worker.
axum-cloudflare-adapter An adapter to easily allow an Axum server to be run within a Cloudflare worker. Usage use worker::*; use axum::{ response
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
A template project for building a database-driven microservice in Rust and run it in the WasmEdge sandbox.
Secure & lightweight microservice with a database backend In this repo, we demonstrate a microservice written in Rust, and connected to a MySQL databa
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
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
Yellhole is a lightweight tumblelog which can run on e.g. fly.io for cheap.
Yellhole A Hole To Yell In Yellhole is a lightweight tumblelog which can run on e.g. fly.io for cheap. Features Runs on a single node. Use a CDN if yo
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
Run a program with a modified process name.
tagrun Run a program with a modified process name. You can add a tag for a process with tagrun, and use the tag to locate the process with ps, pgrep o
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
Run the right version of python, in the right environment, for your project
rpy Do you deal with lots of virtual python environments? rpy is for you! Before rpy: ~/dev/prj$ env PYTHONPATH=src/py path/to/my/interpreter src/py/m
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
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
Rust library to download and run Minecraft instances.
Rust library to download and run Minecraft instances. Build the code To build the library, the do the following command: carbo build Run the example Y
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'
Run adb in Termux without root permissions!
termux-adb Run adb in Termux without root permissions! Description This is a launcher for adb which enables debugging of one Android device from anoth
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 experimental Dapr SDK in Rust. It is designed to run in WasmEdge applications.
Dapr SDK for WebAssembly Written in Rust, the dapr_sdk_wasi crate can be compiled into WebAssembly and runs in the WasmEdge Runtime. Introduction | Ho
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
Rust API to run predictions with YoloV5 models.
YoloV5-API [WIP] API to run inferences with YoloV5 models. Written in Rust, based on OpenCV 4.5.5 If you need a C++ version, check my C++ Yolov5-API R
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
Run all your Linux graphical apps on Android 💖✨✨✨
Waylovely Run all your Linux graphical apps on Android 💖 ✨ ✨ ✨ The Android windowing system is different than those in desktop operating systems. In
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
Rust client for the anna-rs KVS that can run in the WasmEdge Runtime
wasmedge-anna-client wasmedge-anna-client is a Rust client for anna-rs based on Tokio for WasmEdge. It communicates with Anna routing nodes and KVS no
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
Run a command in loop.
♾️ loop Run a command in loop, nothing else. USAGE: loop [OPTIONS] CMD... ARGS: CMD... Command to execute OPTIONS: -d, --delay d
How to run Rust user programs on Xv6-RISC-V
Rust on Xv6-RISC-V How to run user Rust program in Xv6-RISC-V Run make init to add rist-v target to rustc Run make build to build the program. It will
Cargo subcommand to easily run targets/examples
cargo-select Cargo subcommand to easily run targets/examples/tests Fuzzy match against targets, examples or tests in current rust project. cargo-selec
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
CLI application to run clang-tidy on a set of files specified using globs in a JSON configuration file.
run-clang-tidy CLI application for running clang-tidy for an existing .clang-tidy file on a set of files, specified using globs in a .json configurati
TypeRust - simple Rust playground where you can build or run your Rust code and share it with others
Rust playground Welcome to TypeRust! This is a simple Rust playground where you can build or run your Rust code and share it with others. There are a
🦀 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
Tool written in rust to read for file changes and accordingly run build commands.
Sniff A simple tool written in rust to read for file changes and accordingly run build commands. Note this tool is for linux and linux only. If it hap
Reverse proxy for HTTP microservices and STDIO. Openfass watchdog which can run webassembly with wasmer-gpu written in rust.
The of-watchdog implements an HTTP server listening on port 8080, and acts as a reverse proxy for running functions and microservices. It can be used independently, or as the entrypoint for a container with OpenFaaS.
Export MacOS iMessage data + run iMessage Diagnostics
imessage-export This crate provides both a library to interact with iMessage data as well as a binary that can perform some useful read-only operation
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
A run-codes cli front end with some extra features
run-cli Run-cli A run-codes cli front end with some extra features Report Bug · Request Feature Table of Contents About The Project Built With Getting
Run code from many programming languages!
Langbot Creating an image Install podman Build an image: podman build -t langbot . Running a language Run podman run --rm -i langbot ./scripts/run.sh
🎮 A Realtime Multiplayer Server/Client Game example built entirely with Rust 🦀
Example of a 🎮 Realtime Multiplayer Web Game Server/Client built entirely using Rust 🦀
CLI application to run clang-format on a set of files specified using globs in a JSON configuration file.
run_clang_format CLI application for running clang-format for an existing .clang-format file on a set of files, specified using globs in a .json confi
run commands when a file is modified or upon receiving TCP/UDP packets
Witness Command line utility which lets you execute arbitrary commands in response to: File changes UDP packets and TCP connections Installation Using
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
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
Let's write an OS which can run on x86_64 in Rust from scratch
rCore-Tutorial-v3 rCore-Tutorial version 3.5. See the Documentation in Chinese. news 2021.11.20: Now we are updating our labs. Please checkout chX-dev
Example for Rust Android Native Development
Android console application example project based on rust & cargo-xdk
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.
Smart Contract built in Rust to run inside Cosmos SDK module on all chains that enable it
CoinSwap is a Smart Contract that is built on the terra blockchain and can be used to swap cryptocurrencies such as LUNA, UST, TerraUSD, Anchor, Mirror Protocol, LUNI and other CW20 tokens. The Project also contains a smart contract which works as a analysis tool for the gas fees on the Terra Blockchain.
Let's write an OS which can run on ARM in Rust from scratch
rCore-Tutorial-v3 rCore-Tutorial version 3.5. See the Documentation in Chinese. news 2021.11.20: Now we are updating our labs. Please checkout chX-dev
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
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