SotongDJ / learn-rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learn-rust

Setup

  1. Clone repo

    git clone git@github.com:SotongDJ/learn-rust.git
  2. Check dependence and check code

    cargo check

Command

  • Test run

    cargo run
    # binary was created at target/debug/learn-rust
  • Build binary

    cargo build
    # to run binary
    target/debug/learn-rust
  • Build and optimize binary

    cargo build --release
    # to run binary
    target/release/learn-rust
  • Update dependant packages

    cargo update

References

About

License:MIT License


Languages

Language:Rust 100.0%