Rust Smart Contract Template

To get started with this template:

Getting started

  1. Click the "Use this template" button to create a new repo based on this template

  2. Update line 2 of Cargo.toml with your project name

  3. Update line 4 of Cargo.toml with your project author names

  4. Set up the prerequisites

  5. Begin writing your smart contract in src/lib.rs

  6. Test the contract

    cargo test -- --nocapture

  7. Build the contract

    RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release

Get more info at:

  • Rust Smart Contract Quick Start
  • Rust SDK Book

Information - Updated Dec 12, 2021

Stars: 0
Forks: 0
Issues: 0

Discussion and support:

To use libpnet in your project, add the following to your Cargo

Discussion and support:

The answer to "how do I use Rust on iOS and Android?"

cargo-mobile takes care of generating Xcode and Android Studio project files, building and running on device, generating project boilerplate, and a few other things!

The answer to "how do I use Rust on iOS and Android?"

A program to list unsafe code in a Rust project

Not actually a cargo plugin (yet)

A program to list unsafe code in a Rust project
Cargo

1.0K

cargo, make me a project

cargo-generate is a developer tool to help you get up and running quickly with a new Rust

cargo, make me a project

rosc is an implementation of the OSC 1

Add rosc to the dependencies section of your projects Cargo

rosc is an implementation of the OSC 1

Rust bindings for FreeType library

Cargo: We use Cargo to compile the project

Rust bindings for FreeType library

A template for starting an OrbTk project

Use cargo generate to Clone this Template

A template for starting an OrbTk project

A cargo subcommand for displaying when Rust dependencies are out of date

Clone the project $ git clone && cd cargo-outdated

A cargo subcommand for displaying when Rust dependencies are out of date

Cache the dependencies of your Rust project and speed up your Docker builds

You can install cargo-chef from all the available tags on Dockerhub

Cache the dependencies of your Rust project and speed up your Docker builds

Test and benchmark your Rust library on mobile devices with ease

Much of this project is based on the work of cargo-ndk

Test and benchmark your Rust library on mobile devices with ease
Facebook Instagram Twitter GitHub Dribbble
Privacy