Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
/ rust_autoloader Public archive

A Python based autoloader that compiles and runs rust files in your current directory

Notifications You must be signed in to change notification settings

bharadwaj6/rust_autoloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rust Autoloader

Downloads Supported Python versions

This script detects any changes made to the rust files (.rs) in current working directory and serves as an autoloader for your development.

Use this when you are learning rust/testing/editing rust files and you're tired of doing rustc test.rs and ./test over and over again.

Installation

$ pip install rust-autoloader

Usage

from rust_autoloder import run
run("path-to-working-directory")

You can also take the autoloader.py script and keep it running in the working directory using python autoloader.py while working.

NOTE

  • This script is not meant to be any kind of substitute for cargo build. Use this only when you're toying on some .rs files and don't use it in any serious project.

* Doesn't play well with compiler warnings (yet). (One has to execute manually if warnings are generated).
* Not possible to pass input to your rust program (yet).

About

A Python based autoloader that compiles and runs rust files in your current directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages