Git Product home page Git Product logo

rustle's Introduction

One-line installation of Rust applications.

Need to show your friends that Rust application you made, but your friends don't Rust? That's when you need to rustle.

If your Cargo crate produces static binaries then this script can install it in one line. It downloads the Rust nightly, builds your application, then packages and installs it.

Install a crate:

curl -sf https://raw.githubusercontent.com/brson/rustle/master/rustle.sh | sh -s -- https://github.com/ogham/exa
exa

Then to uninstall:

sudo /usr/local/lib/rustle/uninstall.sh --components=exa

or more compactly:

sudo /usr/local/lib/rustle/uninstall.sh

which will uninstall everything installed by rustle.

If the project doesn't build on the current nightly, then it's possible to specify other revisions with the --toolchain flag, which accepts the same values as multirust.

curl -sf https://raw.githubusercontent.com/brson/rustle/master/rustle.sh | sh -s -- https://github.com/gchp/iota --toolchain nightly-2015-02-19
iota

Projects that are likely compatible

With the power of multirust

rustle uses multirust to acquire Rust. If it detects that multirust is already installed then it will use the available copy, which can greatly reduce installation times by reusing multirust's toolchain cache. If multirust is not already installed then rustle will download and install it to a temporary location.

Future work

  • Install libraries as well
  • Deal with native dependencies
  • Windows compatibility
  • Install from crates.io
  • Reduce spew

rustle's People

Contributors

brson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rustle's Issues

racer

This would be great for installing racer as well if possible as I always have to do this manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.