Giter Club home page Giter Club logo

rust-quad's Introduction

rust-quad

Simple quadratic equation implementation in rust.

Project layout

.
├── Cargo.lock
├── Cargo.toml
├── README.md
└── src
    └── main.rs

2 directories, 4 files

Installation

Installing the Rust toolchain

If you already have rust installed on your system, you can skip to Getting the source code. To check if Rust is installed on your system, type:

rustup --version

If rust is installed, you should see the output:

rustc x.y.z (abcabcabc yyyy-mm-dd)

to indicate the version of Rust installed.

macOS, Linux

If you're running macOS, Linux, or another Unix-like OS, run the following command to download Rustup and install Rust. Follow the on-screen instructions, and, when prompted, press enter to accept the default configuration.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

You may need to restart your terminal session to refresh your PATH and other environment variables.

Windows

If you're running Windows, download and run the installer, rustup-init.exe and then follow the on-screen instructions. You may need to restart your terminal session to refresh your PATH and other environment variables.

Standalone installers and Source code

If you want to build the Rust toolchain from source code, want an offline installation, prefer a more platform-integrated, graphical installer on Windows, or want to install Rust on a different system, visit this official website, or the official landing page.

Getting the source code

Clone this repository or download the zip file. If you downloaded the zip file, make sure you extract the archive. Then, in the project folder, rust-quad, run:

cargo build --release

which should produce the resultant binary in /path/to/rust-quad/target/release/. Furthermore, to add the compiled binary as a command, type:

cargo install --path .

and run the application anywhere with:

rust-quad

rust-quad's People

Contributors

edamame-maru avatar

Stargazers

 avatar

Watchers

 avatar

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.