140 Repositories
Rust risc0-cosmwasm-example Libraries
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
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
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.
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
CosmWasm Contract for Dynamic CW721 NFTs on Terra
CosmWasm Starter Pack This is a template to build smart contracts in Rust to run inside a Cosmos SDK module on all chains that enable it.
My code for the terra.academy course on CosmWasm smart contracts
CosmWasm Starter Pack This is a template to build smart contracts in Rust to run inside a Cosmos SDK module on all chains that enable it. To understan
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
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
The Voting example based on MoonZoon and Solana + Anchor framework.
The Voting example based on MoonZoon and Solana + Anchor framework.
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
Examples and helpers to build NFT contracts on CosmWasm
CosmWasm NFTS This repo is the official repository to work on all NFT standard and examples in the CosmWasm ecosystem. cw721 and cw721-base were moved
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
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
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
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.
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).
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
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
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