This repository has been archived on 2022-07-24. You can view files and clone it, but cannot push or open issues or pull requests.
itconfig/examples/rocket
Dmitriy Pleshevskiy e1cbcb7696 feat: add result to getenv functions
BREAKING_CHANGES: get env function returns result instead panic
2020-01-19 17:46:07 +03:00
..
src feat: add result to getenv functions 2020-01-19 17:46:07 +03:00
Cargo.toml chore: remove rocket example from members 2019-12-31 09:32:45 +03:00
README.md chore: remove rocket example from members 2019-12-31 09:32:45 +03:00

itconfig rocket example

Installation

To install a nightly version of Rust, we recommend using rustup. Install rustup by following the instructions on its website. Once rustup is installed, configure Rust nightly as your default toolchain by running the command:

rustup default nightly

If you prefer, once we setup a project directory in the following section, you can use per-directory overrides to use the nightly version only for your Rocket project by running the following command in the directory:

rustup override set nightly

Usage

cd examples/rocket

cargo run