# rust-run **Repository Path**: zengsai/rust-run ## Basic Information - **Project Name**: rust-run - **Description**: 编译并执行rust程序的辅助小软件,让你像脚本语言一样开发rust程序。 - **Primary Language**: Rust - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 16 - **Forks**: 2 - **Created**: 2014-08-26 - **Last Updated**: 2022-07-18 ## Categories & Tags **Categories**: ci **Tags**: None ## README # Rust Run *An easy way to compile and run rust source file as script language.* #install# 1. You need install git, rust and cargo first. Please refer to http://www.rust-lang.org and http://www.creates.io . 2. clone this repo and complie. ````shell git clone https://git.oschina.net/zengsai/rust-run.git cd rust-run cargo build ```` #usage# ````shell rust-run [rust-options] [srcfile.rs [options-for-srcfile]] ```` if no srcfile.rs given, rust-run == rustc. #trick# using alias for convinent, add the following line to your .bashrc or .profile: ````shell alias r='rust-run' ````